Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Cloudflare WorkersがPythonに対応したので試してみた
Search
KMiura
May 08, 2024
Technology
1.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Cloudflare WorkersがPythonに対応したので試してみた
Cloudflare Meet-up Online!! #3
https://cfm-cts.connpass.com/event/313819/
KMiura
May 08, 2024
More Decks by KMiura
See All by KMiura
運用しているアプリケーションのDBのリプレイスをやってみた
miura55
1
1.2k
Amazon Rekognitionを使ったインターホンハック
miura55
0
140
Pythonでルンバをハックしてみた
miura55
0
270
あなたの知らないクラフトビールの世界
miura55
0
480
Storage Browser for Amazon S3を触ってみた + α
miura55
0
330
Cloudflare R2をトリガーにCloudflare Workersを動かしてみた
miura55
0
340
あのボタンでつながるSORACOM
miura55
0
190
Postman Flowsで作るAPI連携LINE Bot
miura55
0
460
Lambdaと共に歩んだAWS
miura55
3
1.1k
Other Decks in Technology
See All in Technology
負債のメタファと2026年 / Debt Metaphor in Agentic Engineering Age 202609 Edition
twada
PRO
10
6.1k
Vibe Coding で作ったプロダクトをどう安全に動かすか / How to Safely Run Products Built with Vibe Coding
glidenote
0
500
aws-iot-platform-architecture-use-cases.pdf
ma2shita
0
530
Making AI Agents Safe and Fast- Jev, Obsidian, and the Meta-Harness
x5gtrn
PRO
0
120
What the customer really needed
kawaguti
PRO
3
220
AIによるクリエイティブ生成を行う上での試行錯誤
plaidtech
PRO
0
170
Minecraft JavaのMODをSwiftで作る
1mash0
0
200
SREへの勘違いに気づいた後の話
tomodakengo
0
150
SREは、MCPとAutopilotをこう使え!
kazumax55
3
950
[Kiro Meetup #7] Kiro Crew Dive Deep
konippi
0
240
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
5
25k
AIに任せた品質は、誰が見立てるのか - AI時代のテストマネジメント
nakanao
3
2.8k
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
エンジニアに許された特別な時間の終わり
watany
109
250k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
550
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
290
Music & Morning Musume
bryan
48
7.4k
Transcript
Cloudflare WorkersがPythonに対応 したので試してみた KMiura(@k_miura_io)
自己紹介 • 三浦 耕生(こうき) • オフィスDXのSaaSのバックエンド エンジニア • JAWS UG
名古屋運営 • Cloudflare Meetup Nagoya運営 @k_miura_io koki.miura05
Cloudflare Developer Week 2024 のアップデート • D1、Hyperdrive、Workers Analytics EngineがGA •
Worker AIがGA • WorkerのPython対応 • Cloudflare Callsがオープンベータ • Pagesがモノリポをサポート • Cloudflare向けのSDKが提供 etc…
WorkersのPythonランタイム • これまではWeb Assemblyで対応してたが、 それが不要になり公式ランタイムで提供されて いる • Pyodideを用いてJavaScriptからPythonの コードを実行できるようになっている •
micropipを用いてブラウザ上にPythonライ ブラリをインストールして実行できるそう 要はランタイムの裏側はWeb Assembly のインターフェースがあると解釈
https://blog.cloudflare.com/python-workers
https://github.com/cloudflare/python-workers-examples
DEMO
None
つまり、デプロイ時にライブラリをインストール する対応は今のところ非対応 一応ローカルで検証できたからレポジトリにあるのかな…?
まとめ • Cloudflare WorkersでWeb Assemblyを使ったPythonランタイムがサポートされた • ライブラリを追加して動かすことができる(ローカルでは) • デプロイ時にライブラリもデプロイする対応はそのうち対応されるはず
予告 次回のCloudflare Meetup Nagoyaは… Next + Pages + WAFのハンズオン(仮) 8月中旬開催予定!
END