Create Dynamic SVGs using Python3
Project description
PySVG
The Python library for generating dynamic SVGs using Python3
Version: 0.0.3
Installation
pip install python-svg
Note: This library is still under development
Example:
import svg
from svg.canvas import Canvas
from svg.shapes import Rectangle
from svg.server import svg_server
canvas = Canvas(500, 500)
rect1 = Rectangle(200, 100, canvas)
svg_server(canvas=canvas, port=8000)
The browser will redirect you to localhost:port and you can see the SVG ouput!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python_svg-0.0.5.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for python_svg-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdf8b2a93b3486c3a8d265aeda5ae30cc6705aa40664ad1f81159597e310ccd8 |
|
MD5 | 393b973d0b52f21393e8ac1d603d5656 |
|
BLAKE2b-256 | cf6c4ef3ab0932c944d2162288094acf08bb59b3f78ad36cf8cc4b3a9ac8b948 |