跳到正文

Python Workers Examples

活跃
cloudflare/python-workers-examples

使用 Python 编写 Cloudflare Workers 的官方示例集,可通过 Pywrangler 在 workerd 上本地运行。

在 GitHub 查看
星标
344
Fork
76
关注
344
未关闭 Issue
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.

按共同分类和标签排序的同类开源项目。

全部 Web 框架项目 →