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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: lefthook-2.1.10-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.28 {"installer":{"name":"uv","version":"0.11.28","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.10-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 be7b59b9e3483f62a217a632cb4177eaa3f75229916450bd12b99b608c51439d
MD5 a1ed3e3ac7684475e76aa1b96383b429
BLAKE2b-256 7701054a0a18154dd8127276398a82d9797dd5534ebeeb1d8d61a9b19e6a8ef0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.10-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.28 {"installer":{"name":"uv","version":"0.11.28","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.10-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7385e234f14ab65bcaa84ebe7ba6d6b1dafe36be6ad5a9dd852e5add6f1e701e
MD5 117a16be29ce24035d19611c28bdd2e9
BLAKE2b-256 11b9fb10fab6e854e97ed2af8c906ff90b706e850f17d245c6cde59c076e4066

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.10-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.28 {"installer":{"name":"uv","version":"0.11.28","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.10-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 a635411b4e9263154fd5a64a81df28c628d625ab18c7f071df90e7006d0de748
MD5 c059f926180fb413a860fa4dc0e613db
BLAKE2b-256 0d5254798a744c4d656ba39ed5f0e6ccb8a81c6a4c15a3e1448978a40aefd713

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.10-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.28 {"installer":{"name":"uv","version":"0.11.28","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.10-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 115c6b4ba6dd12dc18d8661c61992d46dcfab1e0528f16b6a90664c4fe60c376
MD5 36fd41893adf3bce8a67d2978847a3f4
BLAKE2b-256 fc3fcbd5bcf3d481a8ffda0378b6e90bca3c85f060c085e16002837ceeab56b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.10-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.11.28 {"installer":{"name":"uv","version":"0.11.28","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.10-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9f468de23f627837ee822beea57473c3ed541fc8bf82b030a3247d773a192b4f
MD5 d490e4c3d6a6cb7d34b0afb0cd276fd3
BLAKE2b-256 931d12274ace64319fe26ed6f394dae463ceae24f504d751d84072cb3bfdbacf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.10-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.28 {"installer":{"name":"uv","version":"0.11.28","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.10-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 8ae438e6a6a2984e7f7e1eef43ae08a5a1f99999a75f911f52e33106f1b198ff
MD5 d99a62e70e5d5b0f5a0dc0564a12842f
BLAKE2b-256 f2a7ff54e6b498de6daa9ca5f02e77f943923924ae6aa2d0babc0334507bd0e2

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