Skip to main content

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 -name 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:

[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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polylith-cli 1.55.0
File Size Uploaded Provenance Actions
polylith_cli-1.55.0.tar.gz 99.8 kB Without provenance Details for polylith_cli-1.55.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for polylith-cli 1.55.0
File Interpreter ABI Platform Actions
polylith_cli-1.55.0-py3-none-any.whl Python 3 none any Details for polylith_cli-1.55.0-py3-none-any.whl

Total release size: 270.7 kB

Release files / polylith_cli-1.55.0.tar.gz

Download URL polylith_cli-1.55.0.tar.gz
Size 99.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a3a39ef6d2733c2158278f6997dff253568d8fe5def8220eb2da0b4a500dccfe
BLAKE2b-256 checksum
How to use checksums
7e351a59f9a926fb68f8d0354ed0132baf07bf2a5755b30cacf40c727b45a2a6
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.0-py3-none-any.whl

Download URL polylith_cli-1.55.0-py3-none-any.whl
Size 170.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d0ed6c6d5b947baf6de77a00b92cb956ca4af179d82c28b914577e1f2a69614
BLAKE2b-256 checksum
How to use checksums
1f1af56e2402ed996e30227f11b731be91593de3acb58360d8afa7dbce72e66a
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.0

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.

Release history Release notifications | RSS feed

This release

1.55.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page