Skip to content

Cookiecutter template for a poetry-managed Python package.

License

Notifications You must be signed in to change notification settings

nathanhhughes/cookiecutter-pypackage

This branch is 4 commits ahead of, 19 commits behind briggySmalls/cookiecutter-pypackage:master.

Folders and files

NameName
Last commit message
Last commit date
Jun 4, 2016
May 29, 2020
Feb 12, 2020
Sep 20, 2020
Sep 20, 2020
May 16, 2020
Jun 8, 2017
Feb 12, 2020
Feb 12, 2020
Feb 12, 2020
Sep 20, 2020
Sep 20, 2020
May 16, 2020
Sep 20, 2020
Jun 2, 2016
May 18, 2020
Sep 20, 2020

Repository files navigation

Cookiecutter PyPackage

Cookiecutter template for a Python package, forked from briggySmalls/cookiecutter-pypackage.

Features

This template is based on `_briggySmalls/cookiecutter-pypackage`_, but makes a few changes:

  • Linting only provided by flake8 [executed by Tox]
  • Formatting provided by black and isort [checked by Tox]
  • isort and flake8 configuration to deconflict from black
  • Napoleon sphinx extension automatically added (not optional)
  • ReadTheDocs sphinx format is the default style for sphinx
  • No Travis or Appveyor support for this repo
  • No travis or pyup support in the template

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

Then:

  • Create a repo and put it there.
  • Install the dev requirements into a virtualenv. (poetry install)
  • Release your package by pushing a new tag to master.
  • Get your code on! Add your package dependencies as you go, locking them into your virtual environment with poetry add.

About

Cookiecutter template for a poetry-managed Python package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%