Skip to content
프로젝트

cloudflare/python-workers-examples

GitHub에서 보기

소개

This is a collection of examples for writing Cloudflare Workers in Python. Use these examples to learn how Python Workers work.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Python Workers Examples

This is a collection of examples for writing Cloudflare Workers in Python. Use these examples to learn how Python Workers work.

Get started

  1. git clone https://github.com/cloudflare/python-workers-examples
  2. cd hello
  3. uvx --from workers-py pywrangler dev
  4. Press the b key to open a browser tab, and make a request to your Worker

You can run uvx --from workers-py pywrangler dev in any example project directory to run a local development server using Pywrangler, the CLI for Cloudflare Python Workers. This local development server is powered by workerd, the open-source Workers runtime.

Need to deploy your Worker to Cloudflare? Python Workers are in open beta and have a few limitations.

Examples

Open Beta and Limits

  • You must add the python_workers compatibility flag to your Worker while Python Workers are in open beta.

We’d love your feedback. Join the #python-workers channel in the Cloudflare Developers Discord and let us know what you’d like to see next.

License

The Apache 2.0 license.

관련 프로젝트 살펴보기

불러오는 중…