Pweave - reports from data with Python

Table Of Contents

Previous topic

Using Pweave with Emacs

This Page

Release notes

0.20.1

Released: 10th, October 2011

  • Included tangling script and function: Ptangle and pweave.ptangle
  • Pweave and Ptangle are now .exe files in Windows and can (and must) be executed without the .py extension.
  • Bug fix: Pweave no longer adds extra line to the start of file -> pandoc title blocks work now.

0.20

Released: 8th, October 2011y

  • This is a major release and Pweave is completely restructured
  • Pweave is now a library and can be run from the interpreter, this has multiple advantages
    • several documents can share same namespace.
    • you can work interactively after running pweave
    • Function pweave.pweave exposes most options, pweave.Pweb class makes it possible to customasize the execution and formatting with direct access to parsed and executed code before formatting and writing.
  • You can now embed code in doc chunks using ERB syntax
  • Documentation mode caches all results from code chunks so you don’t need to rerun it when working with doc chunks.
  • New format, Pandoc markdown
  • New option: use minted with Latex
  • Easy to specify new formats using custom dictionary
  • Hidden option for results
  • Support for capturing Sho plots for Ironpython users.
  • Bug fixes.
    • chunk start and end detection improved, decorators are working now.
    • term mode now executes chunks with term = False if execution fails.

0.13

Released: 3rd, February 2011

  • Improved term mode, you can now use for loops etc. indented blocks in term mode (Contributed by Tamas Nepusz).
  • Code runs in its own environment instead of global environment (Contributed by Tamas Nepusz).

0.12

Released: 4th, May 2010

  • Added terminal mode for output
  • Figure options: add image caption, making it a figure
  • Small bug fixes to capturing output
  • Documentation: added howto for using Pweave with Emacs and more complete example

0.11

Released: 22th, March 2010

  • Command line option for choosing figure format
  • Figure options: control image width
  • Bug fixes for adding images
  • Pweave now extracts code from the source document

0.10,

Released: 12th, March 2010

  • Initial release