easysvg

A simple Python SVG library


Keywords
svg, simple
License
Other
Install
pip install easysvg==0.2.1

Documentation

easysvg

Simple SVG library for Python3

Usage

import easysvg

svg = easysvg.SvgGenerator()
svg.begin(640, 480)

svg.text('This is text', 20, 100)
svg.circle(320, 360, 100, '#ff0000')

svg.end()
svg_string = svg.get_svg()
print(svg_string)