Sprout

This is a common Python library which contains reusable components, developed at Infrae.

Sprout, while mainly XML related, does not have a functional goal as such. Its goals instead are organizational:

  • Enable code reuse between projects, such as Silva and Infrae's topicmaps implementation
  • Allow us to write modern, pure Python code without external dependencies -- it only depends on the Python standard library.
  • Allow us to write solid code, covered by a large unit test suite. The lack of external dependencies and focus on modern code makes this easier.

While Sprout's aim is mainly for use within Infrae at present, the code inside should be general enough for use in your own projects as well.

Sprout's focus is mainly currently XML related. It features:

  • sprout.saxext, a library to make writing SAX-based code more easy.
  • htmlsubset, a system to easily create HTML-ish subsets that are secure and robust to wrong user input.

Code repository

The code for this extension can be found in Mercurial: https://hg.infrae.com/Sprout

Available releases

Release version Release date Release files
Sprout 1.1.1 May 23, 2013 11:38:59 AM Sprout-1.1.1.tar.gz
Sprout 1.1 Mar 5, 2013 5:48:43 PM Sprout-1.1.tar.gz
Sprout 1.0.5 Sep 3, 2012 4:10:57 PM Sprout-1.0.5.tar.gz
Sprout 1.0.4 Nov 7, 2011 12:13:57 PM Sprout-1.0.4.tar.gz
Sprout 1.0.3 Jul 15, 2010 4:19:02 PM Sprout-1.0.3.tar.gz
Sprout 1.0 Nov 17, 2008 4:58:18 PM Sprout-1.0-py2.4.egg
Sprout-1.0.tar.gz
Sprout 0.8 Mar 27, 2007 5:48:10 PM Sprout-0.8.tgz
Sprout 0.7 Mar 31, 2006 5:17:27 PM Sprout-0.7.tgz
Sprout 0.6.2 May 25, 2005 9:07:46 PM Sprout-0.6.2.tgz
Sprout 0.6.1 Feb 21, 2005 5:54:38 PM Sprout-0.6.1.tgz
Sprout 0.6 Jan 21, 2005 3:54:37 PM Sprout-0.6.tgz
Sprout 0.5.1 Dec 21, 2004 7:45:51 PM Sprout-0.5.1.tgz
Sprout 0.5 Sep 1, 2004 4:43:21 PM Sprout-0.5.tgz

License: New BSD