Poetry
$ poetry Official Med RiskPoetry (poetry) manages pyproject.toml dependencies, deterministic poetry.lock resolution, virtualenvs, and wheel/sdist publishing. It provides --no-interaction, --no-ansi, --dry-run on installs/updates/builds, and poetry check --lock for CI validation.
brew install poetry poetry manages local virtualenvs, poetry.lock resolution, and package builds directly inside the repo; CLI usage avoids schema bloat and round-trips.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Strong --no-interaction, --no-ansi, and --dry-run support across install/update/build, though core query commands like poetry show emit plain text instead of --json.
- Global
--no-interactionand--no-ansiflags - Lacks native
--jsonoutput onpoetry show
Enforces reproducible poetry.lock installs, offers --dry-run previews, and keeps publish credentials in keyring or env vars.
poetry check --lockandpoetry install --dry-runprevent accidental drift
Installable via Homebrew, pipx, uvx, and official script across macOS, Linux, and Windows, though requires a Python runtime.
- Cross-platform Python CLI available via Homebrew and
pipx
Widely adopted all-in-one dependency, lockfile, build, and publish workflow, though resolver speed trails Rust-based tools like uv.
- Mature
pyproject.toml+poetry.locklifecycle
Maintained by Python Poetry (python-poetry/poetry) under MIT license.
- Official
python-poetry/poetryrepository
Comprehensive official CLI reference and configuration docs at python-poetry.org/docs/cli/.
- Complete command reference at python-poetry.org/docs/cli
Security, Auth & Guardrails
Stores PyPI and private repository tokens in OS keyring or auth.toml, and accepts POETRY_PYPI_TOKEN_PYPI / POETRY_HTTP_BASIC_* env vars.
MIT open-source CLI; free to use locally and with public or private PyPI indexes.
# Poetry Agent Rules - Always pass `--no-interaction --no-ansi` to suppress prompts and ANSI codes. - Preview changes with `poetry install --dry-run` or `poetry update --dry-run` before mutating envs. - Never run `poetry publish` without explicit user approval.
Agent-Ready Command Recipes
Safe Read-Only Queries
poetry check --lock --no-interaction --no-ansi
Verifies pyproject.toml syntax and confirms poetry.lock is in sync without modifying files.
poetry install --dry-run --no-interaction --no-ansi
Shows exact package additions, updates, or removals without touching the virtualenv.
Controlled Writes & Previews
poetry install --no-interaction --no-ansi
Installs locked dependencies into the project virtualenv without prompting.
Strengths for Agents
- + Global
--no-interactionand--no-ansiflags make headless execution predictable. - +
--dry-runis supported oninstall,update,add,remove, andbuild. - +
poetry check --lockcatches stale lockfiles cleanly in CI and agent checks.
Caveats & Pitfalls
- !
poetry showandpoetry env infolack native--jsonoutput without third-party plugins. - ! Dependency resolution and cold installs can be slow compared to
uvorpdm.