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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

lefthook-2.1.9-py3-none-manylinux_2_17_x86_64.whl (5.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

lefthook-2.1.9-py3-none-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: lefthook-2.1.9-py3-none-win_arm64.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","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.9-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 6d8e3923c42a04e9375f88314ebc8c86f68879d3d0c9d856b6adbed109890e90
MD5 cf9f0e039762c58269835ce0e6fa15dd
BLAKE2b-256 48e87923893f08504f28e0b5fb8b21795fc388d0363cfa2f412e2541c9464cb1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.9-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.17 {"installer":{"name":"uv","version":"0.11.17","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.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 dc121e492b681e1128290fe4a0c857f6b46b6f4491c0d1b0be58dc5592e62c77
MD5 bcac34c4dea746a3fb8830e75636a7a4
BLAKE2b-256 7b045dbf2107e0727e1d8cdfc20aba62d37e357577998c1abc3991cccb2a1632

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.9-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","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.9-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 5df17f57e5e4bc3cb1b4788eda68df929a23f273ff255c632edaf1f30808a6d5
MD5 49661d7b33bfe45a81fc64e526bebece
BLAKE2b-256 743563cf009271a11f693691aeb47dd25d270b346a7c854a8966faf09999e8b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.9-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.17 {"installer":{"name":"uv","version":"0.11.17","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.9-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 74fa383dfb3a31913256220c59207b8d6f3d66798f50600f1683872a07c99cb5
MD5 119993d0216a4b0c8078406a1599cdf0
BLAKE2b-256 71e30e8dcd17c392e13e6bdea605683f0a93bed57e72df6aea8c030d0e5d98d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.9-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","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.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 06754e8a56520811079063fe227b361ac8d306e5f004d103248fa57e55f997a1
MD5 b820f1ff32dd187adcfd6a87d26afb27
BLAKE2b-256 b70e983781b9084ef8317b45164abd3335a754973b4910dcc7d0a93c7fc4737c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.9-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.17 {"installer":{"name":"uv","version":"0.11.17","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.9-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b4be037dffa2aacb312770c2c7981bb7547e0d07459e897053839b8375f66400
MD5 346f17fc96f0acb3a1291f795d5b01dd
BLAKE2b-256 925e2cbfb93902906f82fa1d106b30a42e455c71599b968ab9edb86bdd487ca1

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