Deploying a FastAPI application to Cloudflare Workers with uv.
https://github.com/astral-sh/uv-cloudflare-workers-example.git
Deploying a FastAPI application to Cloudflare Workers with uv.
From the repository root, deploy to Cloudflare with:
./build.sh
npx wrangler deploy
You can then navigate to the Worker URL
to see the "Hello from Python!" message, /hello/{name} to see a templatized response, and /version to see the
version of cffi (an extension module containing native code).