FindSoftware

pdoc

API documentation generator for Python projects that renders modules, classes and functions from their docstrings and type annotations into HTML.

pdoc generates API documentation for Python projects. It imports the modules it is given, reads their docstrings and type annotations, and writes standalone HTML. The pdoc command includes a web server with live reloading, and the pdoc documentation describes its templates and options. The project is installed with pip and is maintained by Maximilian Hils.

Worth knowing

pdoc runs the code of the modules it documents, so those modules are imported on every run. The README recommends Sphinx for substantially more complex documentation needs and states that the project is not associated with the separate pdoc3 project.

Identity

Status
Active
Maintainer
Maximilian Hils4
First release
20136

Rendering and deploy

Install with
pip5

Releases

Current major version
166
Last release
2025-10-276

Adoption

GitHub stars
2,5191
Contributors
627
Downloads a month
1,496,0038
Dependent repositories
3888
Dependent packages
1928

Why these figures do not compare

Sources

  1. 2026-10-25: Written in, links, License, GitHub stars
    api.github.com/repos/mitmproxy/pdoc
  2. 2026-10-23: links
    pdoc.dev/
  3. 2026-10-23: links, Templating
    pdoc.dev/docs/pdoc.html
  4. 2026-10-23: Maintainer, License model
    raw.githubusercontent.com/mitmproxy/pdoc/main/LICENSE
  5. 2026-10-23: Categories, Runtime, Minimum runtime, Install with
    github.com/mitmproxy/pdoc/blob/main/README.md
  6. 2026-10-23: Current major version, Last release, First release
    pypi.org/pypi/pdoc/json
  7. 2026-10-23: Contributors
    api.github.com/repos/mitmproxy/pdoc/contributors?per_page=1
  8. 2026-10-25: Dependent repositories, Dependent packages, Downloads a month
    packages.ecosyste.ms/api/v1/registries/pypi.org/packages/pdoc

Last reviewed · Updated · Listed since Edit on GitHubThis page as markdownas JSON