Scientific Reports Using Python — Pweave v0.30 documentation (original) (raw)

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. It is able to run python code from source document and include the results and capturematplotlib plots in the output.

Note

Pweave 0.30 has been updated to use IPython to run code from the documents. This brings support for IPython magics and rich output and support for other.

Features:

_images/pweave_atom.png

Pweave markdown document in Atom together with output. Atom support using language-weave-package.

Note

Report bugs on Github. Post your questions and comments to Pweavegoogle group.

Install and quickstart:

with pip:

pip install --upgrade Pweave

with conda:

conda install pweave -c conda-forge

After the installation you get options with:

$ pweave --help $ ptangle

Thanks

Pweave was originally inspired by Sweave, an excellent tool for R programmers. The current version has also been influenced by ideas from knitrand R markdown.

Thanks to following people for contributing patches and ideas: Jakub Kowalski, Tamas Nepusz, Nicky van Foreest, Mark Edgington, Thomas Unterthiner, Matthew McDonald, Grant Goodyear, Aaron O’Leary, Thomas Saunders and contributors on Githubhttps://github.com/mpastell/Pweave/graphs/contributors.