Skip to main content

Git hooks manager. Fast, powerful, simple.

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

2.1.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

lefthook-2.1.3-py3-none-win_arm64.whl (4.9 MB view details)

Uploaded Python 3Windows ARM64

lefthook-2.1.3-py3-none-win_amd64.whl (5.5 MB view details)

Uploaded Python 3Windows x86-64

lefthook-2.1.3-py3-none-manylinux_2_17_x86_64.whl (5.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

lefthook-2.1.3-py3-none-manylinux_2_17_aarch64.whl (4.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

lefthook-2.1.3-py3-none-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

lefthook-2.1.3-py3-none-macosx_10_15_x86_64.whl (5.4 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

Details for the file lefthook-2.1.3-py3-none-win_arm64.whl.

File metadata

  • Download URL: lefthook-2.1.3-py3-none-win_arm64.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lefthook-2.1.3-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 1316aa7c5baa7435925a1b6f09a56e0581dc59e627831693c5c67d33c490b195
MD5 eae7fbb1346a9715eafc3789bf217865
BLAKE2b-256 440bf2bd48462561cc999297db4fb84f7bee6a0287248e3df8a52e3b74791a05

See more details on using hashes here.

File details

Details for the file lefthook-2.1.3-py3-none-win_amd64.whl.

File metadata

  • Download URL: lefthook-2.1.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lefthook-2.1.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 889ab8a5b3e2cb830cb65db3e53bf0d157f759d041fb15cd751644afc7834c8a
MD5 a0c7093b67e3676d13a69a7502a36e33
BLAKE2b-256 006b8c5df6cc06c11ec22f3c589cc1b4b76d4e87c3f66df54a45c0db0b1e47f5

See more details on using hashes here.

File details

Details for the file lefthook-2.1.3-py3-none-manylinux_2_17_x86_64.whl.

File metadata

  • Download URL: lefthook-2.1.3-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lefthook-2.1.3-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 4624342d7b63fae98704eca37775426ad93da4aaa0279412b01b9925cad67d56
MD5 32e631608dcdc397a2db84ba77024516
BLAKE2b-256 ab87c9348f6e4d1942597913c683305af2ffcc3fbf802e94d56bfde4a3b28ad5

See more details on using hashes here.

File details

Details for the file lefthook-2.1.3-py3-none-manylinux_2_17_aarch64.whl.

File metadata

  • Download URL: lefthook-2.1.3-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lefthook-2.1.3-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 11df1237019ab4d753ad6b013f0ea2e3c6e8e9c2b675331ff041222dc6379109
MD5 449538aff2482ca8b204961f50f7a0a5
BLAKE2b-256 165723f09079e4746b5aa16421dc23418c365ee13aa4a2d9fea8ee2418727c7b

See more details on using hashes here.

File details

Details for the file lefthook-2.1.3-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: lefthook-2.1.3-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lefthook-2.1.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a6f444e56b6b97da0bb1af4bc408333e645a2a5a66e5f1779962d3ed2c34553f
MD5 85b35274f147351ab3471725baa31d41
BLAKE2b-256 06a0759d190ad136001450a206e95693208ffdae24dac0fa11d13ffc38a9610b

See more details on using hashes here.

File details

Details for the file lefthook-2.1.3-py3-none-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: lefthook-2.1.3-py3-none-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: Python 3, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lefthook-2.1.3-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c92250e553947e350cc7423aed641ca624529ab699cf2931ce9e892de80f9d09
MD5 1632d936ec11bed9f68fbdfa6c4d1648
BLAKE2b-256 dd35f982ba5a34005e783dcfaa54c82716f27480ffa749862c7664d242fc60b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page