Skip to content

Python Workers Examples

Active
cloudflare/python-workers-examples

Official examples for writing Cloudflare Workers in Python, run locally with Pywrangler on workerd.

View on GitHub
Stars
344
Forks
76
Watchers
344
Open issues
23

Overview

A collection of official examples for writing Cloudflare Workers in Python. Use them to learn how Python Workers work.

Get started

git clone https://github.com/cloudflare/python-workers-examples
cd hello
uvx --from workers-py pywrangler dev

Press b to open a browser tab and make a request to your Worker. pywrangler — the CLI for Python Workers — runs a local development server powered by workerd, the open-source Workers runtime, in any example directory.

Status

Python Workers are in open beta and have some limitations; the README links to the current list before you deploy.

Similar open-source projects, ranked by shared categories and tags.

All Web Framework projects →