Skip to main content

A Python package used for the analysis of polygon properties with a focus on performance.

Project description

polyprops

polyprops is a Python package written in Rust used for the analysis of polygon properties with a focus on performance.

Features

  • Fast and efficient calculation of polygon properties using algorithms written in Rust

Installation

Install polyprops with pip:

  pip install polyprops

Usage/Examples

import polyprops as pp

# Create a polygon
polygon = pp.Polygon([
    0, 0,
    10, 0,
    10, 10,
])

# Calculate the area
area = polygon.area()

# Calculate the centroid
centroid = polygon.centroid()

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

polyprops-1.0.2-cp312-none-win_amd64.whl (131.0 kB view details)

Uploaded CPython 3.12Windows x86-64

File details

Details for the file polyprops-1.0.2-cp312-none-win_amd64.whl.

File metadata

  • Download URL: polyprops-1.0.2-cp312-none-win_amd64.whl
  • Upload date:
  • Size: 131.0 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for polyprops-1.0.2-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 26335569fa3341ab0b584a943d5f76e4423f192f20d285dcd8947c31ac9f5074
MD5 846b693ae05efee8d95a7415b1eb6749
BLAKE2b-256 1c62073b5255fc86e0745b9e99624821c57acb14fda721d04448a4c0943025fe

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