Cookiecutter template with set up polylith repository.
pipx run cookiecutter gh:genessyx/cookiecutter-polylith-uvAnswer the questions and ready to go.
- Polylith repository with set up components, bases and projects directories using
uvpackage manager. - Initialized git repository with set up
user.nameanduser.emailconfiguration. mypyfor type checking with support for namespace packages (polylith structure).pyrightorbasedpyright(by default) set up to work with polylith-style repository.ruffwith almost all rules for static code analysis.- Installed
pre-commithooks:- Basic hooks.
- TOML formatter taplo-format.
ruffhook.mypyhook.commitlinthook set up with angular style commits.
- License included:
- GPL-3.0 (default)
- MIT
- Proprietary
- Testing and coverage with
pytestandcoverage. - Task runner
poethepoetwith set up tasks for coverage (html) and poly check. - Optionally set up sample project named
apiwithDockerfileandpyproject.tomlset up. - Optionally set up persistence component (
sqlalchemy,alembic) + set up alembic directory in sample projectapi.