You can compile your Python to WebAssembly and run the WebAssembly in Cloudflare workers.