Description
pydoctor is an API documentation generator for Python projects. It works by static analysis, which means it reads your source code and does not need to run it to build the docs. It was written mainly to replace epydoc for the Twisted project, which had difficulties with zope.interface. It resolves imports, computes inheritance hierarchies, and knows about zope.interface's declaration API, so it can show which classes implement which interfaces and the reverse. You run it from the command line with an HTML output folder and the path to your package to produce browsable API pages. Docstrings can use epytext, which is the default, reStructuredText, Google style, or NumPy style. The README covers simple usage and the markup options, and the full documentation is on Read the Docs. The project is open source on GitHub and has continuous integration tests.…
Highlights
- Static analysis of Python source code
- Resolves imports and inheritance hierarchies
- Understands zope.interface declarations
- Epytext, reStructuredText, Google and NumPy docstrings
- HTML output from the command line
Ratings & Reviews
No ratings yet
Be the first to rate Pydoctor.
People also visit
Lazydocs
Generate markdown API documentation from Google-style Python docstring
Pydoctor FAQ
What is pydoctor?
A standalone API documentation generator for Python that works by static analysis.
How do I run it?
Run pydoctor with an HTML output folder and the path to your package, for example pydoctor --html-output=docs/api src/mylib.
Which docstring formats does it support?
Epytext, which is the default, plus reStructuredText, Google style and NumPy style docstrings.
Why was it created?
It was written mainly to replace epydoc for the Twisted project, because epydoc had difficulties with zope.interface.
Where is the full documentation?
On Read the Docs, which the README links to.
What are the best Pydoctor alternatives?
Popular alternatives to Pydoctor include Pdoc, Lazydocs and Docyo. See all Pydoctor alternatives









