rstspreadsheet is a module that adds the spreadsheet directive for reStructuredText. You can use it from Docutils or Sphinx. Any Python function/module can be used to calculate the cell value.
Install:
pip install rstspreadsheet # or
easy_install rstspreadsheet
Usage:
Use as a standalone program:
python -m rstspreadsheet sample.rst sample.html
Or use as a sphinx extension by adding it to extensions:
extensions = [
# other extensions...
'rstspreadsheet']
Requirements:
· Python