$npx skillfedfor your agent

interrogate

Interrogate a codebase for docstring coverage.

Worth itPyPI Python ModulesReleased Apr 20241.5M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — interrogate-1.7.0-py3-none-any.whl
v1.7.0 · released 2024-04-07 · Python >=3.8 · 6 runtime deps: attrs, click, colorama, py, tabulate, tomli

Yes. Interrogate is a lightweight, actively maintained tool with no known vulnerabilities, permissive licensing, and low install friction. It solves a real problem—measuring and enforcing docstring coverage—with a straightforward CLI and CI/CD integration. Install it if you want to track or enforce documentation standards in your Python projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or above.
  • Optional PNG badge generation requires system libraries (Visual C++ on Windows, cairo/libffi on macOS, cairo/python3-dev/libffi-dev on Linux).
  • Low install friction with six lightweight runtime dependencies (attrs, click, colorama, py, tabulate, tomli).

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), allowing use in most projects without restriction.

last release 2024-04-07 (859 days) · last repo commit 2026-08-03 · 673 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,536,469 downloads/mo, #3,797 on PyPI

Verify before relying

$ pip install interrogate
$ interrogate /path/to/project
RESULT: PASSED (minimum: 80.0%, actual: 100.0%)
  • Whether the tool integrates with common CI/CD platforms beyond basic exit-code reporting.
  • Performance characteristics on very large codebases (number of files/lines where slowdown becomes noticeable).
  • Whether custom docstring formats or non-standard documentation patterns are recognized.
Same gist for agents: .md · .json

What it is and what it does

Interrogate is a command-line tool that analyzes Python source code to measure how thoroughly it is documented with docstrings. It scans modules, classes, functions, and methods to identify which have docstrings and which do not, then reports coverage as a percentage. The tool is designed to integrate into CI/CD pipelines to enforce documentation standards on new code and to assess code quality and maintainability in existing projects.

The package depends on click for CLI handling, colorama for colored output, tabulate for formatted reporting, attrs for data structures, py for filesystem utilities, and tomli for configuration parsing. It can generate SVG coverage badges by default, with optional PNG output available through an extras install (though PNG generation requires additional system libraries). The tool supports configuration via pyproject.toml or setup.cfg files.

Use it for

  • Enforce minimum docstring coverage thresholds in CI/CD pipelines to prevent undocumented code from being merged.
  • Audit an unfamiliar codebase to assess documentation quality as part of code review or onboarding.
  • Generate and display docstring coverage badges in project README or documentation sites.
  • Track documentation coverage trends over time by running interrogate in regular builds.
  • Identify specific undocumented functions and classes with verbose output for targeted documentation efforts.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Interrogate is a lightweight, actively maintained tool with no known vulnerabilities, permissive licensing, and low install friction. It solves a real problem—measuring and enforcing docstring coverage—with a straightforward CLI and CI/CD integration. Install it if you want to track or enforce documentation standards in your Python projects.

Install

interrogate on PyPI

Before you install

Low install friction with six lightweight runtime dependencies (attrs, click, colorama, py, tabulate, tomli). Actively maintained as of August 2026 with stable production status.

Requires Python 3.8 or above. Optional PNG badge generation requires system libraries (Visual C++ on Windows, cairo/libffi on macOS, cairo/python3-dev/libffi-dev on Linux).

License in practice

Licensed under MIT (permissive), allowing use in most projects without restriction.

Quickstart

$ pip install interrogate
$ interrogate /path/to/project
RESULT: PASSED (minimum: 80.0%, actual: 100.0%)

Verify before relying

  • Whether the tool integrates with common CI/CD platforms beyond basic exit-code reporting.
  • Performance characteristics on very large codebases (number of files/lines where slowdown becomes noticeable).
  • Whether custom docstring formats or non-standard documentation patterns are recognized.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
attrsclickcoloramapytabulatetomli
MaintenanceActively maintained 859 days since the last release
Last repo commit
First released
Downloads1,536,469 / month, #3,797 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: DocumentationTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality Assurance

Evidence: interrogate-1.7.0-py3-none-any.whl

Tags

Capabilities
docstring coverage checkerdocumentation coverage measurementmissing docstrings detectorcode documentation auditdocstring compliance toolpython documentation qualityenforce docstring standards
Topics
documentation-qualityci-cd-integrationcode-metrics
PyPI keywords
documentationcoveragequality

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “docstring coverage checker”

  • interrogateInterrogate scans a Python codebase to measure and report docstring…
  • docstr-coverageMeasures docstring coverage in Python source code by scanning for…
  • pydocstylepydocstyle is a static analysis tool that checks Python docstrings…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also docstr-coverage · dbt-coverage · coverage · docrep · docstring-inheritance · slipcover · pytest-markdown-docs · docformatter · pydocstyle · pylint-quotes