Python Forum
2d vector library advice - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: 2d vector library advice (/thread-581.html)



2d vector library advice - kristofferorum - Oct-20-2016

Hi all,
 I'm a relative pythonic noob trying to figure out what library to use in order to do some 2d drawing with embedded bitmap graphics. I'm looking to output the results both as SVG for online use and (A4 sized) PDFs for print? I don't necessarily need a lot of advanced function, but some basic shapes and charting would be nice. Any suggestions for an up to date, platform agnostic and relatively well documented library for python 2.7 would be very welcome. So far i've looked at Pycairo (latest realease 2011/05/01), Mathplotlib (seems to lack flexibility, very focused on predefined chart types) and Plotly (expensive for SVG capabilities). Please tell me what I have overlooked.
ATB
Kristoffer


RE: 2d vector library advice - Larz60+ - Oct-20-2016

here's a list of 2d drawing packages available on PyPi:
https://pypi.python.org/pypi?%3Aaction=search&term=2d+drawing&submit=search