Skip to main content

Sphinx directives for CSV-powered tabular authoring.

Project description

sphinx-tabular

Full documentation

Features

  • Sphinx extension.
  • Uses standard CSV file format.
  • Easily merge table cells with < and ^.
  • Support reStructuredText and Markdown.
  • Support for inline table data and external files.
  • Optional sticky header support for one or more header rows.
  • Provides a minimal set of spreadsheet formulas.
  • Set table cell alignment and per-cell alignment in both horizontal and vertical directions.
  • Set custom cell text and background colors.
  • Custom status pill.
  • Support for Font Awesome and Bootstrip icons if installed by your theme.

Installation

pip install sphinx-tabular

conf.py

extensions = [
    ...,
    'sphinx_tabular',
    ...,
]

Directives

RST, external file:

.. rcsv-table:: Title
    :file: table.rcsv

RST, inline data.

.. rcsv-table:: Title

    Col 1, Row 1
    Col 2, Row 2

MD, external file:

.. rcsv-table:: Title
    :file: table.rcsv

MD, inline data.

.. rcsv-table:: Title

    Col 1, Row 1
    Col 2, Row 2

Merging Cells

Columns

.. rcsv-table:: Title

    Merged,<
    Unmerged, Unmerged

Rows

.. rcsv-table:: Title

    Merged,Unmerged
    ^, Unmerged

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_tabular-0.1.1.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_tabular-0.1.1-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_tabular-0.1.1.tar.gz.

File metadata

  • Download URL: sphinx_tabular-0.1.1.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sphinx_tabular-0.1.1.tar.gz
Algorithm Hash digest
SHA256 694f53fbd259f338a9bc1e55cdced4343eb1b47d944b69af9c7eca20c7b8bb20
MD5 c9a91a54f5afedfa317907b9fbd5258d
BLAKE2b-256 38db3807dfd854cfd43d030940a73420eb36f36d5e0d1cd130e8d2d94e7de6e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_tabular-0.1.1.tar.gz:

Publisher: publish.yml on deepthinker2001/sphinx-tabular

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sphinx_tabular-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sphinx_tabular-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sphinx_tabular-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 30c7e97cc2796381740e77850c4ca524b4711fb1c628449ae83ff0c38d67be25
MD5 72bae503a1646312d7b433513dae2270
BLAKE2b-256 dc93371581399b03b5a51d031ef24006bf192cfd0fba8a2af9fa99e58ff56e2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_tabular-0.1.1-py3-none-any.whl:

Publisher: publish.yml on deepthinker2001/sphinx-tabular

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page