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
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.20.1.zip
.
File metadata
- Download URL: Pweave-0.20.1.zip
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56d6e8aea8bb2f9ed87867da8a225ae22479fa123c1f523b46ce9680a2c6b512 |
|
MD5 | 3ebee19abe7a12fc021d1c39815d4e71 |
|
BLAKE2b-256 | 35fd2ec0ba87e124fc7f10fc746dd60b77316e6f10ff28258f312845808431d8 |
File details
Details for the file Pweave-0.20.1.tar.gz
.
File metadata
- Download URL: Pweave-0.20.1.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24851fc7202270c0e09b97a42eb8db9eb0379d584c6d9a15f73135b7a6fbbe51 |
|
MD5 | 66d64c5c6f5db34a7f1deefbb01ff82a |
|
BLAKE2b-256 | 55ab839ee02b12441a64e6e7ed9cd2f90f3be826cd1f3378a159e3d9469f931b |
File details
Details for the file Pweave-0.20.1.win-amd64.exe
.
File metadata
- Download URL: Pweave-0.20.1.win-amd64.exe
- Upload date:
- Size: 245.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc9313d13b978ce7aeb6cc85c6f94946d9b419869f7312ad28e4c2ad534bbd85 |
|
MD5 | 4f234d03095c2aaf6dcba495a4c7e6aa |
|
BLAKE2b-256 | 9cf76193f345586f571147454762d0b08865c1dcbafe64fcfe17b815a2a7c9f8 |
File details
Details for the file Pweave-0.20.1.win32.exe
.
File metadata
- Download URL: Pweave-0.20.1.win32.exe
- Upload date:
- Size: 217.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5895882af5186a7bc6fbf07d3325b736ee0026580b8bb3f8de5c6190cf112987 |
|
MD5 | 9eb94e338d6aa6c7860b867062ffbb8e |
|
BLAKE2b-256 | 824ac7d449c4baa60f39de3eda09b7339cb8dc9789531fbc3435b4ac03af90ca |
File details
Details for the file Pweave-0.20.1-py2.7.egg
.
File metadata
- Download URL: Pweave-0.20.1-py2.7.egg
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c1a87e662bb4c2c10367fda01fe5db24af9d749531d3aa5f711c7113f1d05a7 |
|
MD5 | 0d6f227222463e36d4469d49a03e7ba4 |
|
BLAKE2b-256 | 71af45f2d4c9abf331df94e4a8fbf003f9f0918eb1d9fa4a508f834879bc2cbc |