Command-line tool that generates markdown API documentation from Google-style Python docstrings, as a lighter alternative to Sphinx.
#docstring
Best open-source Python docstring tools (2026)
These tools work with Python docstrings to generate API documentation, measure docstring coverage, or enforce consistent formatting. Start with the step you need: generating docs, counting gaps, or reformatting. pdoc3/pdoc builds documentation from modules and packages with no special configuration, but it is AGPL-3.0 licensed, which matters for commercial use. econchick/interrogate measures coverage across functions, classes and modules, with pass/fail thresholds for CI. PyCQA/docformatter reformats docstrings to follow PEP 257.
Sort:Recently added
A Sphinx extension that parses NumPy-style docstrings and renders them into structured API documentation.
A Python command-line tool that automatically reformats docstrings to follow PEP 257 conventions.
A Python CLI that measures how many functions, classes, methods and modules in a codebase have docstrings, with CI-friendly pass/fail thresholds.
Auto-generates API documentation for Python 3 projects from modules, packages and docstrings with no special configuration.