def deploy():
  return Edge()
Status: Edge Ready

Deploy Python Globally.
No Servers, No Containers, No Kidding.

Cloudflare runs your Python at 300+ edge locations — with D1, R2, KV, Workers AI, and zero ops. Guides, architecture patterns, and deep dives for developers ready to ditch the Docker stack.

From the team that's been writing Python since 2.5 and ships thousands of production sites on Cloudflare.

subscribe.sh
$

What We're Building

Production-grade guides for every piece of Cloudflare's Python stack. Here's what's in the pipeline.

workers.py

Ship your first globally deployed Python function — then go deeper into async patterns, bindings, and the FFI bridge.

storage.py

SQLite at global scale with D1. Object storage with zero egress via R2. Key-value at the edge with KV.

inference.py

Run inference on 50+ models via Workers AI — no GPUs to manage. Build RAG pipelines with Vectorize and LangChain.

async_jobs.py

Background jobs, fan-out processing, and scheduled tasks — all without Celery, Redis, or a message broker.

architecture.md

How to wire Workers, D1, R2, Queues, and KV into a real application. Production patterns with auth and observability.

migration.sh

Your Dockerfile, Nginx config, Kubernetes manifests — a concrete migration path from containerized Python to Cloudflare.

sdk_config.py

Programmatic control over the entire platform. Think boto3, but cleaner and type-safe. Real automation and CI/CD.

debug_test.py

Local development with wrangler dev, pdb debugging that actually works, structured logging, and 30-second deployments.

README.md

Built for Developers Who Ship

This isn't a beginner Python tutorial. CloudflarePython.com is built by Python developers who've been in the ecosystem since Python 2.5 — through the 2→3 migration, the async revolution, and every framework wave in between. We've seen the language evolve, and we've shipped production code through all of it.

We also deploy thousands of production websites on Cloudflare's infrastructure. This isn't theoretical knowledge — it's hard-won experience from operating at scale on Workers, D1, R2, KV, and the full platform.

Every guide includes working code you can deploy today, architecture decisions explained with trade-offs, and honest assessments of what Cloudflare does well and where the edges are still rough.

We cover the full stack — from a single Worker function to multi-service architectures with databases, object storage, queues, and AI inference — because real applications don't live in isolation.

$ pip install cloudflare-python
# Coming soon...