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.0-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.0-cp312-none-win_amd64.whl.

File metadata

  • Download URL: polyprops-1.0.0-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.0-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 652a0cd6c180b7aa514a66f9603d5bbb0ef41538a8923b418f1de0ac1f046258
MD5 759ce32bb5ec2831099117e3aa75626c
BLAKE2b-256 6d73d70526f1b04cdce36fa5e22d98b3b43e190fa030d402733a5f6f0b486353

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