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

  1. Install the tool from PyPI: the package is called `workers-py`, the command is `pywrangler`
  2. Expose a FastAPI app in your code with `from workers import asgi` and `Default = asgi.entrypoint(app)`
  3. Connect Hyperdrive to your Supabase Postgres and try a query via `asyncpg`
  4. Keep in mind threading and multiprocessing don't work in the WebAssembly environment

Price: Pricing isn't listed in the announcement — check the link

Official link

More new tools