[Baypiggies] Python + SVG
keith at dartworks.biz
Tue Dec 14 05:49:14 CET 2010
=== On Tue, 12/14, Venkatraman S wrote: ===
> Has anyone played around creating SVGs with Python? Is this as simple
> as creating a
> 'proper' svg compatible XML?
I took a cursory look around for such a thing some time ago. I think
the best option is to use the Inkscape APIs. Inkscape is mostly
implemented in Python, and uses the lxml module, which is widely
regarded as being the best XML module for Python.
Inkscape allows you to write plugins in Python, and has libraries for
creating SVG. I haven't actually got a chance to really dive in and use
it, however, but it looks promising.
-- Keith Dart
Keith Dart <keith at dartworks.biz>
public key: ID: 19017044
More information about the Baypiggies