Skip to content

Python

Environment

The python environment and packages is managed by poetry.

To access:

poetry shell

To exit:

exit

Dependencies installation

Some packages are only required during the development process and should not be deployed to production e.g. mkdocs. While others i.e. ansible are required for deployment to production.

poetry install -D package-x 
poetry install package-y

Note

See poetry documentation for more details.