Pweave is a Python library for creating documents that capture the results of Python computations.
Pweave is a scientific report generator and a literate programming tool for Python. Pweave can capture the results and plots from data analysis and works well with numpy, scipy and matplotlib. Pweave is inspired by Sweave, an excellent tool for R programmers, and the syntax is mostly compatible with it. Pweave supports reST, Sphinx, Latex, and Pandoc markdown markups.
Features:
- Python 2.7 and 3.4 compatibility
- Execute python code in the chunks and capture input and output to a report. Use hidden code chunks, i.e. code is executed, but not printed in the output file.
- Capture matplotlib graphics.
- Evaluate inline code in documentation chunks
- Cache all code and results from previous runs for fast report generation when you are only working with documentation. Inline code will be hidden in documentation mode.
- Supports reST, LaTeX, HTML or markdown for document chunks
- Publish reports from Python scripts. Similar to R markdown.
- Run from command line or interpreter.
- Support also for Octave and Matlab code.