Cookiecutter template for a Python package based on pep 621, pyproject.toml, and some other python nice-to-haves. Derived directly from cookiecutter-hypermodern-python.
β¨πβ¨ Read the full documentation
cookiecutter gh:maxsu/cookiecutter-python-standard
- Packaging with [Pip]
- Automated dependency updates with Dependabot
- Continuous integration with GitHub Actions
- Automated release notes with Release Drafter
- Automated uploads to PyPI
- Documentation with Read the Docs
- Generate API documentation with autodoc and napoleon
- Generate command-line reference with sphinx-click
- Testing with pytest
- Code coverage with Coverage.py
- Coverage reporting with Codecov
- Check documentation examples with xdoctest
- Code formatting with Black
- Import sorting with isort
- Linting with pre-commit and Flake8
- Automated Python syntax upgrades with pyupgrade
- Manage project labels with GitHub Labeler
- Command-line interface with Click
The template supports Python 3.8 - 3.12.