poetry

Manage Python project dependencies, virtual environments, and packaging with Poetry.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/theslashdojo/dojo --skill poetry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: poetry
Source: https://github.com/theslashdojo/dojo/tree/main/nodes/python/poetry
Command: npx skills add https://github.com/theslashdojo/dojo --skill poetry

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, mypy, and includes scripts (resource) components.

What problem does it solve?

Poetry provides a cohesive workflow for managing Python project dependencies, environments, and packaging, replacing disparate tools with a single, deterministic approach.

Core Features & Use Cases

  • Scaffold Python projects and initialize pyproject.toml-based workflows
  • Manage dependencies and groups (dev, docs) with predictable resolution
  • Build sdist/wheel and publish to PyPI or private registries
  • Export dependency lists for pip-based deployments and CI/CD

Quick Start

Create a new Python project with Poetry using poetry new my-project and install dependencies.

Frequently Asked Questions about poetry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Python project dependencies and packaging with Poetry?

Poetry manages Python project dependencies and packaging by using pyproject.toml declarations to ensure reproducible builds, handling virtual environments, resolving locks, and building distributions for publication to PyPI.

What's the best way to scaffold a new Python project using pyproject.toml?

The best way to scaffold a new Python project using pyproject.toml is using the Poetry command 'new' to initialize the project structure and install dependencies, creating a cohesive and deterministic workflow.

Can I publish Python packages to private registries using Poetry?

Yes, you can publish Python packages to private registries using Poetry by configuring optional private registries through pyproject.toml declarations or environment variables before running the publish command.

How do I export a Poetry dependency list for pip-based CI/CD deployments?

Poetry supports exporting dependency lists for pip-based deployments and CI/CD pipelines, allowing you to generate requirements files from your resolved lock file to ensure consistent environments.

Does Poetry work with separate dev and docs dependency groups?

Yes, Poetry works with separate dev and docs dependency groups, allowing you to manage dependencies and groups with predictable resolution to isolate production requirements from development tools.

Why use Poetry instead of disparate tools for Python virtual environments and builds?

Poetry replaces disparate tools with a single, deterministic approach to managing Python project dependencies, environments, and packaging, ensuring reproducible builds without manual environment conflicts.