Skip to main content

This sphinx extension helps you document Python code that uses async/await, or abstract methods, or context managers, or generators, or … you get the idea. It works by making sphinx’s regular directives for documenting Python functions and methods smarter and more powerful. The name is because it was originally written for the Trio project, and I’m not very creative. But don’t be put off – there’s nothing Trio- or async-specific about this extension; any Python project can benefit. (Though projects using async/await probably benefit the most, since sphinx’s built-in tools are especially inadequate in this case.)

Vital statistics

Requirements: This extension currently assumes you’re using Python 3.5+ to build your docs. This could be relaxed if anyone wants to send a patch.

Documentation: https://sphinxcontrib-trio.readthedocs.io

Bug tracker and source code: https://github.com/python-trio/sphinxcontrib-trio

License: MIT or Apache 2, your choice.

Usage: pip install -U sphinxcontrib-trio in the same environment where you installed sphinx, and then add "sphinxcontrib_trio" to the list of extensions in your project’s conf.py. (Notice that "sphinxcontrib_trio" has an underscore in it, NOT a dot. This is because I don’t understand namespace packages, and I fear things that I don’t understand.)

Code of conduct: Contributors are requested to follow our code of conduct in all project spaces.

Metadata

Release files for sphinxcontrib-trio 1.1.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 sphinxcontrib-trio 1.1.1
File Size Uploaded
sphinxcontrib-trio-1.1.1.tar.gz 23.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinxcontrib-trio 1.1.1
File Interpreter ABI Platform
sphinxcontrib_trio-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 36.0 kB

Release files / sphinxcontrib-trio-1.1.1.tar.gz

Download URL sphinxcontrib-trio-1.1.1.tar.gz
Size 23.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e93fbd6839c8b3c3084d8b2023418c692ca621c13df85f9fe54d0f95ff6c3ef4
BLAKE2b-256 checksum
How to use checksums
38c00f514e36c8d925e95a26ece15ce24b8375ae50fc133def2a7f39768866a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / sphinxcontrib_trio-1.1.1-py3-none-any.whl

Download URL sphinxcontrib_trio-1.1.1-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc538ccbfbcedeb91ba645f844f893e1faa18037b3368c10b04f975812a3413f
BLAKE2b-256 checksum
How to use checksums
ff37c2f149406354b028f8da9d66b05f5b304dbacc06c62352c750833a490df0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release history Release notifications | RSS feed

1.2.0

2 release files

1.1.2

2 release files

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.9.0

2 release files

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