3 ms·
In addition to the libraries discussed on the linked page, have a look at Shapely: https://pypi.python.org/pypi/Shapely https://pypi.python.org/pypi/Shapely if
by jofer 12y ago
In addition to the libraries discussed on the linked page, have a look at Shapely: https://pypi.python.org/pypi/Shapely https://pypi.python.org/pypi/Shapely if you're not already aware of it.
It's GIS-oriented, but in practice, it can be very useful even if you're not strictly dealing with geospatial data.