svgwriteA Python library to create SVG drawings | |
Download |
svgwrite Ranking & Summary
Advertisement
svgwrite Tags
svgwrite Description
A Python library to create SVG drawings svgwrite is a Python library to create SVG drawings.A simple example:import svgwrite as svgdrawing = svg.drawing('test.svg')drawing.add(svg.line((0, 0), (10, 0), color=svg.rgb(0, 0, 16)))drawing.add(svg.text('Test', insert=(0, 0.2))drawing.save()Installationwith pip:pip install svgwriteor from source:python setup.py install Requirements: · Python What's New in This Release: · alpha version · validator rewritten as validator2.py · debug and profile options separated for each drawing object · important change: create objects with factory functions of the Drawing class: drawing.(...) · added mixins for setting stroke and fill properties · new elements: - Hyperlink - Image - TextArea
svgwrite Related Software