This is a small template repository for creating python projects with a modern toolchain. The repository includes support for the following tools:
- poetry - package management and build system
- pytest - unit tests
- black - code linting
# Install poetry
pip3 install --user poetry
# Set the Python version
poetry env use <python_version>
# Validate the environment configuration
poetry env info
# Install dependencies
poetry install
# Build the project
poetry build
# Add new packages
poetry add <package-name>
poetry run pytest
poetry env info
poetry env remove
poetry shell
poetry remove <package>