Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Pythonで始めるお手軽ダイエット
Search
Yuuki Shimizu
March 16, 2019
Programming
0
640
Pythonで始めるお手軽ダイエット
2019.3.16
Shingen.py #3 LT
Yuuki Shimizu
March 16, 2019
Tweet
Share
More Decks by Yuuki Shimizu
See All by Yuuki Shimizu
サイトを作ったらNFCタグキーホルダーを爆速で作れ!
yuukis
0
980
Perlで痩せる
yuukis
1
800
Pythonで遊べるLEDボードの紹介
yuukis
0
98
今話題のMCPサーバーをFastAPIでサッと作ってみた
yuukis
0
540
地域ITコミュニティの活性化とAWSに移行してみた話
yuukis
0
510
Gemini API を試した話と山梨でオススメのものを語るLT
yuukis
0
93
山梨のIT勉強会コミュニティを盛り上げるためにアレ作ってみた!
yuukis
0
88
FastAPI を活用した オープンデータAPI の作成
yuukis
0
1k
FastAPIで始める やまなし温泉めぐり
yuukis
0
480
Other Decks in Programming
See All in Programming
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
110
ローカルLLMを⽤いてコード補完を⾏う VSCode拡張機能を作ってみた
nearme_tech
PRO
0
160
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
6
3.9k
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
7
2.3k
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
130
TestingOsaka6_Ozono
o3
0
170
開発に寄りそう自動テストの実現
goyoki
2
1.4k
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
300
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
150
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
190
Deno Tunnel を使ってみた話
kamekyame
0
240
re:Invent 2025 のイケてるサービスを紹介する
maroon1st
0
150
Featured
See All Featured
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
580
Typedesign – Prime Four
hannesfritz
42
2.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Getting science done with accelerated Python computing platforms
jacobtomlinson
0
76
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
80
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Discover your Explorer Soul
emna__ayadi
2
1k
Amusing Abliteration
ianozsvald
0
69
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1k
The agentic SEO stack - context over prompts
schlessera
0
560
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
400
RailsConf 2023
tenderlove
30
1.3k
Transcript
【Shingen.py #3 LT】 Python で始める お手軽ダイエット 2019. 3. 16 しみず ゆうき
1
おまえ誰よ? しみず ゆうき • Android / iOS プログラマ • 甲府生まれ
甲府育ち ※ 現在は東京に出稼ぎ中(3年目) 2
ところで皆さん! ダイエットしてますか〜? 3
ダイエットって、なかなか続かない • 食べることは幸せ(特に甘いもの、お酒) • 運動は辛い しみずは、油断するとすぐに太ります 4
職場でダイエット宣言 5 今年こそダイエット頑張ります! 痩せたいなら、毎日体重を Slack に投稿してよ 色々言ってあげるから
この LT の内容 Python で 自身の Fitness データを定期的に取得し Slack に自動投稿する仕組みを作った話
6
構成について 7
体重計 • 今年1月に購入したもの 約3,000円 • 専用アプリがあり、 Bluetooth でスマートフォン に転送 •
Google Fit と同期してくれる 8
Google Fitness store 9 REST API 80kg 痩せる気あるの? .py Slack
① ①毎朝 体重を測る (アプリで Google Fit と同期) ②GitLab CI が Pythonコードを 毎日定期実行 ③Fit REST API で体重データを取得 ④Matplotlibで折れ線グラフを作成し、 S3 にアップ ⑤Slack に結果を書き込み ⑥結果をメンバーが見て 応援する ② ③ ④ ⑤ ⑥
出力結果 10 平日 朝9:00頃に 社内 Slack へ自動投稿
体重の増減を色でわかりやすく 11
役に立ったもの • Google APIs Explorer ◦ https://developers.google.com/apis-explorer/ ◦ Google Fit
REST API を試せる ◦ 面倒な OAuth を気にせず実行できる • Jupyter Notebook 12
で、結局 痩せたの? 13
14 まだ始めていません!!! • 実は、今朝完成したばかり • 来週から稼働させます • 目指せ!•• kg
さいごに 15
まとめ 「Python で始めるお手軽ダイエット」 • Python のおかげで手軽に作成できた。最高! • 応援してくれる仲間がいる。最高! • 誰か手軽に痩せられる方法を教えてください!
16