My personal Copier template for Python projects.
- Modern Python tooling with uv for dependency management and environment setup
- Pre-configured
pyproject.toml
- Automated workflows - just commands for testing, linting, and building
- Code quality tools: ruff for linting and formatting, pre-commit hooks
- Testing setup with pytest and Hatch for cross-version testing
- GitHub Actions integration: optional workflows for linting, testing and PyPI publishing
- Licenses from choosealicense.com
- Basic
README.md
with badges and installation instructions
- Python 3.8+
- Copier (
pip install copier copier_templates_extensions
) - Git
Create a new Python project:
copier copy --trust "https://github.com/zigai/python-project-template.git" /path/to/your/project
or
copier copy --trust "gh:zigai/python-project-template" /path/to/your/project
your-project/
├── your_package/
│ └── __init__.py
├── tests/
│ └── test_your_package.py
├── .github/workflows/
│ └── publish.yml
├── pyproject.toml
├── README.md
├── CONTRIBUTING.md
├── Justfile
├── LICENSE
└── .gitignore
This template is released under the MIT License.