RomainBrault / python-whiteprint

Generate easily Python projects with (opinionated) best practices.

Home Page:https://python-whiteprint.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Whiteprint

PyPI Version Documentation Tests codecov Code style: black Type checked with mypy pre-commit enabled License Contributor Covenant

Cookiecutter to create a Python package using modern Python testing, linting, and type checking tooling.

Yet another Python Project cookiecutter?

Yes.

This project build upon the excellents cookiecutter-hypermodern-python by @cjolowicz as well as python-blueprint by @johnthagen.

You might want to check these project as they might be more suited to your needs.

Differences compared to cookiecutter-hypermodern-python

  • Use copier instead of the unmainted cookiecutter,
  • tweaks in the generated project (non exhaustively: CLI with Typer instead of Click, dynamic type checking with beartype, auto-API documentation),
  • manage licenses with Reuse,
  • more Github Actions and Community Standards and Community Standards,
  • Ruff instead of Flake8 to fix a maximum of code smells,
  • strict linting with pylint,
  • OCI Container images,
  • basic GitLab support,
  • Latex template with python integration.

About

Generate easily Python projects with (opinionated) best practices.

https://python-whiteprint.readthedocs.io/en/latest/

License:MIT License


Languages

Language:Python 89.7%Language:Dockerfile 8.8%Language:Jinja 1.4%