pattern

Pattern - A modern, opinionated, cookiecutter template for your next Python project.

pythontemplateboilerplatecookiecutteruv

Preview

pattern preview

Overview

Pattern is a cookiecutter template that generates a new Python project with pre-configured modern tooling including UV for package management, Ruff for linting and formatting, Pytest for testing and GitHub Actions for CI/CD. It provides optional setup choices for additional tools like type checking, documentation generation, Docker support and pre-commit hooks, allowing developers to quickly establish a well-structured Python project foundation with sensible defaults.

Features

uv-package-managerruff-linter-formattertype-checkingpytest-testingtest-coveragemulti-environment-testingtask-runnerdoc-generationpypi-publishinggithub-templatespre-commit-hooksdocker-supportvscode-integrationsemantic-pull-requestscruft-supportchangelog-templatecode-of-conduct-templatecontributing-guide-template

Feature Flags

blogemailstestingcidockerdocumentationpackagePublishingdependencyManagementcodeQualitypreCommitHooks

Recommended Use Cases

python-package-developmentopen-source-projectslibrary-creationcli-tools

Frontend

None

Backend

python

Auth Providers

None

Deployment Targets

dockergithub-pagespypi

Payment Providers

None

Quick Facts

โญ Stars
93
๐Ÿด Forks
5
๐Ÿงพ License
mit
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2025-07-18T00:53:33Z

Stack

Language
python
Testing
pytest, nox
Monitoring
dependabot
CI
github-actions

Data Layer

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
No
CI
github-actions

Pricing

Classification
free
Selected
โ€”
Notes
Open source template under MIT license
Get Started with this Boilerplate