{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/5"}],"enrichment":{"capability":"A command-line tool that scaffolds and manages Polylith architecture workspaces in Python, automating the creation of components, bases, and projects within a structured codebase.","skillfed_tags":["architecture-pattern","project-scaffolding","modular-design"],"use_cases":["Initialize a new modular Python project with Polylith structure and chosen theme in a single command.","Scaffold new components, bases, or projects within an existing workspace without manual directory creation.","Integrate Polylith architecture into projects using Hatch, PDM, Rye, or uv as the build and dependency manager.","Enforce consistent code organization patterns across a team by automating structural setup.","Migrate existing Python projects to a modular architecture by generating the initial Polylith workspace layout."],"what_it_does":"Polylith-cli is a command-line interface that brings Polylith architecture patterns to Python projects. Polylith is an architecture pattern for organizing code into loosely coupled, highly cohesive modules called components, bases, and projects. The CLI automates workspace initialization and the creation of these structural elements, handling boilerplate setup and directory organization so developers can focus on building modular systems.\n\nThe tool integrates with popular Python package managers\u2014Hatch, PDM, Rye, and uv\u2014and works alongside Poetry via a dedicated plugin. It provides commands to scaffold workspaces with a chosen theme (e.g., 'loose'), then create individual components, bases (entry points), and projects within that structure. The CLI relies on five core dependencies to deliver this: pyyaml for configuration, rich for terminal output, tomlkit for pyproject.toml manipulation, typer for command-line argument handling, and typing_extensions for type hints.","worth_installing":"Yes, if you are adopting or exploring Polylith architecture in Python. The tool is actively maintained, has low install friction, carries no security vulnerabilities, and is licensed permissively. It is most valuable as part of a deliberate shift toward modular, component-based code organization; it is not a general-purpose utility for typical projects. Install it as a dev dependency in your chosen package manager and use it to bootstrap and manage your workspace structure."},"id":"polylith-cli","links":{"html":"https://skillfed.io/packages/polylith-cli","md":"https://skillfed.io/packages/polylith-cli.md","pypi":"https://pypi.org/project/polylith-cli/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-07","license_spdx":null,"license_treatment":"permissive","name":"polylith-cli","python_support":"supports_current","summary":"Python tooling support for the Polylith Architecture"},"popularity":{"monthly_downloads":110286,"position":12473,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.50.0"}
