Hardware

Cloudflare Makes Python Workers Generally Available

Cloudflare has officially launched Python support on its serverless Workers platform, allowing developers to run Python code at the edge with first-class integration and Pyodide-powered performance.

Simon Willison1 day agoHardware
Illustration generated for this story

Following a two-year preview period, Cloudflare has announced the general availability of Python Workers. The company now considers Python to be a "first-class, fully supported language" on its developer platform. Under the hood, this implementation compiles Python to WebAssembly using Pyodide, which then runs inside Cloudflare's V8-based workerd runtime environment. This architecture allows developers to deploy Python scripts directly to Cloudflare's edge network.

While this release brings Python to the edge, the WebAssembly virtual machine imposes certain technical constraints. Most notably, developers cannot use multiprocessing or threading within this environment. To help developers navigate these constraints, Cloudflare provides a local development tool called pywrangler, which is distributed on PyPI under the package name workers-py. This tool runs a complete local simulation of the production stack, executing code via Pyodide in WebAssembly inside a 123MB workerd binary.

For practitioners, this release bridges the gap between Python's rich ecosystem and low-latency edge computing. The development represents a deep collaboration with the open-source community, led by Cloudflare team members Gyeongjae Choi, Dominik Picheta, and Hood Chatham, the latter of whom are core maintainers of the Pyodide project. By offering a stable, local simulation environment, Cloudflare makes it easier for engineers to build, test, and deploy lightweight Python applications globally without managing traditional server infrastructure.

This is our own summary of reporting by Simon Willison

More in Hardware