Cloudflare Python Workers (GA)
Python is now fully supported on Cloudflare Workers: FastAPI/Django/Flask via ASGI/WSGI connectors, Postgres through Hyperdrive, and packages like openai, langchain and mcp work directly. Local development runs through pywrangler, which simulates their full stack.
How to try it
- Install the tool from PyPI: the package is called `workers-py`, the command is `pywrangler`
- Expose a FastAPI app in your code with `from workers import asgi` and `Default = asgi.entrypoint(app)`
- Connect Hyperdrive to your Supabase Postgres and try a query via `asyncpg`
- Keep in mind threading and multiprocessing don't work in the WebAssembly environment
Price: Pricing isn't listed in the announcement — check the link