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.
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.ymlconfig options. - Usage for lefthook CLI options, supported ENVs, and usage tips.
- Discussions for questions, ideas, suggestions.
Metadata
Release files for lefthook 2.1.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| lefthook-2.1.15-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details |
| lefthook-2.1.15-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| lefthook-2.1.15-py3-none-manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| lefthook-2.1.15-py3-none-manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| lefthook-2.1.15-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| lefthook-2.1.15-py3-none-macosx_10_15_x86_64.whl | Python 3 | none | macOS 10.15+ x86-64 | Details |
Total release size: 30.9 MB
Release files / lefthook-2.1.15-py3-none-win_arm64.whl
| Download URL | lefthook-2.1.15-py3-none-win_arm64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
7a2e172f31349b608ba8280e16059bb0cfead9c3950d6cf56021bf17476d0253
|
|
BLAKE2b-256 checksum How to use checksums |
d33dd94786abd14884d455d61386d88e0cda29f750ca4eba20445c57f2cf631c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / lefthook-2.1.15-py3-none-win_amd64.whl
| Download URL | lefthook-2.1.15-py3-none-win_amd64.whl |
|---|---|
| Size | 5.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
373f3c0f0dbd317d6320656ce83d7c62c3ef415bc93cf22454d27ed4c29bda26
|
|
BLAKE2b-256 checksum How to use checksums |
3dc5905c0aaa12f4100883e78758e3061af66e4ae9a9cf493f700d507e46f3ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / lefthook-2.1.15-py3-none-manylinux_2_17_x86_64.whl
| Download URL | lefthook-2.1.15-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 5.4 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
0b07e323797d49fdfaf7bdd71a5baf6d96e92c32d6428d62d402858698c576f6
|
|
BLAKE2b-256 checksum How to use checksums |
fb36c1e9460d89b21b2654bd9c54aa0f9a72431ea6a669d3d06b35302f33564e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / lefthook-2.1.15-py3-none-manylinux_2_17_aarch64.whl
| Download URL | lefthook-2.1.15-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
086be34413911f7f8c834c9ae825ee9f2e5e0e23a927119bede5f4cfb19d5626
|
|
BLAKE2b-256 checksum How to use checksums |
1e304cc44eaff98633b4b0fc167d94b56e46bcfead95afceae3210c7ab99d4e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / lefthook-2.1.15-py3-none-macosx_11_0_arm64.whl
| Download URL | lefthook-2.1.15-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 |
9b7a4e2187c16ea2e783c4de8220c0004c4a617e12475b8a52c4343fb976ac1b
|
|
BLAKE2b-256 checksum How to use checksums |
6dc29f9755ef552107e0e4420e263d5e3545dee3b612df8da9443ca07e6bb5e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / lefthook-2.1.15-py3-none-macosx_10_15_x86_64.whl
| Download URL | lefthook-2.1.15-py3-none-macosx_10_15_x86_64.whl |
|---|---|
| Size | 5.4 MB |
| Tags | Python 3 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
ff51e0c45e12dbf732fec88f33735bf3eafcaebcf57dec4e53f23c0f3874b06f
|
|
BLAKE2b-256 checksum How to use checksums |
88e157036314f79a1662ee3309a17c5b3ccd30bb049af0ca503648892507ce74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|