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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: lefthook-2.1.7-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.7-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 5bc9eb28875a191967ada953b6a2e9be101ae8cbad29d1396235ecf52ca419dd
MD5 91e50bcac82866e165385eb25d950589
BLAKE2b-256 77c528a1208f32026540618f5ef7b4a3b2280148e8fd4a8dc379fab769d1ac77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.7-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.7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1dcb06242170909ff6bfa1be67f452ebfad6110afe1c44e71b2dc35b711b31d5
MD5 4120df7c58c1e5388ba2c5fef61a7123
BLAKE2b-256 6277bd4c713df47a678555ec4e3bfa098119d6a9811f0510785b70f836bc16b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.7-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.7-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ea6d0c375929b3b127d718fa705c153751d7baf016f693bb41853ae384e27639
MD5 1dd657b5b3e3c175689ebbc27bf3e292
BLAKE2b-256 3c645ec626ec9830ef8f8851eafc93558dd548e15a37ec5c4474264f865e8a4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.7-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.7-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 95ab96afcf1b5c9dae57eeedd04e77c5b7f62fcde34bc2eb5fe9378f43b25fa2
MD5 5f685886770a384f1069fed9316aba15
BLAKE2b-256 4f01e6da1ca06442d670048cf7284a3bfa9ebd3be1d74c160e0ba496590797ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.7-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.7-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 05fd6973a6737205c50142d076f71875a3052fe9f5f753b72a404dd792a9003e
MD5 47796916824f1726fcedd554641804ed
BLAKE2b-256 e5c0f1397f9c534daa370da044608252ef433045b2bd9589100b74b38bac825d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.7-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.7-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a8a417a28c58eca32aa30835e1f645bcd3d21c37c529cdd9baadc856970f13d6
MD5 613b87de674bf78c36c671499fab9f60
BLAKE2b-256 b6d1ed8bdca697c60f9034b1d5f810c0e2d956022c7095f33c352d96d46df0ef

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