Skip to main content

quivr-sphinx-autodoc

This is a Sphinx extension for autodoc of Quivr Tables.

Installation

Install with pip:

pip install quivr-sphinx-autodoc

Then enable by adding to the sphinx extensions in your conf.py sphinx configuration file:

extensions = [
    "sphinx.ext.autodoc",
    "quivr_sphinx_autodoc",
]

Usage

Once installed, documentation for quivr.Table subclasses will include tables which list the columnar schema and any scalar attributes.

This will automatically be enabled for any class declarations found with a .. automod:: directive.

If you're manually specifying classes, use .. autoqvtable:: <tablename>:

.. currentmodule:: adam_core.coordinates

.. autoqvtable:: CartesianCoordinates
  :members:

To add documentation for table columns or attributes, use the attribute docstring syntax, which is to lead with #::

class MyTable(qv.Table):
    x = qv.Float64Column()
    
    #: Example of a documented y field
    y = qv.Int64Column()
    
    #: this one is documented
    #: on multiple lines
    #: and has inline ReST text, which works
    #: 
    #: .. warning::
    #:    Do not use
    z = qv.ListColumn(pa.int32())

Metadata

Release files for quivr-sphinx-autodoc 0.2.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 quivr-sphinx-autodoc 0.2.0
File Size Uploaded
quivr_sphinx_autodoc-0.2.0.tar.gz 1.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for quivr-sphinx-autodoc 0.2.0
File Interpreter ABI Platform
quivr_sphinx_autodoc-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / quivr_sphinx_autodoc-0.2.0.tar.gz

Download URL quivr_sphinx_autodoc-0.2.0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
0164ea2908f580a630fbbf26afab0dc745d8ff8cd92a0ca3924ef401eb388141
BLAKE2b-256 checksum
How to use checksums
4f0afea6889f24436b33b56dda5d1ed5948ffbadffa7f75084a8edd840b0d598
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.25.0

Release files / quivr_sphinx_autodoc-0.2.0-py3-none-any.whl

Download URL quivr_sphinx_autodoc-0.2.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
597de358f56b2eb247881561700ee51ef474fd8a61541cf46d759a34dc0191b6
BLAKE2b-256 checksum
How to use checksums
973abcbfee2985fe60fb7ae9e24fb6800fe35f7dc74d64aea89bdef24858c152
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.25.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.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