Skip to content

barebones Python cookiecutter template

License

Notifications You must be signed in to change notification settings

tlgs/template.py

Repository files navigation

template.py

A barebones cookiecutter template for Python projects.

  • environment management with direnv
  • automatic linting/formatting with pre-commit and Ruff
  • minimal pyproject.toml configuration
  • support for src-layout and single-module Python distributables, as well as a bare repository

Not all projects require type checking, tests, Sphinx documentation, or default CI pipelines.

Usage

cookiecutter gh:tlgs/template.py

References

  1. direnv -- Python wiki
  2. PyPA -- pyproject.toml specification
  3. PyPA -- Writing your pyproject.toml
  4. setuptools -- Popular project layouts

About

barebones Python cookiecutter template

Topics

Resources

License

Stars

Watchers

Forks

Languages