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 details)
Built Distribution
shape-0.1.1-py2.py3-none-any.whl
(14.3 kB
view details)
File details
Details for the file shape-0.1.1.tar.gz
.
File metadata
- Download URL: shape-0.1.1.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc50cb2f0d637611acb48cf5426ee626be2ae7378f03e86dce4363c0cc1eae63 |
|
MD5 | 16a614103164f6048d9d3c5a0cd3e6f2 |
|
BLAKE2b-256 | a09337a1972de1553c4866653566faa0d498c0b4b2a331f7e5f748bd137b9575 |
File details
Details for the file shape-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: shape-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d73f8618c2628f159ddcf22a271c43c85076d18ea536a31da556ff40dac00a06 |
|
MD5 | 8f9b9613cfcb56ca1762d89ef82136b7 |
|
BLAKE2b-256 | e9dd548fce0c6f7a4c06c7ab44753bf3db782ab06545a979a994f61cc9e16acb |