--- id: workers-runtime-sdk version: "1.6.13" license: unclear license_treatment: permissive maintenance: active --- # workers-runtime-sdk — Python SDK for Cloudflare Workers License: permissive · Maintenance: active · Downloads: 86.5K/mo ## What it is and what it does workers-runtime-sdk is a Python SDK that provides runtime bindings and APIs for applications deployed on Cloudflare Workers. It enables developers to write serverless Python code that runs on Cloudflare's edge network, handling HTTP requests and responses through a familiar Python interface. The SDK is part of a larger monorepo that includes CLI tools and Django integrations for Cloudflare services. It has no external runtime dependencies, making it lightweight to install. The package is actively maintained with recent releases and supports current Python versions (3.11+). Use it for: - Build HTTP handlers for serverless functions running on Cloudflare's edge network - Create request/response middleware for Cloudflare Workers using Python - Integrate Python applications with Cloudflare services like D1, Durable Objects, and R2 - Deploy Python-based APIs and microservices without managing servers ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python SDK for building and running applications on Cloudflare Workers, providing runtime bindings and APIs to interact with Cloudflare's serverless platform. Yes, if you are building Python applications for Cloudflare Workers. The SDK is actively maintained, has no external dependencies, carries a permissive MIT license, and integrates directly with Cloudflare's edge runtime. Install only if you have a Cloudflare Workers deployment target in mind. ## Install pip install workers-runtime-sdk uv add workers-runtime-sdk poetry add workers-runtime-sdk ## Installing workers-runtime-sdk Before you install: Low install friction with no runtime dependencies. Active maintenance—released 2 days ago with a recent commit history and 95 repository stars. License in practice: MIT license permits commercial and private use with minimal restrictions; suitable for most deployment scenarios. Quickstart: pip install workers-runtime-sdk from workers_runtime_sdk import Request, Response async def handle(request: Request) -> Response: return Response("Hello from Cloudflare Workers") Requires Python 3.11 or later; intended for deployment on Cloudflare Workers runtime, not local execution. Verify before relying: - What specific Cloudflare services (D1, Durable Objects, R2, Access) are supported by this SDK version - Whether this package is the runtime SDK or the CLI tool (monorepo contains both workers-py and workers-runtime-sdk) - Performance characteristics and cold-start overhead when deployed to Cloudflare Workers ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 86.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags cloudflare workers python, serverless python sdk, cloudflare runtime bindings, python workers framework, cloudflare edge computing, serverless, cloudflare, edge-computing [View on SkillFed](https://skillfed.io/packages/workers-runtime-sdk) · [View on PyPI](https://pypi.org/project/workers-runtime-sdk/)