Python tooling for Polylith
A command line interface that adds tooling support for the Polylith Architecture in Python. Use it with your favorite Packaging & Dependency management tool (uv, Poetry, Hatch, PDM, Pixi, Maturin and others).
Documentation
Have a look at the documentation. You will find installation, setup, usage guides and more.
Not a uv user?
In the documentation you will find guides for setup, migration, packaging, available commands, code examples and more for Poetry, Hatch, PDM, Pixi, Maturin and others.
Quick Start for uv users
uv init my_repo # name your repo
cd my_repo
uv add polylith-cli --dev
uv sync # create a virtual environment and lock files
Create a workspace, with a basic Polylith folder structure.
uv run poly create workspace --name my_namespace --theme loose
Edit the configuration
The recommended build backend for uv is Hatch. Make uv (and Hatch) aware of the way Polylith organizes source code:
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
dev-mode-dirs = ["components", "bases", "development", "."]
Run the sync command to update the virtual environment:
uv sync
Finally, remove the src boilerplate code that was added by uv in the first step:
rm -r src
Ready for coding!
Add components, bases and projects:
uv run poly create component --name my_component
uv run poly create base --name my_example_endpoint
uv run poly create project --name my_example_project
For details, have a look at the documentation. There, you will find guides for setup, migration, packaging, available commands, code examples and more.
Metadata
Release files for polylith-cli 1.55.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 | Provenance | Actions |
|---|---|---|---|---|
| polylith_cli-1.55.1.tar.gz | 99.9 kB | Without provenance | Details for polylith_cli-1.55.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polylith_cli-1.55.1-py3-none-any.whl | Python 3 | none | any | Details for polylith_cli-1.55.1-py3-none-any.whl |
Total release size: 270.7 kB
Release files / polylith_cli-1.55.1.tar.gz
| Download URL | polylith_cli-1.55.1.tar.gz |
|---|---|
| Size | 99.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b7f5b66a8229e528619a5860869124cb32b9e206a9b3c8575bd6cf7eb2d1da0
|
|
BLAKE2b-256 checksum How to use checksums |
0021dc7644b9d1895cacc6ff2d9873a86cf033fa7ba78c0b108ce1108716c2a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Release files / polylith_cli-1.55.1-py3-none-any.whl
| Download URL | polylith_cli-1.55.1-py3-none-any.whl |
|---|---|
| Size | 170.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
acdccb7cdf85b6b007ea7d16a56ebb7866f61c2203e3cfd850c3b1116aaf0b50
|
|
BLAKE2b-256 checksum How to use checksums |
dbf79ec9943666da16ebef45db68e1acaa8a5c6a008bf6b2c82c7921ccb1fd4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Security for polylith-cli 1.55.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.