Cookiecutter Modern PyPackage

https://github.com/fedejaure/cookiecutter-modern-pypackage/workflows/tests/badge.svgtests https://readthedocs.org/projects/cookiecutter-modern-pypackage/badge/Read the Docs https://pyup.io/repos/github/fedejaure/cookiecutter-modern-pypackage/shield.svgUpdates

Cookiecutter template for a modern Python package.

Features

Quickstart

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/fedejaure/cookiecutter-modern-pypackage.git

Then:

  • Create a repo and put it there.

  • Install the dev requirements into a virtualenv. (poetry install)

  • Install pre-commit hooks. (poetry run inv install_hooks)

  • Add the repo to your Read the Docs account + turn on the Read the Docs service hook.

  • Release your package by pushing a new tag to master.

  • Activate your project on pyup.io.

For more details, see the tutorial.

Credits

This cookiecutter was built for learning purpose and inspired by: