Run your Python code in an isolate instead of a Container @CloudflareDevelopers
Run your Python code in an isolate instead of a Container  @CloudflareDevelopers
Uploaded August 2026 | Updated September 2026, 3 hours ago
Python can run globally on Cloudflare Workers—and it can do a lot more than Hello World.

In this PyCon US recap, I show how Pyodide brings Python to Workers, deploy a FastAPI server, and break down two demos: an AI-powered MSPaintify selfie app and a real-time multiplayer carnival game.

Along the way, you'll see how Cloudflare Workflows provides durable execution and automatic retries; how R2, KV, and AI Gateway work through bindings; and how Durable Objects and WebSockets make stateful multiplayer apps scale horizontally.

**Resources**

- Python Workers: developers.cloudflare.com/workers/languages/python
- Workflows: developers.cloudflare.com/workflows
- Durable Objects: developers.cloudflare.com/durable-objects
- AI Gateway: developers.cloudflare.com/ai-gateway
- R2: developers.cloudflare.com/r2
- Workers KV: developers.cloudflare.com/kv
- Pyodide: pyodide.org
- PEP-783: peps.python.org/pep-0783

**Repos**

- Hello World: github.com/craigsdennis/hello-world-python-workers-fastapi
- MSPaintify: github.com/craigsdennis/mspaintify-python-workers
- Carnival Game: github.com/craigsdennis/balloon-water-race-python-do

Create an account on Cloudflare today for free: dash.cloudflare.com/sign-up

**Chapters**

0:00 Python Workers at PyCon
0:40 Serverless on region: earth
1:09 Pyodide brings Python to Workers
1:35 FastAPI and platform primitives
1:59 The MSPaintify AI demo
2:28 Workflows, R2, AI Gateway, and KV
3:38 Building a game with Durable Objects
4:29 Camera, color detection, and haptics
4:49 Real-time multiplayer over WebSockets
5:45 Scaling one game per Durable Object
6:15 PEP 783 and packages from PyPI
6:30 What will you build with Python?


Note: This is a republish with fixed audio
#cloudflare #cloudflareworkers #developer
Run your Python code in an isolate instead of a ContainerRedesigning the SDLC for the Agentic Era with Rizel Scarlett | The Clanker Chronicles ep 1Mount Cloud Buckets, Locally In Containers (ft. S3, GCS & R2)I Built an AI Video Generator in 10 Minutes (No Coding Required!)Build Secure AI Agents with Auth0 and WorkersFrom KV to R2 - The Cloudflare storage journey - Cloudflare Connect London 2025Can OpenAIs new GPT Image model bend the space time continuum?Browser Automation with Playwright MCP and Cloudflare Browser RenderingVite Plugin + React DemoDry Run 🎙️ Episode 8: Youve Got MailImproving app performance with Cloudflare D1 read replicationBuilding the Same App with Codex CLI and Claude Code
Cloudflare Developers |

Run your Python code in an isolate instead of a Container

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER