-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Add links to Python packages docs #24045
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: production
Are you sure you want to change the base?
Conversation
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
your worker bundle on deployment. | ||
|
||
To get started, create a pyproject.toml file with the following contents: | ||
To get started, create a `pyproject.toml` file with the following contents: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should clarify that you should still put any Workers specific config in a wrangler.toml
or wrangler.jsonc
file and link to that?
|
||
[Pywrangler](https://github.com/cloudflare/workers-py?tab=readme-ov-file#pywrangler) is a CLI tool for managing packages and Python Workers. | ||
It is meant as a wrapper for wrangler that sets up a full environment for you, including bundling your packages into | ||
It is meant as a wrapper for [Wrangler CLI](/workers/wrangler/) that sets up a full Python virtual environment for you, including bundling your packages into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dom96 is this part true? What we're doing versus what uv
is doing re virtual env?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is meant as a wrapper for [Wrangler CLI](/workers/wrangler/) that sets up a full Python virtual environment for you, including bundling your packages into | |
It is a wrapper for [Wrangler CLI](/workers/wrangler/) that uses [`uv`](https://github.com/astral-sh/uv) to set up a full Python virtual environment for you, including bundling your packages into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think true w this edit and also provides context on uv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, with that edit it makes sense.
your worker bundle on deployment. | ||
|
||
To get started, create a pyproject.toml file with the following contents: | ||
To get started, create a `pyproject.toml` file with the following contents: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To get started, create a `pyproject.toml` file with the following contents: | |
To get started, create a [`pyproject.toml` file](https://docs.astral.sh/uv/guides/projects/) with the following contents: |
Preview URL: https://89a729c8.preview.developers.cloudflare.com Files with changes (up to 15)
|
|
||
[Pywrangler](https://github.com/cloudflare/workers-py?tab=readme-ov-file#pywrangler) is a CLI tool for managing packages and Python Workers. | ||
It is meant as a wrapper for wrangler that sets up a full environment for you, including bundling your packages into | ||
It is meant as a wrapper for [Wrangler CLI](/workers/wrangler/) that sets up a full Python virtual environment for you, including bundling your packages into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, with that edit it makes sense.
No description provided.