Skip to content

Conversation

irvinebroque
Copy link
Contributor

No description provided.

Copy link
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/workers/ @cloudflare/workers-docs, @GregBrimble, @irvinebroque, @mikenomitch, @korinne, @WalshyDev, @cloudflare/deploy-config, @cloudflare/pcx-technical-writing, @kodster28, @cloudflare/wrangler, @cloudflare/workers-runtime-1, @cloudflare/wrangler

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:
Copy link
Contributor Author

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
Copy link
Contributor

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Copy link
Contributor

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

Copy link
Contributor

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:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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:


[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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants