Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-python-index-workflow-guide.mdAn 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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