Skip to content

Personal Python project template with Cookiecutter

Notifications You must be signed in to change notification settings

kencx/python-template

Repository files navigation

python-template

Cookiecutter template for quick setup of Python projects.

Included

  • Package management with pip-tools
  • pre-commit hooks
  • Linting with flake8, black, isort
  • Type Checking with mypy
  • Tests with pytest
  • CI with Github Actions

Usage

Install cookiecutter with pipx

$ pipx install cookiecutter

Set up a new project with this template

$ cookiecutter git+ssh://git@github.com/kencx/python-template.git

# pyproject.toml branch
$ cookiecutter git+ssh://git@github.com/kencx/python-template.git -c pyproject.toml

Todo

  • Consider [nox](https://nox.thea.codes/en/stable/) or tox
  • Add Build workflow

About

Personal Python project template with Cookiecutter

Topics

Resources

Stars

Watchers

Forks