Cookiecutter template for a Python package. Powered by Poetry, GitHub actions, and MkDocs-Material.
This template has the following features:
pytest
: Unit and coverage testingflake8
and pylint
: Python style checksblack
: Auto-formatted codemypy
: Type checkingPoetry
: Depedency managemnt and packagingGitHub Actions
: Automated CI checks, auto-release to PyPi, and automated version bumping (no more Travis needed)MkDocs-Material
: Auto-publish documentation to it's own webpageInstall the latest Cookiecutter if you haven't installed it yet (this requires
Cookiecutter 1.4.0
or higher):
$ pip install -U cookiecutter>=1.4.0
Generate a Python package project:
$ cookiecutter https://github.com/mgancita/cookiecutter-pypackage.git
Further Information about how to use this template could be found in the official documentation