Polylith CLI

1.45.0 · active · verified Fri Apr 17

The `polylith-cli` is a command-line interface tool that provides essential tooling support for developing Python applications using the Polylith Architecture. It helps manage workspaces, create bases and components, and analyze dependencies within a monorepo structure. As of version 1.45.0, it is actively developed with regular updates and new features.

Common errors

Warnings

Install

Quickstart

Start by creating a new Polylith workspace, then generate components and use `poly info` to inspect the structure.

# Create a new Polylith workspace
poly create workspace my_polylith_project

# Navigate into the workspace
cd my_polylith_project

# Create a new component
poly create component my_component

# Get information about the workspace
poly info

view raw JSON →