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.3

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.3
File Actions
lefthook-2.2.3-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for lefthook-2.2.3-py3-none-win_arm64.whl
lefthook-2.2.3-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for lefthook-2.2.3-py3-none-win_amd64.whl
lefthook-2.2.3-py3-none-manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64, Linux musl 1.1+ x86-64 Details for lefthook-2.2.3-py3-none-manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl
lefthook-2.2.3-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.3-py3-none-manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl
lefthook-2.2.3-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for lefthook-2.2.3-py3-none-macosx_11_0_arm64.whl
lefthook-2.2.3-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details for lefthook-2.2.3-py3-none-macosx_10_15_x86_64.whl

Total release size: 31.2 MB

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

Download URL lefthook-2.2.3-py3-none-win_arm64.whl
Size 4.9 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
4e6c6033b5c80f1a51b6bb576e2b9b09375bf18c5dec1ac8e8df562b9fcd0ba1
BLAKE2b-256 checksum
How to use checksums
377b0003a65d25c245f679b1e2f3c08ead42f9c7489ca24ab1f29c65c4885ec4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.3-py3-none-win_amd64.whl

Download URL lefthook-2.2.3-py3-none-win_amd64.whl
Size 5.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
732606867c3a889b4ef56e23d7557e641a953c3c53b1d8ecd27eeabe165ac58f
BLAKE2b-256 checksum
How to use checksums
fe7ae570abb66c3a787b4a35e6fa590565d8b56ea1876741b19a7ea9d6666338
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.3-py3-none-manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl

Download URL lefthook-2.2.3-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
cc576dde429bf832c72df8e669d0421c0df19aceaa5504ff28646fb2d0dc7aed
BLAKE2b-256 checksum
How to use checksums
947ba76da4e9f3193274a832746986ce3905a53e413cdda52542da3c08dd5c92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.3-py3-none-manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl

Download URL lefthook-2.2.3-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
8e6ad7ff0572864cbf09a0c6291037a54f07f8902c0e7a01584a378c5671eade
BLAKE2b-256 checksum
How to use checksums
37939878dd40c2684c83b3d03fe8602035ae1626aba1b65138411c69b507f4a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.3-py3-none-macosx_11_0_arm64.whl

Download URL lefthook-2.2.3-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
790604187e2bf0ea3006127d3364e2f095acb4accfe1f5332c3a4bbabc8f74a5
BLAKE2b-256 checksum
How to use checksums
234640c6c22740a726a91463b45f448056f37986f0d9680bf4326d983eddc523
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.3-py3-none-macosx_10_15_x86_64.whl

Download URL lefthook-2.2.3-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
5c917d3c06db8a429859a835620269d1fa8f49dfb25bf94125f63816223045f3
BLAKE2b-256 checksum
How to use checksums
77066de47ba849ad177ce8662aa07cd98cb914b39c45432269dad1bd4c228546
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.3

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.3 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