poetry
Poetry is a tool for dependency management and packaging in Python
Subcommands
Name | Description |
---|---|
about | Shows information about poetry |
add | Adds a new dependency to pyproject.toml |
build | Builds a package, as a tarball and a wheel by default |
cache | The cache command regroups sub commands to interact with poetry's cache |
check | Checks the validity of the pyproject.toml file |
config | Manages configuration settings |
debug | The debug command regroups sub commands to interact with debug session |
env | The env command regroups sub commands to interact with the virtualenvs associated with a specific project |
init | Creates a basic pyproject.toml file in the current directory |
install | Installs the project dependencies |
lock | Locks the project dependencies |
new | Creates a new Python project at <path> |
publish | Publishes a package to a remote repository |
remove | Removes a package from the project dependencies |
run | Runs a command in the appropriate environment |
search | Searches for packages on remote repositories |
self | The self namespace regroups sub commands to manage the poetry installation itself |
shell | Spawns a shell within the virtual environment |
show | Shows information about packages |
source | The source namespace regroups sub commands to manage repository sources for a poetry project |
update | Update the dependencies as according to the pyproject.toml file |
version | Shows the version of the project or bumps it when a valid bump rule is provided |
Options
Name | Description |
---|---|
-h, --help | Display help information |
-v, --verbose | Increase the verbosity of messages |
-vv | More verbose output |
-vvv | Debug output |
-V, --version | Display this application version |
--ansi | Force ANSI output |
--no-ansi | Disable ANSI output |
-n, --no-interaction | Do not ask any interactive question |
--no-plugins | Disables plugins |
--no-cache | Disables poetry source caches |
--directory <directory> | The working directory for the poetry command |
-q, --quiet | Do not output any message |