# pytest-dev/pluggy

A minimalist production ready plugin system

Repository: https://github.com/pytest-dev/pluggy
Canonical: https://ross.abutalabs.com/products/pluggy
Homepage: https://pluggy.readthedocs.io/en/latest/
Language: Python
License: MIT
License Family: permissive
Topics: hooks, python
Last push: 2026-08-25T09:57:20+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4145, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1683, forks 155 (observed 2026-08-28T04:05:21.851072+00:00)

## What it is
pluggy is a minimalist, production-ready plugin system for Python, providing hook specification and implementation mechanisms. It is the core framework powering pytest, tox, and devpi.

## Use cases
- add a plugin architecture to my python application
- let users extend my tool with custom hooks
- define hook specifications and implementations in python
- build an extensible framework like pytest
- call multiple plugin implementations of the same hook
- manage plugin registration and hook calls

## When to choose
- you need a battle-tested plugin/hook system for a Python project
- you want lightweight hookspec/hookimpl semantics without heavy dependencies
- you're building tooling in the pytest/tox ecosystem

## When to avoid
- you need plugin discovery across process or language boundaries
- you want a full event bus or async-first plugin framework
- your project is not in Python

## Facets
- artifact type: library
- maturity: stable
- function: plugin-system, developer-tools
- domain: developer-tools, testing
- platform: python, cross-platform
- tags: hooks, hookspec, hookimpl, extensibility, pytest-ecosystem, automation

## Member repositories
- pytest-dev/pluggy (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:21.851072+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:41:20.124102+00:00, confidence not recorded.
  - readme: https://github.com/pytest-dev/pluggy (fetched 2026-08-28T04:05:21.851072+00:00, sha b50b243f8ea9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
