cloudflare · Cloudflare Workers Docs
Index Python Workers
An overview of developing Cloudflare Workers using Python, covering the pywrangler CLI for local development and deployment, project initialization, and the use of templates.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Index Python Workers
An overview of developing Cloudflare Workers using Python, covering the pywrangler CLI for local development and deployment, project initialization, and the use of templates.
When To Use
Use when you need to set up a development environment, initialize a new project, or deploy Python-based code to the Cloudflare Workers platform using the pywrangler CLI.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-python-index-workflow-guide.md | An overview of Python support in Cloudflare Workers, including the pywrangler CLI tool and available templates. | Questions about an overview of Python support in Cloudflare Workers, including the pywrangler CLI tool and available templates. |
examples/workers-python-index-cloudflare-workers-python-index.text | A Python code example demonstrating how to implement a basic WorkerEntrypoint class for indexing Python Workers. | Exact payloads, commands, or snippets shown in A Python code example demonstrating how to implement a basic WorkerEntrypoint class for indexing Python Workers. |
examples/workers-python-index-cloudflare-workers-python-index-command.text | A text representation of the uvx command used to initialize a Python Worker project using pywrangler. | Exact payloads, commands, or snippets shown in A text representation of the uvx command used to initialize a Python Worker project using pywrangler. |
examples/workers-python-index-cloudflare-workers-python-index-uv-run-command.text | A text snippet demonstrating the command to run a Python Worker using uv and pywrangler. | Exact payloads, commands, or snippets shown in A text snippet demonstrating the command to run a Python Worker using uv and pywrangler. |
examples/workers-python-index-cloudflare-workers-python-index-uv-deploy-command.text | A text snippet demonstrating the uv run pywrangler deploy command used to index Python Workers. | Exact payloads, commands, or snippets shown in A text snippet demonstrating the uv run pywrangler deploy command used to index Python Workers. |
examples/workers-python-index-cloudflare-workers-python-index-uv-run-pywrangler-i.text | A command-line instruction demonstrating how to initialize a Python Worker project using the uv package manager and pywrangler. | Exact payloads, commands, or snippets shown in A command-line instruction demonstrating how to initialize a Python Worker project using the uv package manager and p... |
examples/workers-python-index-cloudflare-workers-python-index-hello-world-git-clo.text | A shell command to clone the Cloudflare Python Workers examples repository and navigate to the hello world directory. | Exact payloads, commands, or snippets shown in A shell command to clone the Cloudflare Python Workers examples repository and navigate to the hello world directory. |
What This Skill Covers
- Cloudflare Workers provides a first-class Python experience, including support for:
- Main sections:
Introduction,The pywrangler CLI tool,Python Worker Templates,Next Up.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/languages/python/index.md
