GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Blog
  • Docs
  • Log in
  • Register
  • Getting help
  • Installing packages
  • Uploading packages
  • Packaging user guide
  • Infrastructure dashboard
  • Statistics
  • Logos & trademarks
  • Our sponsors
  • Bugs and feedback
  • Contribute on GitHub

This view

  • Original page
  • New address

GeezerVison is showing pypi.org — pydoctor

pydoctor 20.12.0

API doc generator.

pip install pydoctor==20.12.0

pydoctor

https://travis-ci.org/twisted/pydoctor.svg?branch=tox-travis-2 https://codecov.io/gh/twisted/pydoctor/branch/master/graph/badge.svg https://img.shields.io/badge/-documentation-blue

This is pydoctor, an API documentation generator that works by static analysis.

It was written primarily to replace epydoc for the purposes of the Twisted project as epydoc has difficulties with zope.interface. If you are looking for a successor to epydoc after moving to Python 3, pydoctor might be the right tool for your project as well.

pydoctor puts a fair bit of effort into resolving imports and computing inheritance hierarchies and, as it aims at documenting Twisted, knows about zope.interface’s declaration API and can present information about which classes implement which interface, and vice versa.

Simple Usage

You can run pydoctor on your project like this:

$ pydoctor --make-html --html-output=docs/api src/mylib

For more info, Read The Docs.

Markup

pydoctor currently supports the following markup languages in docstrings:

epytext (default)

The markup language of epydoc. Simple and compact.

restructuredtext

The markup language used by Sphinx. More expressive than epytext, but also slighly more complex and verbose.

plaintext

Text without any markup.

You can select a different format using the --docformat option.

What’s New?

