mitmproxy/pdoc has 2,527 GitHub stars and 234 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 20:53 UTC. Last push 2026-07-01.
API Documentation for Python Projects
What you can do
- Documentation is plain Markdown.
- First-class support for type annotations and all other modern Python 3 features.
- Builtin web server with live reloading.
- Customizable HTML templates.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalAPI Documentation for Python Projects.
Example
pdoc -o ./html pdoc generates this website: pdoc.dev/docs.
Installation
pip install pdoc
pdoc is compatible with Python 3.10 and newer.
Usage
pdoc your_python_module
# or
pdoc ./my_project.py
Run pdoc pdoc to see pdoc's own documentation,
run pdoc --help to view the command line flags,
or check our hosted copy of the documentation.
Features
pdoc's main feature is a focus on simplicity: pdoc aims to do one thing and do it well.
- Documentation is plain Markdown.
- First-class support for type annotations and all other modern Python 3 features.
- Builtin web server with live reloading.
- Customizable HTML templates.
- Understands numpydoc and Google-style docstrings.
- Standalone HTML output without additional dependencies.
Under the hood...
pdocwill automatically link identifiers in your docstrings to their corresponding documentation.pdocrespects your__all__variable when present.pdocwill traverse the abstract syntax tree to extract type annotations and docstrings from constructors as well.pdocwill automatically try to resolve type annotation string literals as forward references.pdocwill use inheritance to resolve type annotations and docstrings for class members.
If you have substantially more complex documentation needs, we recommend using Sphinx!
Contributing
As an open source project, pdoc welcomes contributions of all forms.
pdoc vs. pdoc3
This project is not associated with "pdoc3", which often falsely assumes our name. Quoting @BurntSushi, the original author of pdoc:
I'm pretty disgusted that someone has taken a project I built, relicensed it, attempted to erase its entry on the Python Wiki, released it under effectively the same name and, worst of all, associated it with Nazi symbols.
In contrast, the pdoc project strives to uphold a healthy community where everyone is treated with respect. Everyone is welcome to contribute as long as they adhere to basic civility. We expressly distance ourselves from the use of Nazi symbols and ideology.
The pdoc project was originally created by Andrew Gallant and is currently maintained by Maximilian Hils.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,800 starspublic-apis/public-apis
A collective list of free APIs
497,028 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
441,107 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,147 stars