poetry-source
Manage package repository sources
TLDR
Add package source
$ poetry source add [name] [url]
Remove package source$ poetry source remove [name]
Show configured sources$ poetry source show
Add private repository$ poetry source add --priority=supplemental [name] [url]
SYNOPSIS
poetry source command [options]
DESCRIPTION
poetry source manages package repository sources in pyproject.toml. It allows adding private or alternative package indexes alongside or instead of the default PyPI.
The --priority option controls how sources are used: primary sources are checked first, supplemental sources are checked only for packages not found in primary sources, and explicit sources are only used when a package specifically references them. Use show to list configured sources.
PARAMETERS
add NAME URL
Add package source.remove NAME
Remove source.show
List sources.--priority LEVEL
Source priority (primary, supplemental, explicit).
CAVEATS
Modifies pyproject.toml. Priority affects resolution order.
HISTORY
poetry source provides repository management for package sources.
SEE ALSO
poetry(1), poetry-config(1)
