Poetry
Poetry
All about installing and using poetry for dependency management in python
https://realpython.com/dependency-management-python-poetry/
Prerequisite
pipx must be installed on your system.
Installation
To install poetry open PowerShell if you are on Windows, or Terminal if you are on Mac, then type the following command.
pipx install poetry
Basic Usage
Create a new poetry project:
poetry new poetry-demoAdd a package:
poetry add package-nameInitialising an existing project:
cd project-directory
poetry initActivate a poetry environment:
poetry shellDeactivate an environment:
exit or deactivateInstall defined dependencies:
poetry install