My cookiecutter repo for generating python projects using uv for package management.
-
uv for package management
-
Pre-commit hooks with pre-commit
-
Linting and formatting ruff using the following rules:
- pycodestyle
- pyflakes
- pylint
- isort
- flake8-bugbear
- flake8-simplify
- flake8-comprehensions
- ruff
-
Static type checking with mypy
-
Publishing to Pypi
-
Testing with pytest
-
Test coverage with codecov
-
Documentation with MkDocs
-
Containerization with Docker
Make sure the cookiecutter package is installed:
pip install cookiecutterNext, install the template directly from this repo:
cookiecutter https://github.com/kpeez/uv-cookie.gitFinally, install the environment and the pre-commit hooks with
make installThis was inspired by the cookiecutter-poetry repo by fpgmaas. I made some modifications to fit my personal use. Please check out fpgmaas' cookiecutter-poetry for a more poetry-based comprehensive cookiecutter.