Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sgraaf/cookiecutter-python-package

Open more actions menu

Repository files navigation

cookiecutter-python-package

Supported Python Versions Ruff Checked with mypy pyrefly ty prek uv

A cookiecutter template for creating a new Python package.

See https://github.com/sgraaf/cookiecutter-python-package-demo for a demo of this template.

Usage

cookiecutter gh:sgraaf/cookiecutter-python-package

Features

  • Linting with autofix (i.e. removing unused imports, detecting code smells and Python syntax upgrades) with Ruff
  • Code formatting with Ruff, Mdformat and Prettier
  • Static type-checking with mypy, Pyrefly and ty
  • Checks and fixes before every commit with prek
  • Testing with pytest
  • Extremely fast Python package and project management with uv
  • Continuous Integration with GitHub Actions
  • Automated version updates for GitHub Actions with Dependabot
  • Documentation with Sphinx, MyST and Read the Docs, using the Furo theme
  • Automated release builds and uploads to PyPI

This template supports Python 3.10, 3.11, 3.12, 3.13 and 3.14.

About

A cookiecutter template for creating a new Python package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.