Metadata-Version: 2.1
Name: python-svg
Version: 0.1.0
Summary: Create Dynamic SVGs using Python3
Home-page: https://github.com/KrishnaKanth1729/PySVG
Author: KrishnaKanth1729
Author-email: rkrishnakanth1729@gmail.com
License: UNKNOWN
Keywords: python,svg
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown

# PySVG
## The Python library for generating dynamic SVGs using Python3

Version: 0.0.5

## Installation
```
pip install python-svg
```

Note:
    This library is still under development

Example:
```python
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)
```

To Access the raw SVG in a form of a string
```python
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_code = canvas.svg_content()
print(svg_code)
```

#### The browser will redirect you to localhost:port and you can see the SVG ouput!


### There will be a RestAPI Version for the same library soon ;)
### By KrishnaKanth1729

