Comparison
pre-commit vs prek
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
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.
$
pip install pre-commitA fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.
Actively maintained. Last release 4 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install prekIn short
- pre-commit is the most used: 155M downloads a month, 12× more than prek.
- Maintenance is comparable: prek 84, pre-commit 77 on Pythie’s Index.
- prek is the newcomer: first released Aug 2025.
- Safe default for a new project: pre-commit.
Side by side
| Metric | pre-commit | prek |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | Pythie’s Index: 84 |
| Verdict | Actively maintained | Actively maintained |
| Downloads / month | 155M | 13.1M |
| Downloads, month over month | +1% | -21% |
| GitHub stars | 15.7K | 8.9K |
| Stars, last 7 days | – | – |
| Direct dependents | 923 | 11 |
| Last release | Oct 12, 2026 | Nov 26, 2026 |
| Releases, 12 months | 5 | 51 |
| Weeks with commits | 10 / 26 | 26 / 26 |
| Recent contributors | 5 | 10 |
| First release | Jun 2014 | Aug 2025 |
| Python versions | – | – |
| License | MIT | MIT |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.