Scientific reports with embedded python computations with reST, LaTeX or markdown
Project description
About Pweave
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.
Pweave uses the noweb syntax for separating code from documentation, but it also supports ERB style evaluation of inline code. Pweave is able to weave a python code between <<>>= and @ blocks and include the results and capture matplotlib plots in the document. Inline code in documentation chunks is marked using <% %> (code will be evaluated in place) and <%= %> (result of expression will be printed) tags. Pweave is good for creating reports and tutorials. It can also be used to make websites together with Sphinx or rest2web.
Features:
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 or Pandoc markdown for document chunks
Run from command line or interpreter
Install:
With easy_install::
easy_install -U Pweave
Or download the source package and run::
python setup.py install
Documentation
Pweave documentation can be found from the website http://mpastell.com/pweave
Release Notes
Release are in: http://mpastell.com/pweave/release.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file Pweave-0.21.1.zip
.
File metadata
- Download URL: Pweave-0.21.1.zip
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e1f4d2211a16ddf9c4c6c716a6f631c0e87fa4ad805a216eb16d8c47d242c66 |
|
MD5 | c98452d45159521b8278c60bc97aa961 |
|
BLAKE2b-256 | 2ca2ae5655bf2d74e82be91247cc1f62a1420783cdf4283a295ea921b27591d1 |
File details
Details for the file Pweave-0.21.1.tar.gz
.
File metadata
- Download URL: Pweave-0.21.1.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a3bce39d77c5c01b25f15a390b60cad89193e7a16725e83246c6012cc68b070 |
|
MD5 | 2ef3880b3e8c91d4443f5e02942cdb8c |
|
BLAKE2b-256 | cc1b3acf11034840b8e13f21eef0b2af09098c15a7286f830bd4d6b2d787f28e |
File details
Details for the file Pweave-0.21.1.win-amd64.exe
.
File metadata
- Download URL: Pweave-0.21.1.win-amd64.exe
- Upload date:
- Size: 319.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f7ebe007ed6d2889b641d6fe5b9dae318e89ae7d22fd4614dbe5a7eca2d9307 |
|
MD5 | 9d7c3230ae2c18d34590e44022d68896 |
|
BLAKE2b-256 | 9dca8cd95feb8cb161b6f11cf5b2af5c7713e1efbb7b9287394c9ea8ab38639c |
File details
Details for the file Pweave-0.21.1.win32.exe
.
File metadata
- Download URL: Pweave-0.21.1.win32.exe
- Upload date:
- Size: 289.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2de4bb77a9dbb1762da8131f7666cd0eea3db95ef97b5464b825d482e548147b |
|
MD5 | 05239741d1b89d822d00ef49753fd78b |
|
BLAKE2b-256 | f156b025e3d32d3b91c965e209720850d0fec9f3dbe893759ffe447dc6d79f70 |
File details
Details for the file Pweave-0.21.1-py2.7.egg
.
File metadata
- Download URL: Pweave-0.21.1-py2.7.egg
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca3d00d2b3e8871af8b75f008845cde54bd40863f70395dfc3e02c1f34fc1ff5 |
|
MD5 | 1b57840b63c9b5a7aace756f28b77833 |
|
BLAKE2b-256 | a248ee518078dc97b38fa188995356ce74824e2f57e70d8650c69386ce5bec42 |