Skip to main content

Sphinx "added-value" extension

Project description

A Sphinx extension for embedding Python object values into documentation as text, lists or tables.

This is achieved by adding new roles and directives which refer to Python objects which contain the values to be represented. The extension provides roles for embedded single and lists of values, and a sophisticated directive for rendering complex data structures like lists of dictionaries as tables.

Status

Build status:

https://travis-ci.org/sixty-north/added-value.svg?branch=master Documentation Status https://coveralls.io/repos/github/sixty-north/added-value/badge.svg?branch=master

Installation

The added-value package is available on the Python Package Index (PyPI):

https://badge.fury.io/py/added-value.svg

The package supports Python 3 only. To install:

$ pip install added-value

Development

Maintenance

$ pip install -e .

Testing

$ pip install -e .[test]
$ pytest --cov=source tests

Documentation

$ pip install -e .[docs]
$ cd docs
$ make html

Release

$ pip install -e .[deploy]
$ bumpversion minor
$ python setup.py sdist bdist_wheel
$ twine upload --config-file <path>/sixty-north.pypirc dist/*
$ git push origin

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

added-value-0.17.0.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

added_value-0.17.0-py2.py3-none-any.whl (28.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file added-value-0.17.0.tar.gz.

File metadata

  • Download URL: added-value-0.17.0.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for added-value-0.17.0.tar.gz
Algorithm Hash digest
SHA256 ad17ceae574ea7f802c6b35c829415ad9d15d716fe8277aea8b533fb39cfd0b5
MD5 c7ce1fc1620fa895ac306073a7ed31b1
BLAKE2b-256 be284ec4b356bd6b0580ba1644500e5b0ba0a39ff041ea956ee02876a9b669e7

See more details on using hashes here.

Provenance

File details

Details for the file added_value-0.17.0-py2.py3-none-any.whl.

File metadata

  • Download URL: added_value-0.17.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for added_value-0.17.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ccd6fdffd15e1eeecef027176d62e193ed830a9f567a9939dda5737feee81cfc
MD5 e1655ea219f21a9372b70567c2287e9e
BLAKE2b-256 bda50671cff68ef50fbee56e16652196820788fccf0d26edec32a0db295fdc02

See more details on using hashes here.

Provenance

Supported by

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