pdoc 16.0.0


pip install pdoc

  Latest version

Released: Oct 27, 2025


Meta
Author: Maximilian Hils
Requires Python: >=3.10

Classifiers

Topic
  • Documentation
  • Software Development :: Documentation
  • Utilities

License
  • Public Domain

Development Status
  • 5 - Production/Stable

Environment
  • Console

Intended Audience
  • Developers

Operating System
  • OS Independent

Programming Language
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14

Typing
  • Typed

pdoc

pdoc documentation CI Status Code Coverage autofix.ci: yes PyPI Version Supported Python Versions

API 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...

  • pdoc will automatically link identifiers in your docstrings to their corresponding documentation.
  • pdoc respects your __all__ variable when present.
  • pdoc will traverse the abstract syntax tree to extract type annotations and docstrings from constructors as well.
  • pdoc will automatically try to resolve type annotation string literals as forward references.
  • pdoc will 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.

Dev Guide

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.

Source: https://github.com/pdoc3/pdoc/issues/64

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.

16.0.0 Oct 27, 2025
15.0.4 Jun 04, 2025
15.0.3 Apr 21, 2025
15.0.2 Apr 17, 2025
15.0.1 Dec 12, 2024
15.0.0 Oct 11, 2024
14.7.0 Sep 11, 2024
14.6.1 Aug 27, 2024
14.6.0 Jul 24, 2024
14.5.1 Jun 25, 2024
14.5.0 May 18, 2024
14.4.0 Jan 17, 2024
14.3.0 Dec 22, 2023
14.2.0 Dec 13, 2023
14.1.0 Sep 10, 2023
14.0.0 Jun 19, 2023
13.1.1 Apr 24, 2023
13.1.0 Mar 31, 2023
13.0.1 Mar 21, 2023
13.0.0 Feb 19, 2023
12.3.1 Jan 06, 2023
12.3.0 Nov 15, 2022
12.2.2 Nov 10, 2022
12.2.1 Nov 05, 2022
12.2.0 Sep 20, 2022
12.1.0 Aug 11, 2022
12.0.2 Jun 08, 2022
12.0.1 Jun 03, 2022
12.0.0 May 15, 2022
11.2.0 May 04, 2022
11.1.0 Apr 24, 2022
11.0.0 Apr 06, 2022
10.0.4 Mar 23, 2022
10.0.3 Mar 08, 2022
10.0.2 Mar 01, 2022
10.0.1 Feb 14, 2022
10.0.0 Feb 14, 2022
9.0.1 Jan 26, 2022
9.0.0 Jan 24, 2022
8.3.0 Jan 14, 2022
8.2.0 Jan 05, 2022
8.1.0 Dec 28, 2021
8.0.1 Oct 29, 2021
8.0.0 Sep 19, 2021
7.4.0 Aug 18, 2021
7.3.1 Aug 09, 2021
7.3.0 Aug 09, 2021
7.2.0 Jul 28, 2021
7.1.1 Jun 11, 2021
7.1.0 Jun 02, 2021
7.0.3 May 30, 2021
7.0.2 May 27, 2021
7.0.1 May 21, 2021
7.0.0 May 12, 2021
6.6.0 Apr 30, 2021
6.5.0 Apr 30, 2021
6.4.4 Apr 21, 2021
6.4.3 Apr 11, 2021
6.4.2 Mar 28, 2021
6.4.1 Mar 19, 2021
6.4.0 Mar 10, 2021
6.3.2 Feb 25, 2021
6.3.1 Feb 14, 2021
6.3.0 Feb 14, 2021
6.2.0 Feb 12, 2021
6.1.1 Feb 12, 2021
6.1.0 Feb 07, 2021
6.0.0 Feb 07, 2021
5.0.0 Feb 05, 2021
4.0.0 Feb 01, 2021
3.0.1 Jan 26, 2021
3.0.0 Jan 24, 2021
2.0.0 Jan 21, 2021
1.1.0 Jan 19, 2021
1.0.1 Jan 19, 2021
1.0.0 Jan 19, 2021
0.4.1 Feb 07, 2021
0.4 Jan 20, 2021
0.3.2 Mar 23, 2016
0.3.1 Dec 02, 2014
0.3.0 Nov 27, 2014
0.2.4 Jul 22, 2014
0.2.3 May 12, 2014
0.2.2 May 10, 2014
0.2.1 Mar 05, 2014
0.2.0 Feb 21, 2014
0.1.8 Sep 11, 2013
0.1.7 Sep 10, 2013
0.1.6 Aug 31, 2013
0.1.5 Aug 22, 2013
0.1.4 Aug 15, 2013
0.1.3 Aug 15, 2013
0.1.2 Aug 15, 2013
0.1.1 Aug 15, 2013
0.1.0 Aug 15, 2013
0.0.19 Aug 15, 2013
0.0.18 Aug 15, 2013
0.0.17 Aug 14, 2013
0.0.16 Aug 14, 2013
0.0.15 Aug 13, 2013
0.0.14 Aug 13, 2013
0.0.13 Aug 13, 2013
0.0.12 Aug 13, 2013
0.0.11 Aug 12, 2013
0.0.10 Aug 10, 2013
0.0.9 Aug 10, 2013
0.0.8 Aug 09, 2013
0.0.7 Aug 09, 2013
0.0.6 Aug 09, 2013
0.0.5 Aug 09, 2013
0.0.4 Aug 09, 2013
0.0.3 Aug 09, 2013
0.0.2 Aug 09, 2013
0.0.1 Aug 09, 2013

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
Jinja2 (>=2.11.0)
pygments (>=2.12.0)
MarkupSafe (>=1.1.1)
markdown2 (>=2.5.4)