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
ScotSecure West 2026 - Glasgow
raybugg
0
160
え、こんなに早く改修できるの?──新人エンジニアとスクラムマスターの2人が語る、AI×アジャイル開発の現場
ysasago
2
700
Antigravity SDK for the Java Developer
glaforge
0
190
メルカリにおけるAI時代の高速プロトタイピング基盤「Arca」
ryotarai
4
2.4k
人にやさしく、AIにやさしく、書き手を選ばないIaCのガードレール再考 / Rethinking IaC Guardrails for Humans and AI Alike
kohbis
2
400
登壇の自信を奪う3匹のオバケ / 3 Ghosts That Rob You of Your Confidence in Public Speaking
pauli
9
1.1k
aws-iot-platform-architecture-use-cases.pdf
ma2shita
0
580
AIに賢く動いてもらうためのコンテキスト〜Snowflake女子会 vol.8
snowwmn0824
0
170
AI 時代のスタートアップエコシステ厶から考究する技術的負債との向き合い方
m3m0r7
PRO
3
2.6k
AIに任せた品質は、誰が見立てるのか - AI時代のテストマネジメント
nakanao
3
2.9k
技術的負債から考える、AI時代のエンジニアリング投資 — ビズリーチの技術的負債と向き合った経験から、変更し続けられるソフトウェアを考える/ technical-debt-con2026
visional_engineering_and_design
4
3.7k
AI Agent入門〜今更聞けないAgentの話〜
hiromimaganuma
0
110
Featured
See All Featured
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
340
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
250
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
730
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Designing for humans not robots
tammielis
254
26k
4 Signs Your Business is Dying
shpigford
187
23k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
250
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.9k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
280
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