Skip to content

k-lessa/polyprops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors