Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1.2 KB

README.rst

File metadata and controls

45 lines (27 loc) · 1.2 KB

Cookiecutter PyPackage

Cookiecutter template for a Python package.

Features

  • 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.

Development

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.