Literate programming with reST or LaTeX in Sweave style
Project description
About Pweave
Pweave is a literate programming tool for Python that is developed after Sweave. Like Sweave it uses the noweb syntax. Pweave is a single python script that is able to weave a python code between <<>>= and @ blocks and include the results in the document. Additionally it can capture matplotlib figures. It supports reST, Sphinx and Latex markup. Pweave is good for creating dynamic 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 ouput to a literate environment using either reStructuredText or Latex source. Using reST enables conversion of the documents to several formats (html, latex, pdf, odt).
Use hidden code blocks, i.e. code is executed, but not printed in the output file.
Capture matplotlib graphics.
Tested with: Linux, Mac OS X, Windows Python 2.6.
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 Distribution
File details
Details for the file Pweave-0.12.zip
.
File metadata
- Download URL: Pweave-0.12.zip
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0cb9d020d2ce8d4eb57f2f2ef5127b848d9578654483320ba31ece8f016b09c |
|
MD5 | d9d625d6690edbcad9e37e805999ce96 |
|
BLAKE2b-256 | bfdc7cca7595367d8dd55455dcab0ec59899d43ed3f91040e99650b9d9ca3242 |
File details
Details for the file Pweave-0.12.tar.gz
.
File metadata
- Download URL: Pweave-0.12.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1404f47067516eb77cbfeb15f97166f7f8387015ed8a991202e88ece49ab5687 |
|
MD5 | 6a522e27615182a590b431a26863b609 |
|
BLAKE2b-256 | acae40279c19ce70451e943a170ccd42f01f8eb4d12b40b1255bf1a3f5fa6501 |
File details
Details for the file Pweave-0.12.win32.exe
.
File metadata
- Download URL: Pweave-0.12.win32.exe
- Upload date:
- Size: 205.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ffefe798c043d1b4d91240f8e1c492ca4aa43b57f3fc7a6510deca18bed3ff8 |
|
MD5 | b27c0ae892d7d1a0e60309133923aef4 |
|
BLAKE2b-256 | 114abd175e7eb143d506aa57cd380e4a5ea00559453572c2a755a520735b1b65 |