Here's a general purpose SVG library in Python: pySVG.
Hank Gay
2009-03-11 15:15:47
Try using matplotlib. You can configure it with a SVG backend.
PyChart "is a Python library for creating high quality Encapsulated Postscript, PDF, PNG, or SVG charts."
You can use Graphviz to generate diagrams in SVG format. There are Python bindings to Graphviz e.g., pydot -- Python interface to Graphviz's Dot language.
svgfig looked like a more substantial project, mentioning several iterations, but the installer gave an error on mac os x. i'm working with pysvg now, will update later