shapely

Manipulation and analysis of geometric objects

Here are some articles that you may find helpful