Skip to main content
pydoctor
========

.. image:: https://travis-ci.org/twisted/pydoctor.svg?branch=tox-travis-2
:target: https://travis-ci.org/twisted/pydoctor

.. image:: https://codecov.io/gh/twisted/pydoctor/branch/master/graph/badge.svg
:target: https://codecov.io/gh/twisted/pydoctor

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 it
happens to work for your code too, that's a nice bonus :)

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.

The default HTML generator requires Twisted.

There are some more notes in the doc/ subdirectory.


Tox development environment
---------------------------

Since Python 3 is not yet supported, you the case in which your default
tox runs with Python 3, call the tox as::

python2 -m tox -e pyflakes


Sphinx Integration
------------------

HTML generator will also generate a Sphinx objects inventory using the
following mapping:

* packages, modules -> py:mod:
* classes -> py:class:
* functions -> py:func:
* methods -> py:meth:
* attributes -> py:attr:

Configure Sphinx intersphinx extension:

intersphinx_mapping = {
'pydoctor': ('http://domain.tld/api', None),
}

Use external references::

:py:func:`External API <pydoctor:pydoctor.model.Documentable.reparent>`

:py:mod:`pydoctor:pydoctor`
:py:mod:`pydoctor:pydoctor.model`
:py:func:`pydoctor:pydoctor.driver.getparser`
:py:class:`pydoctor:pydoctor.model.Documentable`
:py:meth:`pydoctor:pydoctor.model.Documentable.reparent`
:py:attr:`pydoctor:pydoctor.model.Documentable.kind`

It can link to external API documentation using Sphinx objects inventory using
the following cumulative configuration option::

--intersphinx=http://sphinx-doc.org/objects.inv


Releasing a new package
-----------------------

Releasing a new version is done via Travis-CI.
First commit the version update to master and wait for tests to pass.
Create a tag on local branch and then push it::

git tag 1.2.3
git push --tags

Metadata

Release files for pydoctor 16.2.1

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 16.2.1
File Size Uploaded
pydoctor-16.2.1.tar.gz 94.7 kB Details

Release files / pydoctor-16.2.1.tar.gz

Download URL pydoctor-16.2.1.tar.gz
Size 94.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e6e1dee81d19d9058c0206064cfa15f6eeedaded74354cfc12f0449e70a733cb
BLAKE2b-256 checksum
How to use checksums
b9c5ea3393d1663deadbec4d4a99e03be2fa3bd32b93ad01078ffe2cf9ec6367
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

25.4.0

2 release files

24.3.3

2 release files

23.9.0

2 release files

23.4.1

2 release files

22.9.1

2 release files

22.9.0

2 release files

22.7.0

2 release files

22.5.0

2 release files

22.4.0

2 release files

22.3.0

2 release files

22.2.2

2 release files

22.2.1

2 release files

22.2.0

2 release files

21.9.2

2 release files

21.9.0

2 release files

21.2.0

2 release files

20.7.2

1 release file

20.7.1

1 release file

20.7.0

1 release file

16.3.0

1 release file

This release

16.2.1 This release

1 release file

16.2.0

1 release file

16.1.1

1 release file

16.1.0

1 release file

16.0.0

1 release file

15.1.0

2 release files

15.0.0

1 release file

0.5

1 release file

0.4

1 release file

0.4a1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page