compare
pre-commit vs prek
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | pre-commit | prek |
|---|---|---|
| Language | Python | Rust |
| Licence | MIT | MIT |
| Stars | 16k | 8.8k |
| Latest | v4.7.0 | v0.5.11 |
| Last push | 2026-11-09 | 2026-11-23 |
| Release cadence | about 77 days between releases | about 7 days between releases |
| Active contributors | 2 commit authors on the default branch in the last 90 days | 13 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
prek replaces pre-commit. Alternatives to pre-commit →
Drop-inReads .pre-commit-config.yaml and runs the same hooks, reimplemented in Rust.
pre-commit
unsigned The latest release, v4.7.0, carries no signature GitHub could verify.
Loading the security report
prek
✓ signed The latest release, v0.5.11, carries a signature GitHub verified.
Loading the security report