2D shapes abstraction
Project description
shape
is a Python package for 2D shapes handling.
Features
- objects:
- abstract shape
- point
- polygon
- bounding box
- rotated bounding box
- ellipse
- relations: intersection, closeness
- manipulation: move and rotate
- visualization using matplotlib
Installation
pip install shape
Documentation
See tests for now.
Alternatives
https://github.com/varunagrawal/bbox
- bounding box only
- lightweight
https://github.com/shapely/shapely
- complex
- based on C++ GEOS library
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shape-0.1.1.tar.gz
(10.4 kB
view hashes)
Built Distribution
shape-0.1.1-py2.py3-none-any.whl
(14.3 kB
view hashes)
Close
Hashes for shape-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d73f8618c2628f159ddcf22a271c43c85076d18ea536a31da556ff40dac00a06 |
|
MD5 | 8f9b9613cfcb56ca1762d89ef82136b7 |
|
BLAKE2b-256 | e9dd548fce0c6f7a4c06c7ab44753bf3db782ab06545a979a994f61cc9e16acb |