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

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.2-py3-none-win_arm64.whl (4.8 MB view details)

Uploaded Python 3Windows ARM64

lefthook-2.1.2-py3-none-win_amd64.whl (5.4 MB view details)

Uploaded Python 3Windows x86-64

lefthook-2.1.2-py3-none-manylinux_2_17_x86_64.whl (5.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

lefthook-2.1.2-py3-none-macosx_11_0_arm64.whl (4.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

lefthook-2.1.2-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.2-py3-none-win_arm64.whl.

File metadata

  • Download URL: lefthook-2.1.2-py3-none-win_arm64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","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.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 be5b1dc8bfe68e2df50984fe7b4927e21acba7828b721a0a6537243cd4d599a4
MD5 f7de4e514b78da4d72ac9292c15d9ee0
BLAKE2b-256 977b130e43fc04fd9620d8685eb892cec38088ca787e3e573de5dc2f16d25f46

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6d09a71b2f6495f984a6e922dfe70b8d28956aec1c65173e46e54db37c79b334
MD5 5060bbf7e9792496c3e207fe83da3b8f
BLAKE2b-256 cb2d37a6b471efd35d42c28682720e8444bc65f418b110b50164d935be3b3fd5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.2-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","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.2-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 acf7ac51a0d229e99d3934dab46d149fbb8037874c9b9e04624008763395d876
MD5 8f09a4435fc585ada5b74d082e7f477b
BLAKE2b-256 f273ce5ccc0702486c8aa6a022882d15f9d7e9c52f195c70a6d3ff9978018b90

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.2-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.7 {"installer":{"name":"uv","version":"0.10.7","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.2-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 c2ecd7d1782cf8faa582e9a348f06d61c8722352133c499cd38d0dc2e1a81351
MD5 1359c31ac5b630485a211f82ef5f74c3
BLAKE2b-256 d240dc325cabb2072687de3672c18d01d0135f7bc1de1d9d36613e6b36692b56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.2-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","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.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 65877aa9ed13cb517803759d96d8a18c3a1e7bfa01bacfe00de65f0118720449
MD5 e8198b6f2ca5c98e6ba6df95d446ea0d
BLAKE2b-256 2ceb78293dc162a42eb5a71b4fca2beaa3501233ab1eaf271c39ebb1e7f738fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.2-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.7 {"installer":{"name":"uv","version":"0.10.7","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.2-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 eff83082575e635827c12e8738a39c420c8621a6b81392399dbd90f4d8c28f09
MD5 f95f6e658c4170442e653d522b9decce
BLAKE2b-256 4c273bfee494992d5de229dcec5f8a196eb946e1252e784ba034ac2835dd0201

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