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.1-cp312-none-win_amd64.whl (250.4 kB view details)

Uploaded CPython 3.12Windows x86-64

File details

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

File metadata

  • Download URL: polyprops-1.0.1-cp312-none-win_amd64.whl
  • Upload date:
  • Size: 250.4 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.1-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 dd410012f57904e6199739fa80b40bb37cb24211510a6c9bd05962f6fdaa6762
MD5 c7bcb1fc7decd62fedd1fb8f5e91efbc
BLAKE2b-256 4a3dc2bb415ecc421334589b5c9244965703a71f7744d24fa693789d3a82d4d2

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