I'd like to generate SVG images (e.g. general artwork, not just charts or graphs) using Python. What's the best Python SVG library that supports broadest range of SVG's feature set?
+2
A:
Inkscape looks more than capable for doing advanced SVG creation/manipulation, but it's written in C++. If Python wrappers existed I'd be more than delighted. Maybe some some cli wrappers + `subprocess` calls would work, but I just took a brief overview of the source. I'll give you a +1 for pointing me to in right the direction when I have to do some SVG manipulation (which should be rather soon.) Oh, and I added links to your post, I hope you don't mind.
sdolan
2010-08-22 23:44:07
I'm aware of Inkscape, but I don't think it's suitable. It assumes you're running Python inside Inkscape, not the other way around as I need it.
Chris S
2010-08-23 13:18:44
+1
A:
Hi,
See my answer to this question: http://stackoverflow.com/questions/3501215/svg-interaction-in-python-with-cairo-opengl-and-rsvg/3506346#3506346
echo-flow
2010-08-22 19:43:36
Sorry, but I'm looking for something pure-Python. Requiring Jython so you can access Java libs isn't suitable for me.
Chris S
2010-08-23 01:50:04