A fast and efficient percentile calculator written in Rust.
Project description
percently
Motivation
A fast percentlyile 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.0.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.0.tar.gz.
File metadata
- Download URL: percently-0.1.0.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 |
4a1d804408657c4975e3684c4e59dcd8797d98ef85cfbbf949361302f978932d
|
|
| MD5 |
74062af6599406077beb5064512a995d
|
|
| BLAKE2b-256 |
f2ac9ee05ad7397a733c65687d6b55b4f617f55c74fa78af99e050bc348174fa
|
File details
Details for the file percently-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: percently-0.1.0-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 |
fac6640376b3103d6e5484b3721eec993272d18e11853b3b73e6510bec359bc3
|
|
| MD5 |
54e6bebeacee624ffd1d0dbb9d1f00d8
|
|
| BLAKE2b-256 |
aae1bbf39235c4e84acb1ddc1a5e56f90bd07a46be21617dc347ba6efbae263f
|