skillfed

prek

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

prek Permissive license MIT Active 8,253 v0.4.13 released

Install

prek on PyPI

pip

pip install prek

uv

uv add prek

poetry

poetry add prek

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.8)
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: prek-0.4.13-py3-none-linux_armv6l.whl; prek-0.4.13-py3-none-macosx_10_12_x86_64.whl; prek-0.4.13-py3-none-macosx_11_0_arm64.whl; prek-0.4.13-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl; prek-0.4.13-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; prek-0.4.13-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl; prek-0.4.13-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl; prek-0.4.13-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; prek-0.4.13-py3-none-manylinux_2_28_aarch64.whl; prek-0.4.13-py3-none-manylinux_2_31_riscv64.whl; prek-0.4.13-py3-none-musllinux_1_1_armv7l.whl; prek-0.4.13-py3-none-musllinux_1_1_i686.whl; prek-0.4.13-py3-none-musllinux_1_1_x86_64.whl; prek-0.4.13-py3-none-win32.whl; prek-0.4.13-py3-none-win_amd64.whl; prek-0.4.13-py3-none-win_arm64.whl

Keywords: pre-commit, git, hooks

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: RustTopic :: Software Development :: Quality Assurance

About prek

from the package's own PyPI description — quoted content, verbatim

<div align="center">

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/j178/prek/master/docs/assets/logo-dark.png"> <img width="600" alt="prek" src="https://raw.githubusercontent.com/j178/prek/master/docs/assets/logo.png" /> </picture>

<a href="https://trendshift.io/repositories/14578?utm_source=repository-badge&amp;utm_medium=badge&amp;utm_campaign=badge-repository-14578" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/14578" alt="j178%2Fprek | Trendshift" width="250" height="55"/></a>

prek (image) PyPI version (image) codecov (image) [![PyPI...

Read as markdown · JSON record · Source repository · Homepage

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

prek is a fast Git hook manager written in Rust that runs code quality checks before commits, on demand, or in CI. It is fully compatible with pre-commit configurations and works as a drop-in replacement with no runtime dependencies.

Medium install friction due to platform-specific binary wheels across multiple architectures. However, the package is actively maintained with a recent release (3 days old) and zero runtime dependencies, making installation straightforward once the correct wheel is selected.

MIT license is permissive and places minimal restrictions on use, modification, and distribution—suitable for both commercial and open-source projects without copyleft obligations.

Usage

pip install prek
prek run  # Execute all configured hooks
prek install  # Install Git hooks into .git/hooks

Requires Python 3.8 or later; the binary itself has no runtime dependencies but must be installed via pip or another package manager.

Verdict: prek is a production-ready, actively maintained Git hook manager that trades pre-commit's Python ecosystem for a single Rust binary with no runtime overhead. MIT-licensed and in the top 1000 PyPI packages, it carries zero known vulnerabilities and broad platform support, making it a solid drop-in replacement for teams seeking faster hook execution.

Needs verification

  • Whether 'medium' install friction reflects actual user experience across all supported platforms or is conservative.
  • Compatibility depth with pre-commit ecosystem—whether all pre-commit hooks work without modification.
  • Performance benchmarks claimed in the description versus pre-commit in real-world scenarios.
git hooks managerpre-commit alternativecode quality automationrust git hookspre-commit replacementci cd hookslint and format hooks

Similar packages