Cookiecutter template for a Python package.
- Uses
poetry
for dependency management and packaging. - Uses
pre-commit
hooks. - Deploys
pdoc
documentation via Github Pages. - Can be configured with a single call of
make
. - Strikes a balance between complexity and simplicity, tailored towards data scientists.
Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.4.0 or higher):
pip install -U cookiecutter
Generate a Python package project:
cookiecutter https://github.com/thomascamminady/cookiecutter-pypackage
Create a remote repository with the specified name and enable Github Actions as the deployment method for Github Pages.
Change into the new project folder and run:
make
And you're done!
Note that for this to work, you must not be in an active poetry
environment.
- GitHub repo: https://github.com/thomascamminady/cookiecutter-pypackage
- Forked from: https://github.com/audreyfeldroy/cookiecutter-pypackage
- Free software: BSD license