Python library to generate SVG files.
Features:
Based on svg-xsd-schema and MDN reference.
python3 -m pip install --user svg.py
Try svg.py online: svg.orsinium.dev.
import svg canvas = svg.SVG( width=60, height=60, elements=[ svg.Circle( cx=30, cy=30, r=20, stroke="red", fill="white", stroke_width=5, ), ], ) print(canvas)
See examples for more.
The github topic svg-py contains some of the projects that use svg.py in one way or another. If you want your project to appear on the list, simply add svg-py
into the list of project topics. Here is how.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4