Skip to main content

Git hooks manager. Fast, powerful, simple.

Reason this release was yanked:

Not working

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

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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

lefthook-2.1.1-py3-none-manylinux_2_17_aarch64.whl (4.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

lefthook-2.1.1-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.1-py3-none-win_arm64.whl.

File metadata

  • Download URL: lefthook-2.1.1-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.2 {"installer":{"name":"uv","version":"0.10.2","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.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 af29fb39a468284712bdd8b9cd6b8615a7ff367ac796960e731db43398fe5d77
MD5 e41b5534d4f02c05eedb0383c4b00d94
BLAKE2b-256 6bb0a7ad888737e2a8b742f1f75d03c7bcf566d81fa44a52a9811892fd019d7d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.1-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.2 {"installer":{"name":"uv","version":"0.10.2","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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 cc6981df68cb8a0c3518634151dd0f3b5994f2fdd75d7959a43e6544dab54da2
MD5 30f031b68cf98921df7e97512db30592
BLAKE2b-256 a8fbe79616166bdf695851adc02e95df8c20a6f27c74a8214a3babdc50f05d0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.1-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.2 {"installer":{"name":"uv","version":"0.10.2","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.1-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 0a3ea478a4b0454a9e4f0e622915087ee57480955d32a94c4a4593fac9e38bb8
MD5 be135e4c8c40830c22647acd5e4a8b3a
BLAKE2b-256 32d7d3f80278a3a7f4fccda99aad388038f680b6ef9bf5261e6439f56052d6c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.1-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.1-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 5345b90e00dff0e0b0cb62156dde394f9e2265be94b74e8a0b7e12c5c15b7010
MD5 6c9d0f2ea2015eb8ad38872e9548cbbe
BLAKE2b-256 3f2a4355115841dfc5349e59f166e701100b960680147a70bea7cad51e25f1df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.1-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.2 {"installer":{"name":"uv","version":"0.10.2","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.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bede8913802efc052920dcaec1b0047c6e991a81ccb240b434cb38a144f5e8af
MD5 35f6e7301a94155f3287bf5076cd0536
BLAKE2b-256 412d1af7f504101542a07e0c7c2c7c5bd07ff04bebd849f3d248f53a913ff2f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.1-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.2 {"installer":{"name":"uv","version":"0.10.2","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.1-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 be9cc958dae69eb03f0f94483310968482bc54458ec398e54beb4f4ef2c04284
MD5 be4329c84b9bc18a7d8e34efb6188c91
BLAKE2b-256 d1e9d225ab94e29abe10c944c75afa7a111709bec869babfe396f20d3dfcaff9

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