CodeVetter · Repo Unpack · Feature catalog
python-poetry/poetry
The inspected command table spans project creation, dependency changes, installation, packaging, diagnostics, environments, sources, and Poetry's own runtime. Dependency operations expose groups, extras, dry runs, lock-only execution, and synchronization. Build and publish integrate with Python packaging backends and package indexes. Plugin-provided commands and documented compatibility limits extend or qualify the built-in surface.
- new creates a project with a default src layout; init interactively creates pyproject.toml; version displays or changes the project version using PEP 440 values or bump rules.
- add accepts names, constraints, Git references/subdirectories, files, directories, and URLs; remove is registered alongside update, whose documented behavior preserves pyproject constraints while refreshing compatible locked versions.
- install supports group selection, extras, no-root/no-directory, bytecode compilation, and dry runs; sync additionally removes packages outside the desired lock state; lock preserves existing versions unless --regenerate is used.
- build selects direct poetry-core builders or isolated backend builds; publish targets PyPI by default or a configured repository and accepts certificates, dry-run, and skip-existing behavior.
- env exposes activate/info/list/remove/use, with activate printing shell instructions; run executes environment commands or configured script callables; python install/list/remove manages or discovers interpreters, including standalone builds.
- source add/show/remove manages project indexes with primary/supplemental/explicit priorities; config lists, sets, unsets, migrates, or applies local settings; cache clear/list manages cached repository entries.
- about reports Poetry/core versions; check validates project and lock consistency; debug info/resolve/tags diagnoses environments and resolution; show lists packages; search queries remote indexes with a documented PyPI browser requirement.
- self add/install/lock/remove/show/show plugins/sync/update manages Poetry's runtime and addons; project-required plugins can install under .poetry/plugins, while export and shell are documented plugin commands.