Skip to main content

Build Status codecov

Lefthook

The fastest polyglot Git hooks manager out there

A Git hooks manager for Node.js, Ruby and many other types of projects.

  • Fast. It is written in Go. Can run commands in parallel.
  • Powerful. It allows to control execution and files you pass to your commands.
  • Simple. It is single dependency-free binary which can work in any environment.

📖 Read the introduction post

Sponsored by Evil Martians

Install

pip install lefthook

Usage

Configure your hooks, install them once and forget about it: rely on the magic underneath.

TL;DR

# Configure your hooks
vim lefthook.yml

# Install them to the git project
lefthook install

# Enjoy your work with git
git add -A && git commit -m '...'

More details

  • Configuration for lefthook.yml config options.
  • Usage for lefthook CLI options, supported ENVs, and usage tips.
  • Discussions for questions, ideas, suggestions.

Metadata

Release files for lefthook 2.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for lefthook 2.2.4
File Actions
lefthook-2.2.4-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for lefthook-2.2.4-py3-none-win_arm64.whl
lefthook-2.2.4-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for lefthook-2.2.4-py3-none-win_amd64.whl
lefthook-2.2.4-py3-none-manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl Python 3 none Linux musl 1.1+ x86-64, Linux glibc 2.17+ x86-64 Details for lefthook-2.2.4-py3-none-manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl
lefthook-2.2.4-py3-none-manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64, Linux musl 1.1+ ARM64 Details for lefthook-2.2.4-py3-none-manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl
lefthook-2.2.4-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for lefthook-2.2.4-py3-none-macosx_11_0_arm64.whl
lefthook-2.2.4-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details for lefthook-2.2.4-py3-none-macosx_10_15_x86_64.whl

Total release size: 31.2 MB

Release files / lefthook-2.2.4-py3-none-win_arm64.whl

Download URL lefthook-2.2.4-py3-none-win_arm64.whl
Size 4.9 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
d820a36ad3b07b224f37a3882b7fcfa39bee1718b25f52d25240ec99b92e981d
BLAKE2b-256 checksum
How to use checksums
0e9eee0cbb7cf50af1fc7ed749304368e60922467d70d09a7e709e9bd870aac5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / lefthook-2.2.4-py3-none-win_amd64.whl

Download URL lefthook-2.2.4-py3-none-win_amd64.whl
Size 5.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
ec821b01d1f16670d92d683d3af1a6c3e9d82a12e4891c5c0b292f4880d5c7ae
BLAKE2b-256 checksum
How to use checksums
be4ae750fc3ba2d2e425654cf88c057afcb184e98974fc7851bc2a72376d4d64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / lefthook-2.2.4-py3-none-manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl

Download URL lefthook-2.2.4-py3-none-manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl
Size 5.4 MB
Tags Linux glibc 2.17+ x86-64 Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
4f2d3d86be34d7aea02cd31ffb7c000454dedf59aa349197d5092d3299ad2570
BLAKE2b-256 checksum
How to use checksums
68dc2bbebb0be3c91cd13d00f3725310a28fa33aecfebef876cd8b7828063279
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / lefthook-2.2.4-py3-none-manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl

Download URL lefthook-2.2.4-py3-none-manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl
Size 4.8 MB
Tags Linux glibc 2.17+ ARM64 Linux musl 1.1+ ARM64 Python 3
SHA-256 checksum
How to use checksums
2efbdd2749d6b95d1b30a5ac926dee85d89626c4b253b088d1ce60b9e138996d
BLAKE2b-256 checksum
How to use checksums
9a9ed4688d1ca0c120922160fbfcc6c67f5811d70ef26daf938b34bcf57219a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / lefthook-2.2.4-py3-none-macosx_11_0_arm64.whl

Download URL lefthook-2.2.4-py3-none-macosx_11_0_arm64.whl
Size 5.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7638524614a18fd85d7f081e632e474ba511e83e4adcf0bf2e1c0878595e4c26
BLAKE2b-256 checksum
How to use checksums
a2db1ae0f28ab1c607dbe20ad5275a9ca2a0c3d83f186c8d23824821641a0886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / lefthook-2.2.4-py3-none-macosx_10_15_x86_64.whl

Download URL lefthook-2.2.4-py3-none-macosx_10_15_x86_64.whl
Size 5.5 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
3d50e8c0b087aa9b08827d20fab80f31558cce9aff0e2c616a6944b50d1fe0bb
BLAKE2b-256 checksum
How to use checksums
f778053e16370ee5bef5c1ea9f6aca861b3e32dc28b6e25ec123b586671bb4a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for lefthook 2.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.2.4 This release

6 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page