VLXI-Cookiecutter-Python

Poetry Quick Reference

Authors
Kevin T. Chu <kevin@velexi.com>

Version: 2024-06-13


Poetry is a useful Python package and dependency management tool. It also provides support for managing Python environments, building and packaging Python projects, and publishing Python packages.


Managing Project Dependencies


Managing Virtual Environments

Basic Commands

All of the following commands operate on the Python virtual environments for a specific project defined by a pyproject.toml file. They all require that a pyproject.toml file exists in the current directory or an ancestor of the current directory.

Configuration

References