workers-py
A set of libraries and tools for Python Workers.
Pywrangler
A CLI tool for managing vendored packages in a Python Workers project.
Installation
On Linux, you may be able to install the tool globally by running:
uv tool install workers-py
Alternatively, you can add workers-py to your pyproject.toml:
[dependency-groups]
dev = ["workers-py"]
Then run via uv run pywrangler.
Usage
uv run pywrangler --help
uv run pywrangler sync
Development
To run the CLI tool while developing it, install it globally:
uv tool install -e .
Then run it via pywrangler.
Alternatively, you can add workers-py to your pyproject.toml:
[dependency-groups]
dev = ["workers-py"]
[tool.uv.sources]
workers-py = { path = "../workers-py/packages/cli" }
workers-runtime-sdk = { path = "../workers-py/packages/runtime-sdk" }
Then run via uv run pywrangler.
Lint
uv run ruff check --fix
uv run ruff format
Tests
$ uv cache clean
$ uv run pytest
$ uv run pytest tests/test_cli.py::test_sync_command_handles_missing_pyproject -v # Specific test
Release files for workers-py 1.17.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| workers_py-1.17.1.tar.gz | 71.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| workers_py-1.17.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 88.2 kB
Release files / workers_py-1.17.1.tar.gz
| Download URL | workers_py-1.17.1.tar.gz |
|---|---|
| Size | 71.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
149e4ca2ac02f50d9f7c8f79bf92ac7472b374055ec22273899308e27d9c3212
|
|
BLAKE2b-256 checksum How to use checksums |
7dc10567225d5e61214b568d0f9a61747c6453d71b7706ef4fa4df931757e4d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency logRelease files / workers_py-1.17.1-py3-none-any.whl
| Download URL | workers_py-1.17.1-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60eab58bda4e22668074dd2ef5b31f9d0e69cc639f2c8b8733261bc438b41fc0
|
|
BLAKE2b-256 checksum How to use checksums |
64412cb5176a2c867ae02cc2f969e1e9d7dac67035de6a13f2a1de02fc054f07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency log