Updated 22 Sep 2026: Sep 22: Cloudflare formally announced Python Workers GA on Sep 21, resolving the runtime maturity question and broadening production support beyond the Hyperdrive-specific change.

Key details

  1. Cloudflare announced Python Workers GA on September 21, 2026.
  2. Python is now a first-class, fully supported language on the Cloudflare Developer Platform.
  3. Cloudflare highlights support for FastAPI, Django and Flask applications.
  4. Python Workers can bind directly to Workers AI, R2, D1, Hyperdrive, Durable Objects, Queues and Workflows.
  5. Hyperdrive support for Python Workers was announced September 16 and supports PostgreSQL and MySQL.
  6. Hyperdrive requires compatibility date 2026-09-08 or later for the Python integration.
  7. Only synchronous SQLAlchemy usage is currently documented for Hyperdrive; async SQLAlchemy remains unsupported.

What builders should take away

  1. Teams that rejected Python Workers solely because of pre-GA status can now reassess it as a supported production runtime.
  2. Prototype an existing FastAPI, Django or Flask service against Workers before redesigning it; framework support may make migration smaller than expected.
  3. For relational databases, benchmark Hyperdrive with the exact Python driver, origin location and concurrency pattern you intend to run.
  4. Audit dependencies that rely on native CPython behaviour or extensions rather than assuming GA means universal package compatibility.
  5. Treat compatibility dates as part of deployment configuration and test upgrades deliberately.

What changed

Cloudflare announced Python Workers general availability on September 21, 2026, two years after introducing the runtime. Python is now described as a first-class, fully supported language on the Cloudflare Developer Platform. Python Workers can connect directly to Workers AI, R2, D1, Hyperdrive, Durable Objects, Queues and Workflows. The September 16 Hyperdrive integration remains a particularly useful part of that broader GA story: PostgreSQL and MySQL workloads can use Cloudflare’s pooled database connection layer directly from Python. Cloudflare also highlights web-framework support including FastAPI, Django and Flask.

Why it matters

The GA milestone changes the adoption decision for teams that held Python Workers at arm’s length because the runtime was experimental. Python applications can now target the Workers platform with a supported production runtime and native service bindings, while database-backed applications can use Hyperdrive without inserting a JavaScript Worker solely for SQL connectivity. The remaining driver and ORM constraints still matter, but runtime maturity is no longer the main caveat.

Python is now a first-class Workers language

Cloudflare says Python Workers are generally available and fully supported on the Developer Platform. The runtime can use familiar Python libraries and frameworks while connecting directly to Cloudflare services rather than treating Python as an experimental edge-language option.

Platform bindings extend well beyond databases

GA Python Workers can connect to Workers AI, R2, D1, Hyperdrive, Durable Objects, Queues and Workflows. Cloudflare says its binding work removes manual conversion at the Python/TypeScript RPC boundary and makes Python objects usable directly across platform services.

Hyperdrive remains the relational-database path

Python Workers can connect to PostgreSQL and MySQL through Hyperdrive using Python database drivers over Workers TCP sockets. Cloudflare recommends asyncpg, pg8000 and psycopg for PostgreSQL and aiomysql and pymysql for MySQL.

Some Python ecosystem boundaries remain

GA does not mean every CPython package or ORM mode behaves identically to a conventional server. Cloudflare currently documents synchronous SQLAlchemy support for Hyperdrive; async SQLAlchemy remains unsupported because Python Workers do not provide the greenlet support it requires. Builders should validate native extensions, concurrency and database-driver behaviour on their actual workload.

What to watch next

  • Package and native-extension compatibility as the GA runtime matures.
  • Async SQLAlchemy/greenlet support and broader ORM compatibility.
  • Performance and cold-start comparisons for production Python web frameworks on Workers.
  • Whether Python reaches parity with JavaScript across every newer Workers platform capability.

Still unclear

  • GA establishes Cloudflare’s support commitment but does not make every Python package or CPython extension compatible with Workers.
  • Database performance still depends on driver, workload and origin-database location.
  • Async SQLAlchemy remains unsupported in the documented Hyperdrive path.

Sources

Direct reading behind this dossier.

3 sources
Hyperdrive Changelog
Cloudflare primary changelog

Primary announcement for direct PostgreSQL/MySQL access from Python Workers.

Python Workers — Hyperdrive
Cloudflare primary documentation

Current driver, compatibility-date, concurrency and SQLAlchemy limitations.

Discussion

Discussion is reader-contributed. Comments are not part of the BTN dossier or its editorial evidence.

0 visible comments

Join the discussion

Keep comments useful and relevant. Reader contributions may be moderated and are not BTN editorial evidence.

Sign in to comment