If you want to use Inkscape as an "IDE" to develop graphics that can be animated by Python then have a look at my "Things!" project. http://otherwise.relics.co.za/wiki/Software/Things/
(It uses GTK and Cairo and libRSVG)
Features
1. Keyframe and tweening by using simple strings. 2. Containment — place things within other things to get complex animations. 3. Path following — this works, but the code needs some love. Please help me. 4. Clipping — You can clip things into any path. 5. Hit detection — A basic “is the mouse on me” test. There is also a button Thing based on this. 6. Manage your artwork and fonts — Use the Bag Of Stuff to contain all your raw materials. 7. Quick shapes and other functions — Use the Box Of Tricks to do all kinds of things. 8. It all works from Python via a simple API. 9. Export each frame to alpha PNG files or SVG files! This will let you make: 1. Quick AJAX throbbers. 2. Animated gifs. 3. import frames into other software (Blender for example.)
\d