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
Metadata
Release files for shape 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| shape-0.1.1.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| shape-0.1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 24.7 kB
Release files / shape-0.1.1.tar.gz
| Download URL | shape-0.1.1.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc50cb2f0d637611acb48cf5426ee626be2ae7378f03e86dce4363c0cc1eae63
|
|
BLAKE2b-256 checksum How to use checksums |
a09337a1972de1553c4866653566faa0d498c0b4b2a331f7e5f748bd137b9575
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.4
|
Release files / shape-0.1.1-py2.py3-none-any.whl
| Download URL | shape-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d73f8618c2628f159ddcf22a271c43c85076d18ea536a31da556ff40dac00a06
|
|
BLAKE2b-256 checksum How to use checksums |
e9dd548fce0c6f7a4c06c7ab44753bf3db782ab06545a979a994f61cc9e16acb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.4
|