Copier template for pure Python libraries.
As simple as possible. No magic.
- uv for project management.
- pytest for testing.
- tox for automation of test runners and other stuff.
- Sphinx for documentation
- GitHub Actions for continuous integration and publishing to PyPI.
- Read the Docs for continuous documentation.
- mypy for type checks.
- ruff for style checks and automatic Python code formatting.
- pre-commit for optional automation of style checks.
- PDM as build backend.
Install copier
:
uv tool install copier
Generate a Python package:
copier copy gh:astrojuanlu/copier-pylib path/to/destination