Skip to main content

sphinx-interrogatedb

This is a Sphinx extension that provides autodoc support for modules created by interrogate, by augmenting it with information provided by interrogate databases (.in files).

Usage

To make use of this extension, the following steps are needed:

  1. Install the module using pip.
pip install sphinx-interrogatedb
  1. Enable it in conf.py.
extensions = ['sphinx.ext.autodoc', 'sphinx_interrogatedb']
  1. Configure the search path for interrogatedb files.
interrogatedb_search_path = ['dir/containing/in/files/']
  1. Just use autodoc, autosummary or autopackagesummary as you would normally, and the .in files will automatically be processed.

Configuration

The following configuration options are supported:

  • interrogatedb_search_path: list of folders to search for .in files.
  • autodoc_interrogatedb_mangle_type_names: if True, converts type names in the way that interrogate's python-native back-end does by default.
  • autodoc_interrogatedb_mangle_type_names: if True, converts type names from snake-case to camel-case. False by default.
  • autodoc_interrogatedb_type_annotations: if True, shows argument and return types in function signatures using type hint syntax. True by default.
  • autodoc_interrogatedb_add_rtype: if True, adds an :rtype: directive to the bodies of docstrings with the return type. True by default.

License

This extension has been licensed under the terms of the Modified BSD License.

Metadata

Release files for sphinx-interrogatedb 2.0.2

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

Source distribution (sdist)

Source distribution for sphinx-interrogatedb 2.0.2
File Size Uploaded
sphinx_interrogatedb-2.0.2.tar.gz 11.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-interrogatedb 2.0.2
File Interpreter ABI Platform
sphinx_interrogatedb-2.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 23.3 kB

Release files / sphinx_interrogatedb-2.0.2.tar.gz

Download URL sphinx_interrogatedb-2.0.2.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f86d1a6f181885bc13af5bc2e000658c9a05f48b67c8ec330d94f1647a8fd1b9
BLAKE2b-256 checksum
How to use checksums
53c740388726fe0ad36c7df1efd09c489a91ef05eb2d0005fa2352b6df646a02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / sphinx_interrogatedb-2.0.2-py3-none-any.whl

Download URL sphinx_interrogatedb-2.0.2-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07914b886790d1abd8e105dc51466afd578f0f1b006ee3264eb592214ebbeacd
BLAKE2b-256 checksum
How to use checksums
eba9217da599d02e5be747f9f0d3237bacbd5a73131a8b6cc73867fc928dd908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files

2.0.1

2 release files

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

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