pySVG is a pure Python library to create SVG documents. Essentially it is a python wrapper around svg with the goal to allow people to “program svg”. pySVG can be used to produce svg as an outcome of algorithms you implement (like koch curves, Lindenmayr systems etc.) Working with pySVG is pretty straightforward. There is a small tutorial in the docs folder but i would suggest refering to the test