Skip to content

GenessyX/cookiecutter-polylith-uv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cookiecutter-polylith-uv

Cookiecutter template with set up polylith repository.

Usage

pipx run cookiecutter gh:genessyx/cookiecutter-polylith-uv

Answer the questions and ready to go.

What is included

  1. Polylith repository with set up components, bases and projects directories using uv package manager.
  2. Initialized git repository with set up user.name and user.email configuration.
  3. mypy for type checking with support for namespace packages (polylith structure).
  4. pyright or basedpyright (by default) set up to work with polylith-style repository.
  5. ruff with almost all rules for static code analysis.
  6. Installed pre-commit hooks:
  7. License included:
    • GPL-3.0 (default)
    • MIT
    • Proprietary
  8. Testing and coverage with pytest and coverage.
  9. Task runner poethepoet with set up tasks for coverage (html) and poly check.
  10. Optionally set up sample project named api with Dockerfile and pyproject.toml set up.
  11. Optionally set up persistence component (sqlalchemy, alembic) + set up alembic directory in sample project api.

About

Cookiecutter template for polylith repository with uv, mypy, ruff, pre-commit, commitlint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors