You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/workers/languages/python/packages/index.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,10 @@ head:
9
9
import { Render } from"~/components";
10
10
11
11
[Pywrangler](https://github.com/cloudflare/workers-py?tab=readme-ov-file#pywrangler) is a CLI tool for managing packages and Python Workers.
12
-
It is meant as a wrapper for wrangler that sets up a full environment for you, including bundling your packages into
12
+
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
13
13
your worker bundle on deployment.
14
14
15
-
To get started, create a pyproject.toml file with the following contents:
15
+
To get started, create a `pyproject.toml` file with the following contents:
16
16
17
17
```toml
18
18
[project]
@@ -28,7 +28,7 @@ dependencies = [
28
28
dev = ["workers-py"]
29
29
```
30
30
31
-
The above will allow your worker to depend on the [FastAPI](https://fastapi.tiangolo.com/) package.
31
+
The above will allow your Worker to depend on the [FastAPI](https://fastapi.tiangolo.com/) package.
32
32
33
33
To run the worker locally:
34
34
@@ -44,7 +44,7 @@ uv run pywrangler deploy
44
44
45
45
Your dependencies will get bundled with your worker automatically on deployment.
46
46
47
-
The `pywrangler`CLI also supports all commands supported by the `wrangler` tool, for the full list of commands run `uv run pywrangler --help`.
47
+
`pywrangler` also supports all [commands supported by Wrangler](/workers/wrangler/commands/). For the full list of commands run `uv run pywrangler --help`.
0 commit comments