Skip to main content

No project description provided

Project description

geom-props

Installation

pip install geom-props

Usage

from shapely import Polygon
from geom_props import area, perimeter

polygon = Polygon([
    [-51.73378826916447, -19.82529005404656],
    [-51.733842668569835, -19.821453938187894],
    [-51.73789902019809, -19.821505344064033],
    [-51.7378447179625, -19.82534147068279],
    [-51.73378826916447, -19.82529005404656]
])

print(f'Area: {area(polygon)} m²')
print(f'Perimeter: {perimeter(polygon)} m')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geom-props-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geom_props-1.0.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file geom-props-1.0.0.tar.gz.

File metadata

  • Download URL: geom-props-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for geom-props-1.0.0.tar.gz
Algorithm Hash digest
SHA256 eaea1203b113b9d1836bdd578338151035252c04ff26f9d41e04cd29ec23c14c
MD5 0a86b260326605b4955a2887cbc5f3ff
BLAKE2b-256 9cdad8c8ac47e47b715ae728389ba62307c0a326bd52173dbb4b49a1b638ee43

See more details on using hashes here.

File details

Details for the file geom_props-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: geom_props-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for geom_props-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f56695b146d90af37e798da47ad64fceae85e874a3206993ed5c8036d899971d
MD5 91c3a3e977b09c126d02d222fdbaef8f
BLAKE2b-256 ebc9ce7c048f6bebac731f640f1c4a4eebe007272278ccc34f7792eee310d553

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page