Skip to main content

Git hooks manager. Fast, powerful, simple.

Reason this release was yanked:

Not complete list of wheels

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.5-py3-none-win_amd64.whl (5.5 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

lefthook-2.1.5-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.5-py3-none-win_amd64.whl.

File metadata

  • Download URL: lefthook-2.1.5-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.3 {"installer":{"name":"uv","version":"0.11.3","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.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c3e02d8bf4c95e763ee3affa0712f5ac9fe4205d7a2d902fdd4601a339c9c508
MD5 a54cb05599124a4b865d70a807dc1c10
BLAKE2b-256 fb2c0324ac75fcb52f94670e3f94e6d236f8b341d962bc6f8881e07d95a8d60e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.5-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.3 {"installer":{"name":"uv","version":"0.11.3","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.5-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c352dd0d00b363dc745d6c490ead9c5a02f237a01dfaa90065aec68cb98e3354
MD5 1e764690d2eb26c6e269786e688b1fd3
BLAKE2b-256 166f6c3185e9aca0e04cdc09777becc945ebffbf14acac823417343575761ee7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.5-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.3 {"installer":{"name":"uv","version":"0.11.3","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.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee8342c207626959a2153aa6a280dcf2ee5021d20a10cc4a323c4ee7c6a8b7ec
MD5 ab5eeccb51436db8e638677b84efbc87
BLAKE2b-256 2ff072349a7aeca5818bf342a921f1515817724759df0ae6fa302a8244583eb0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lefthook-2.1.5-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.3 {"installer":{"name":"uv","version":"0.11.3","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.5-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 945ad336e0fe90796b3ea0ca6d65dd40f397fa41b099347419a0bc5a86b87b51
MD5 9b8f4478221cd574857fa0def1a28c66
BLAKE2b-256 ec69e459ad7ad13ec4db36a8ef37f1a0e09912fc281f110ea40f42341aa64252

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