Kartograph is a Python library that generates SVG maps from ESRI shapefiles. Please have a look at the API docs for more details.
Kartograph was created by Gregor Aisch. It is supported by Piwik Web Analytics and the Open Knowledge Foundation.
Kartograph.py is licensed under AGPL