A Copier template for a Python package.
- Testing with pytest
- Formatting, linting and import sorting with Ruff
- Static typing with mypy
- Git hooks that run all the above with pre-commit
- Deployment ready with Docker
- Continuous Integration with GitHub Actions
- Architecture decisions documented in an Architecture Decision Record
To use this template, first install copier:
pip install pipx
pipx install copier
Once copier is installed, generate a new python project with:
copier copy https://github.com/Debakel/python-template.git --trust foo