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

Uploaded Python 3Windows ARM64

lefthook-2.1.6-py3-none-win_amd64.whl (5.5 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: lefthook-2.1.6-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.7 {"installer":{"name":"uv","version":"0.11.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.6-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 985b88d908067a6d48a0e89cbc20c18b6a68a3fc4d44387f8ac1c39b85f0f18b
MD5 dcfd4fb4392f0013b221601a11074479
BLAKE2b-256 85e9286657a2c7efbb8701380c4c8a08c54d7f58938a4610d660c463fa074ee3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.6-py3-none-win_amd64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.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.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e571c48a227f51e5b8aec117c550c6d2ad1f74034e87afd5b0c98cbef319ad3e
MD5 4648009180103d613ca4a1852a82205a
BLAKE2b-256 e699cad1e694989964a8a79b34fdd18e6642bc631e280c06a9341565b5861e3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.6-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.7 {"installer":{"name":"uv","version":"0.11.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.6-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 6c00cd91d553e064a2f71c35d2497b4350d1efdf18dd8f2c7ce2b1d6e8e2e147
MD5 0c349d9df79eed9c87be9e4c247d5edf
BLAKE2b-256 aac03d43c9e1a08fa79d53f0c6eb808fb0ae9becf29bc7bd89cd757470af040e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.6-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.11.7 {"installer":{"name":"uv","version":"0.11.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.6-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 016295036dd1d94af7ea6604247f0c47102559fb12f97ffcfe7880e8d1ce7a1f
MD5 689c9205c3b710549bff5b389a950472
BLAKE2b-256 19ea15b0384c1227ad172af0c18f21f7e00c570ccce086af471ac32edc2cb507

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.6-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.7 {"installer":{"name":"uv","version":"0.11.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.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fa6395917dc510c2622f31b6d3992c5506ff2a7569cd9d321712ec29689229b3
MD5 fbab9b1109ec5ad19ca15ab4e0593a84
BLAKE2b-256 cdd42c645051bed898f1ad377e7c2e611e0f857502ca76d052db0f8333bb668d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.6-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.11.7 {"installer":{"name":"uv","version":"0.11.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.6-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6d4608d0bb9dbcf10d333132973941c21bc7cde31a328658611e2066eec26d7e
MD5 7fe0186425c9a80965888ecfcd51f2a8
BLAKE2b-256 5a1c95addeea6b681f02cd44e40d8ce970973783f7b48081af88d3831c4f6da6

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