pyRestTable

Format a nice table in reST (reStructuredText ) from Python.

Each cell may have multiple lines, separated by a newline. The content of each cell will be rendered as str(cell). At present, pyRestTable only supports tables with content that does not span any cells (no rowspans or columnspans).

author:

Pete R. Jemian

email:

prjemian@gmail.com

copyright:

2014-2017, Pete R. Jemian

license:

Creative Commons Attribution 4.0 International Public License (see LICENSE.txt)

docs:

http://pyRestTable.readthedocs.io

URL:

https://github.com/prjemian/pyRestTable

PyPI:

https://pypi.python.org/pypi/pyRestTable/

TODO list:

https://github.com/prjemian/pyRestTable/issues

build:https://travis-ci.org/prjemian/pyRestTable.svg?branch=master
coverage:https://coveralls.io/repos/github/prjemian/pyRestTable/badge.svg?branch=master
version:

2017.2.0+0.ga7f8967.dirty

release:

2017.2.0+0.ga7f8967.dirty<2017-02-15T10:04:33-0600>

published:

February 15, 2017

Features

  • create simple, plain, grid (also known as complex), and list-table reST formatted tables
  • defines table cells through Python lists, row-by-row
  • use with Python 2 or Python 3
see:http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#tables

Indices and tables