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

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

Uploaded Python 3Windows ARM64

lefthook-2.1.8-py3-none-win_amd64.whl (5.6 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

lefthook-2.1.8-py3-none-manylinux_2_17_aarch64.whl (4.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

lefthook-2.1.8-py3-none-macosx_10_15_x86_64.whl (5.5 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: lefthook-2.1.8-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.11.15 {"installer":{"name":"uv","version":"0.11.15","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.8-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 1bb39299c6758459b9c06c1bfe42b52688d4cf09e6785c4f3ab097bbafa6147d
MD5 aadb43ab78a14d2e40c00d90e656bb3c
BLAKE2b-256 0e74c4662e6131c55a93018664d4285d46bb0ecaa60f5f61d451227509d9a973

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.8-py3-none-win_amd64.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9107e326e6ac1d6313d6071ba51e37fede2968592c8ed2f532974a85497a3b4c
MD5 573d5eb295c87371c6cd1ce1888879ef
BLAKE2b-256 39241e3db44d8ded321781ed29539f6b4030c799df654326e375a25dc115aaad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.8-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.11.15 {"installer":{"name":"uv","version":"0.11.15","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.8-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 3dbc5e2934e6d218037e2fd9106a91f9c4b7d36a4ce8cf1190cd50223b6bc30f
MD5 8596fe54faeacdc4812f6b5f2fecba12
BLAKE2b-256 6ce235bd38db60c0ed1abc833275d03da7915bb2d5ede0c8308ad31b66ecf9a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.8-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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.8-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 ccf0571131c247cf195d4fb362c30497f4e64e6a3a4a002697eccaff7396ac1d
MD5 33744fb07d75c4ac6ce688ef2b95f689
BLAKE2b-256 769623a32760540332dc758574c5f2d0ef3d9880e60d27484a9c870e1fea3d24

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.8-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.11.15 {"installer":{"name":"uv","version":"0.11.15","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.8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c3a597f112ad44a68e0fc8b62c235254dbf93297992a69bac3e9b7c42ab21ec2
MD5 b7e727d3cd154bae3e46f16cccdba622
BLAKE2b-256 fbf2b994e7a1ce986c8d3278f9c239c583707ad1aebcff87b51705b96da63225

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.8-py3-none-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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.8-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 7748eed7cc59982cc4a6a8c6b8a414ea6317065118287d40fb3682fd106f022b
MD5 31f0baa6e55800b2fa853271a4e6d2ab
BLAKE2b-256 cf80229efed8dc32caac69867d176fd97ec51d8610943817717873aeb64741b4

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