Pythie
CategoriesTrending
An open index of Python tools.Pythie’s IndexLegal noticePrivacyData: PyPI (package metadata; download statistics under CC BY 4.0, via ClickHouse), deps.dev (CC BY 4.0), GitHub, OSV.

pre-commit

4.7.0ActivePythie’s Index: 77

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

Actively maintained. Last release 7 weeks ago, commits in 10 of the last 26 weeks. A safe choice.

Linting & Code QualityDevOps & Infrastructure
$pip install pre-commit
pre-commit/pre-commitPyPI

build status pre-commit.ci status

pre-commit

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

For more information see: https://pre-commit.com/

Popularity

Downloads / month
155M
GitHub stars
15.7K
Downloads, last 7 days
34.7M-5%
Stars, last 7 days
–
Direct dependents
923
All dependents
1.3K

Pythie’s Index

How it works
77

Healthy

Maintenance, out of 100

  • Recent release

    last release 47 days ago

  • Commit activity

    10/26 weeks with commits

  • Release cadence

    5 releases in 12 months

  • Issues & PRs handled

    97% closed in the past year

  • Contributor spread

    5 authors in last 100 commits

  • OpenSSF Scorecard

    4.6/10

Commits, last 26 weeks43

Releases

Latest
4.7.0
Released
Oct 12, 2026
Releases, 12 months
5
First release
Jun 17, 2014

Compatibility

Requires Python
>=3.11
License
MIT (Permissive)

Keywords

gitpre-commitpythonlinterrefactoring

Alternatives

Use instead of pre-commit: tools that do the same job, closest first.

Compare with prek →Compare with lefthook →Compare all 3 →

  • prek0.5.12ActivePythie’s Index: 84

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

    Linting & Code QualityDevOps & Infrastructure8.9K13.1M/moReleased Nov 26, 2026
  • lefthook2.2.4ActivePythie’s Index: 86

    Git hooks manager. Fast, powerful, simple.

    DevOps & InfrastructureLinting & Code Quality9.1K716K/moReleased Nov 26, 2026

Works well with

Use together with pre-commit: extensions, drivers, servers and companion tools.

  • commitizenPythie’s Index: 90Python commitizen client tool3.8M downloads/mo
  • ansible-lintPythie’s Index: 88Checks playbooks for practices and behavior that could potentially be improved5.5M downloads/mo
  • pyupgradePythie’s Index: 66A tool to automatically upgrade syntax for newer versions.2.1M downloads/mo
  • pre-commit-hooksPythie’s Index: 45Some out-of-the-box hooks for pre-commit.2.4M downloads/mo
  • gitlintPythie’s Index: 18Git commit message linter written in python, checks your commit messages for style.717.6K downloads/mo
  • blacken-docsPythie’s Index: 47Run Black on Python code blocks in documentation files.123.5K downloads/mo