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.6k |
| Latest | v4.6.2 | v0.5.5 |
| Last push | 2026-10-06 | 2026-10-05 |
| Release cadence | about 58 days between releases | about 9 days between releases |
| Active contributors | 3 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.6.2, carries no signature GitHub could verify.
Loading the security report
prek
✓ signed The latest release, v0.5.5, carries a signature GitHub verified.
Loading the security report