Metadata-Version: 2.4
Name: percently
Version: 0.1.2
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Summary: A fast and efficient percentile calculator written in Rust.
Keywords: percentile,statistics,Rust,Python
Home-Page: https://github.com/4thel00z/percently
License-Expression: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# percently

## Motivation

A fast percentile calculator written in rust, to use to calculate the buckets etc. after performing a loadtest, etc.

## Installation

```
uv add percently
```

or

```
pip install percently
```

## 🧮 Usage
```
import percently

# Example data
data = [10.5, 22.0, 18.7, 19.2, 30.1, 25.3]

# Calculate the 95th percentlyile (f64)
p95 = percently.percentlyile(data, 95)
print(f"95th percentlyile: {p95:.2f}")

Example output
95th percentlyile: 29.12
```

