Last updated 10 months ago
Basic usage:
If git repo already exists:
cd repo_name poetry init
If git repo doesn't exist yet:
poetry new repo_name cd repo_name git init
poetry add <package> # example poetry add jupyter
Add private repository:
# repository_name is a name that will be # used to refer to the private repository. poetry source add --priority=supplemental repository_name https://my.repo.com/repo
Add package from private repository:
poetry add --source repository_name private_package_name
poetry add jupyter # if not already done poetry shell jupyter notebook # when done with shell... exit