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.


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.1.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 16.1.0
File Size Uploaded
pydoctor-16.1.0.tar.gz 94.4 kB Details

Release files / pydoctor-16.1.0.tar.gz

Download URL pydoctor-16.1.0.tar.gz
Size 94.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8a56523ac37d1565a36110817ac108c025bb916ecb8b163e35ede63a2b3f6ca7
BLAKE2b-256 checksum
How to use checksums
d3d21ea64e121c88c326e05168f43c8c956dd2a63db2b7bf23adcd1eca463a5a
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

16.2.1

1 release file

16.2.0

1 release file

16.1.1

1 release file

This release

16.1.0 This release

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