Repository for
cookiecutter
template used for setting up a minimal Python package
Repository for holding the cookiecutter template for creating a minimal Python package.
- π Sphinx documentation
- Auto API documentation using
sphinx-apidoc
- Notebook support using
nbsphinx
- Auto API documentation using
- 𧱠Makefile for automating steps e.g. building docs
- β
Example tests using
unittest
layout β οΈ Pre-commit hooks setup- π Custom
pylintrc
file based on Google Python Style guide - π
CHANGELOG.md
file - π
pyproject.toml
file for setting up tools and package - π
Modern
pip
PEP517 setup installer
- Python 3.8 or newer
cookiecutter
- Make
cruft
(Recommended)
Initialise the template using the cookiecutter
command:
$ cookiecutter https://www.github.com/ismailuddin/cookiecutter-python-package-template
cruft
allows your projects to keep upto date with the template repository.
For new projects, run the following:
$ cruft create https://www.github.com/ismailuddin/cookiecutter-python-package-template
For existing projects initialised with cookiecutter
, run the following:
$ cruft link https://www.github.com/ismailuddin/cookiecutter-python-package-template
To update your project to the latest version of it's parent template:
$ cruft update