Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Pre Commit Python Packages

Python packages with the GitHub topic pre-commit. Sorted by monthly downloads, with stars and forks.
pre-commit
pre-commit

A framework for managing and maintaining multi-language pre-commit hooks.

151.9M 16K 1K
j178
prek

⚡ A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.

12.8M 9K 267
djlint
djlint

HTML template formatter and linter for Django, Jinja, Twig, Nunjucks, Handlebars, Mustache, Liquid, Go templates, Angular, Tera, Askama and Mako. Formats markup and template syntax together, and lints for accessibility, correctness and style. CLI, language server (LSP), pre-commit hook, VS Code and Zed extensions, and plugins for AI coding agents.

4.9M 966 128
hukkin
mdformat

CommonMark compliant Markdown formatter

4.6M 831 69
python-jsonschema
check-jsonschema

A CLI and set of pre-commit hooks for jsonschema validation with built-in support for GitHub Workflows, Renovate, Azure Pipelines, and more!

4.3M 355 74
pre-commit
pre-commit-hooks

Some out-of-the-box hooks for pre-commit

2.3M 7K 800
asottile
pyupgrade

A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.

2M 4K 230
MaxWinterstein
shfmt-py

The shfmt shell script formatter as a pip-installable binary, plus a ready-made pre-commit hook. No Go toolchain required.

996K 23 3
nbQA-dev
nbqa

Run ruff, isort, pyupgrade, mypy, pylint, flake8, and more on Jupyter Notebooks

931K 1K 55
tox-dev
pre-commit-uv

Run pre-commit with uv

774K 208 7
PabloRMira
sql-formatter

A Python based SQL formatter

641K 46 11
executablebooks
mdformat-tables

An mdformat plugin for rendering tables

566K 19 2
compilerla
conventional-pre-commit

A pre-commit hook that checks commit messages for Conventional Commits formatting

352K 564 75
sarj-ai
code-standards

Deterministic standards for Python, TypeScript, SQL, IaC, and repository policy.

244K 8 1
sarj-ai
sarj-standards

Deterministic standards for Python, TypeScript, SQL, IaC, and repository policy.

196K 8 1
asottile
yesqa

Automatically remove unnecessary `# noqa` comments

193K 263 10
shenxianpeng
hadolint-py

hadolint pre-commit hook

181K 1 0
opensource-nepal
commitlint

Lint Conventional Commit message on GitHub Actions and pre-commit.

166K 38 13
asottile
reorder-python-imports

Rewrites source to reorder python imports

165K 780 63
sarj-ai
sarj-python-lint

Deterministic standards for Python, TypeScript, SQL, IaC, and repository policy.

126K 8 1
asottile
add-trailing-comma

A tool (and pre-commit hook) to automatically add trailing commas to calls and literals.

124K 373 29
asottile
blacken-docs

Run `black` on python code blocks in documentation files

121K 679 48
commit-check
commit-check

Commit policy as code for teams and AI agents: commit messages, branch names, authors, sign-offs, tags, files and AI attribution, checked from one config file.

83K 102 19
TurtleTech-ehf
snapper-fmt

Format-aware semantic line break formatter. One sentence per line for Org, LaTeX, Markdown, RST, and plaintext.

69K 13 2
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology