A fast and efficient percentile calculator written in Rust.
Project description
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 percet
🧮 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
percently-0.1.1.tar.gz
(5.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file percently-0.1.1.tar.gz.
File metadata
- Download URL: percently-0.1.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e31b0fe7aad62359da95072a6ce0e1bf866a97488171b6a2f3078c16407409e
|
|
| MD5 |
c2a44742ff5852855cc9485a38713aa7
|
|
| BLAKE2b-256 |
d2daa01bd1a52f7bb680e1650e578405f883daa98cde887078b41a0a5f3d3540
|
File details
Details for the file percently-0.1.1-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: percently-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 172.0 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0bd4183f4acc85dae8ea583d1f50afdd414c839cfd06a9f1a5bb20d6e3b5dc1
|
|
| MD5 |
fe8a087881800be6e7eea136ccc08fa2
|
|
| BLAKE2b-256 |
c284434d5ddad0df168076128333b4e0ced3d7b73c5b82c17e73d99d1d6ddca5
|