PyLit 0.7.5

Literate Programming with reStructuredText
PyLit (Python Literate) provides a plain but efficient tool for literate programming: a bidirectional text/code converter.

It converts between text with embedded source code and source code with embedded documentation (comment blocks).

Usage:
#> python pylit.py [options] INFILE [OUTFILE]

Options:


 --version show program’s version number and exit
 -h, --help show this help message and exit
 -c, --code2txt convert code source to text source
 --comment-string=COMMENT_STRING
 text block marker (default '# ')
 -d, --diff test for differences to existing file
 --doctest run doctest.testfile() on the text version
 -e, --execute execute code (Python only)
 --language=LANGUAGE
 use LANGUAGE native comment style
 --overwrite=OVERWRITE
 overwrite output file (default ‘update’)
 --replace move infile to a backup copy (appending ‘~’)
 -s, --strip export by stripping text or code
 -t, --txt2code convert text source to code source

Main features:

  • Dual Source
  • Simplicity
  • Markup with reStructuredText
  • Python Doctest Support

last updated on:
August 31st, 2009, 22:58 GMT
price:
FREE!
developed by:
G√ľnter Milde
license type:
GPL (GNU General Public License) 
category:
ROOT \ Programming \ Interpreters

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

What's New in This Release:
  • Bugfix: ignore blank lines in test for end of code block
read full changelog

Add your review!

SUBMIT