pydoctor 20.12.0

  • Python 3.6 or higher is required

  • There is now a user manual that can be built with Sphinx or read online on Read the Docs; this is a work in progress and the online version will be updated between releases

  • Added support for Python language features:

    • Type annotations of function parameters and return value are used when the docstring does not document a type

    • Functions decorated with @property or any other decorator with a name ending in “property” are now formatted similar to variables

    • Coroutine functions (async def) are included in the output

    • Keyword-only and position-only parameters are included in the output

  • Output improvements:

    • Type names in annotations are hyperlinked to the corresponding documentation

    • Styling changes to make the generated documentation easier to read and navigate

    • Private API is now hidden by default on the Module Index, Class Hierarchy and Index of Names pages

    • The pydoctor version is included in the “generated by” line in the footer

  • All parents of the HTML output directory are now created by pydoctor; previously it would create only the deepest directory

  • The --add-package and --add-module options have been deprecated; pass the source paths as positional arguments instead

  • New option -W/--warnings-as-errors to fail your build on documentation errors

  • Linking to the standard library documentation is more accurate now, but does require the use of an intersphinx inventory (--intersphinx=https://docs.python.org/3/objects.inv)

  • Caching of intersphinx inventories is now enabled by default

  • Added a Sphinx extension for embedding pydoctor’s output in a project’s Sphinx documentation

  • Added an extra named rst for the dependencies needed to process reStructuredText (pip install -U pydoctor[rst])

  • Improved error reporting:

    • More accurate source locations (file + line number) in error messages

    • Warnings were added for common mistakes when documenting parameters

    • Clearer error message when a link target is not found

  • Increased reliability:

    • Fixed crash when analyzing from package import *

    • Fixed crash when the line number for a docstring error is unknown

    • Better unit test coverage, more system tests, started adding type annotations to the code

    • Unit tests are also run on Windows

pydoctor 20.7.2

  • Fix handling of external links in reStructuredText under Python 3

  • Fix reporting of errors in reStructuredText under Python 3

  • Restore syntax highlighting of Python code blocks

pydoctor 20.7.1

  • Fix cross-reference links to builtin types in standard library

  • Fix and improve error message printed for unknown fields

pydoctor 20.7.0

  • Python 3 support

  • Type annotations on attributes are supported when running on Python 3

  • Type comments on attributes are supported when running on Python 3.8+

  • Type annotations on function definitions are not supported yet

  • Undocumented attributes are now included in the output

  • Attribute docstrings: a module, class or instance variable can be documented by a following it up with a docstring

  • Improved error reporting: more errors are reported, error messages include file name and line number

  • Dropped support for implicit relative imports

  • Explicit relative imports (using from) no longer cause warnings

  • Dropped support for index terms in epytext (X{}); this was never supported in any meaningful capacity, but now the tag is gone

This will be the last major release to support Python 2.7 and 3.5: future major releases will require Python 3.6 or later.

Project links

  • Homepage
  • Issue Tracker
  • Repository

Key dates

PyPI data
Data sourced directly from PyPI's database.
  • Released: Dec 8, 2020
Newer release available (25.10.1)

4 maintainers

PyPI data
Data sourced directly from PyPI's database.
Avatar for adiroiban from gravatar.com adiroiban Avatar for hawkowl from gravatar.com hawkowl Avatar for mwhudson from gravatar.com mwhudson
+1 more Avatar for twistedchecker-robot from gravatar.com twistedchecker-robot

Credits

Author: Michael Hudson-Doyle

Maintainer: Maarten ter Huurne

License

MIT License (MIT/X11)

Requires

Python >=3.6

Classifiers

  • Development Status
    • 6 - Mature
  • Intended Audience
    • Developers
  • License
    • OSI Approved :: MIT License
  • Operating System
    • OS Independent
  • Programming Language
    • Python :: 3
    • Python :: 3.6
    • Python :: 3.7
    • Python :: 3.8
    • Python :: Implementation :: CPython
    • Python :: Implementation :: PyPy
  • Topic
    • Documentation
    • Software Development :: Documentation

Metadata

Project links

  • Homepage
  • Issue Tracker
  • Repository

Key dates

PyPI data
Data sourced directly from PyPI's database.
  • Released: Dec 8, 2020
Newer release available (25.10.1)

4 maintainers

PyPI data
Data sourced directly from PyPI's database.
Avatar for adiroiban from gravatar.com adiroiban Avatar for hawkowl from gravatar.com hawkowl Avatar for mwhudson from gravatar.com mwhudson
+1 more Avatar for twistedchecker-robot from gravatar.com twistedchecker-robot

Credits

Author: Michael Hudson-Doyle

Maintainer: Maarten ter Huurne

License

MIT License (MIT/X11)

Requires

Python >=3.6

Classifiers

  • Development Status
    • 6 - Mature
  • Intended Audience
    • Developers
  • License
    • OSI Approved :: MIT License
  • Operating System
    • OS Independent
  • Programming Language
    • Python :: 3
    • Python :: 3.6
    • Python :: 3.7
    • Python :: 3.8
    • Python :: Implementation :: CPython
    • Python :: Implementation :: PyPy
  • Topic
    • Documentation
    • Software Development :: Documentation

Release files for pydoctor 20.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydoctor 20.12.0
File Size Uploaded Provenance Actions
pydoctor-20.12.0.tar.gz 135.6 kB Dec 8, 2020 Without provenance Details for pydoctor-20.12.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydoctor 20.12.0
File Interpreter ABI Platform Actions Reset
pydoctor-20.12.0-py3-none-any.whl 313.3 kB Dec 8, 2020 Without provenance Python 3 none any Details for pydoctor-20.12.0-py3-none-any.whl

Total release size: 448.8 kB

Release files / pydoctor-20.12.0.tar.gz

Download URL pydoctor-20.12.0.tar.gz
Size 135.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9caadf26ddc05cdce4905b711d74ae08d13c342225609d4a06c9c2d9c0e77f26
BLAKE2b-256 checksum
How to use checksums
bceacf7ac573e415046c65d29b5aff6a7fe0362dcd042a47372ae55d8e4fcc5d
Upload date Dec 8, 2020
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

Release files / pydoctor-20.12.0-py3-none-any.whl

Download URL pydoctor-20.12.0-py3-none-any.whl
Size 313.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
649905aebf3e0f99eccb9712303d05f5dc68f4ad17491163669ecccce9f5cd4f
BLAKE2b-256 checksum
How to use checksums
f26eeb221e92dbb1a61e1353fe0deb4c715f3451bdf02cf03be58ab05bb29283
Upload date Dec 8, 2020
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

Security for pydoctor 20.12.0

Report project as malware

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

25.10.1

Sep 29, 2025 2 release files Full provenance

25.10.0

Sep 29, 2025 2 release files Full provenance

25.4.0

May 22, 2025 2 release files Full provenance

24.11.2

Jan 8, 2025 2 release files Full provenance

24.11.1

Dec 9, 2024 2 release files Full provenance

24.11.0

Dec 2, 2024 2 release files Full provenance

24.3.3

May 17, 2024 2 release files No provenance

23.9.1

Nov 4, 2023 2 release files No provenance

23.9.0

Sep 24, 2023 2 release files No provenance

23.4.1

May 25, 2023 2 release files No provenance

23.4.0

May 2, 2023 2 release files No provenance

22.9.1

Sep 18, 2022 2 release files No provenance

22.9.0

Sep 15, 2022 2 release files No provenance

22.7.0

Jul 15, 2022 2 release files No provenance

22.5.1

May 6, 2022 2 release files No provenance

Pre-release

22.5.1.dev0

May 6, 2022 2 release files No provenance

22.5.0

Apr 26, 2022 2 release files No provenance

22.4.0

Mar 31, 2022 2 release files No provenance

22.3.0

Mar 13, 2022 2 release files No provenance

22.2.2

Feb 24, 2022 2 release files No provenance

22.2.1

Feb 23, 2022 2 release files No provenance

22.2.0

Feb 20, 2022 2 release files No provenance

21.12.1

Jan 10, 2022 2 release files No provenance

21.12.0

Dec 3, 2021 2 release files No provenance

21.9.2

Oct 28, 2021 2 release files No provenance

21.9.1

Oct 3, 2021 2 release files No provenance

21.9.0

Sep 26, 2021 2 release files No provenance

21.2.2

Mar 7, 2021 2 release files No provenance

21.2.1

Mar 5, 2021 2 release files No provenance

21.2.0

Feb 28, 2021 2 release files No provenance

20.12.1

Dec 9, 2020 2 release files No provenance

This release

20.12.0 This release

Dec 8, 2020 2 release files No provenance

20.7.2

Oct 19, 2020 1 release file No provenance

20.7.1

Jul 12, 2020 1 release file No provenance

20.7.0

Jul 3, 2020 1 release file No provenance

19.11.0

Nov 16, 2019 2 release files No provenance

16.3.0

Sep 13, 2016 1 release file No provenance

16.2.1

Aug 10, 2016 1 release file No provenance

16.2.0

Jul 21, 2016 1 release file No provenance

16.1.1

Jul 19, 2016 1 release file No provenance

16.1.0

Jul 12, 2016 1 release file No provenance

16.0.0

Jul 7, 2016 1 release file No provenance

15.1.0

Dec 14, 2015 2 release files No provenance

15.0.0

May 21, 2015 1 release file No provenance

Pre-release

0.6b2

Jan 7, 2015 1 release file No provenance

Pre-release

0.6b1

Jan 7, 2015 1 release file No provenance

0.5

Feb 4, 2014 1 release file No provenance

Pre-release

0.5b2

Jan 5, 2014 1 release file No provenance

Pre-release

0.5b1

Jan 30, 2013 1 release file No provenance

0.4

Nov 14, 2012 1 release file No provenance

Pre-release

0.4a1

Nov 14, 2012

You are visitor 01402809 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.