Skip to content

Commit 19a19e9

Browse files
Flesh out Python Worker readme (#8331)
* Flesh out Python Worker readme Adds link to `uv` installation instructions * Update packages/create-cloudflare/templates/hello-world/py/README.md Co-authored-by: Pete Bacon Darwin <[email protected]> --------- Co-authored-by: Pete Bacon Darwin <[email protected]>
1 parent f379635 commit 19a19e9

File tree

1 file changed

+8
-3
lines changed
  • packages/create-cloudflare/templates/hello-world/py

1 file changed

+8
-3
lines changed

packages/create-cloudflare/templates/hello-world/py/README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ worker without having to restart `wrangler`.
77
### Types and autocomplete
88

99
This project also includes a pyproject.toml and uv.lock file with some requirements which
10-
set up autocomplete and type hints for this Python Workers project. To get these installed
11-
you can run the following:
10+
set up autocomplete and type hints for this Python Workers project.
11+
12+
To get these installed you'll need `uv`, which you can install by following
13+
https://docs.astral.sh/uv/getting-started/installation/.
14+
15+
Once `uv` is installed, you can run the following:
1216

1317
```
1418
uv venv
1519
uv sync
1620
```
1721

18-
Then point your editor's Python plugin at the `.venv` directory.
22+
Then point your editor's Python plugin at the `.venv` directory. You should then have working
23+
autocomplete and type information in your editor.

0 commit comments

Comments
 (0)