Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Hooks Python Packages

Python packages with the GitHub topic hooks. Sorted by monthly downloads, with stars and forks.
pytest-dev
pluggy

A minimalist production ready plugin system

1.3B 2K 373
pyinstaller
pyinstaller-hooks-contrib

Community maintained hooks for PyInstaller.

11.4M 126 148
kynan
nbstripout

strip output from Jupyter and IPython notebooks

2.2M 1K 105
pywinauto
pywinauto

Windows GUI Automation with Python (based on text properties)

1.1M 6K 796
evilmartians
lefthook

Fast and powerful Git hooks manager for any type of projects.

703K 9K 342
opensource-nepal
commitlint

Lint Conventional Commit message on GitHub Actions and pre-commit.

166K 38 13
contextforge-org
cpex

A policy enforcement runtime for AI agents

80K 16 12
nizos
tdd-guard-pytest

Automated TDD enforcement for Claude Code

40K 2K 196
greenbone
autohooks

Library for managing git hooks

39K 204 25
greenbone
autohooks-plugin-ruff

An autohooks plugin for linting via ruff

24K 3 5
The-Cloud-Clockwork
agentihooks

Hook system and MCP tool server for Claude Code agents. Designed for agenticore — fork and extend for custom workflows.

18K 1 2
ZahiriNatZuke
local-delegate-mcp

MCP that delegates mechanical text tasks to a local OpenAI-compatible LLM endpoint to conserve Claude subscription quota.

11K 8 2
philpaz
recusal

Deterministic governance for AI agent tool calls in Claude Code, MCP, LangGraph, or any agent loop. Pin approved capabilities, detect drift, and refuse unsafe or unapproved actions before execution. No model in the decision path. On PyPI: https://pypi.org/project/recusal/

10K 8 14
kennywu411-dev
honestly

Stops Claude Code and Codex from saying "tests pass" when nothing ran after the last edit. Deterministic hooks, no model calls. Cursor and Gemini CLI experimental.

9K 3 1
open-coder-ai
agentseam

The primitives layer for every coding agent — one handler API over per-agent hooks, instruction files, plugin packaging, and config.

9K 2 1
greenbone
autohooks-plugin-pylint

Autohooks plugin for code linting via pylint

8K 6 3
mauhpr
agentlint

Local guardrails for AI coding agents. Check proposed file changes and shell commands, block risky patterns, and return actionable feedback. Works with Claude Code, Codex, Cursor, Gemini CLI, and more

5K 211 14
SeJonJ
sage-harness

System for Agentic Governance & Engineering — runtime-selectable AI harness framework

5K 0 0
jbasko
hookery

Trivial, primitive, naive, and optimistic hook registry in Python

5K 4 1
shipiit
shipit-agent

Powerful Python agent runtime with tools, MCP, Hooks, Skills, Rag, memory, sessions, reasoning, and streaming packets.

5K 4 0
mintmcp
claude-secret-scan

Hooks for Claude Code and Cursor for secrets scanning

3K 77 4
philpaz
recusal-openai-agents

Deterministic governance for AI agent tool calls in Claude Code, MCP, LangGraph, or any agent loop. Pin approved capabilities, detect drift, and refuse unsafe or unapproved actions before execution. No model in the decision path. On PyPI: https://pypi.org/project/recusal/

3K 8 14
RAYNSIS
raynsis-inspector

Evidence gates for coding agents

3K 3 0
greenbone
autohooks-plugin-pytest

An autohooks plugin for pytest

3K 5 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology