Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

percently-0.1.1-cp312-cp312-macosx_11_0_arm64.whl (172.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Hashes for percently-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7e31b0fe7aad62359da95072a6ce0e1bf866a97488171b6a2f3078c16407409e
MD5 c2a44742ff5852855cc9485a38713aa7
BLAKE2b-256 d2daa01bd1a52f7bb680e1650e578405f883daa98cde887078b41a0a5f3d3540

See more details on using hashes here.

File details

Details for the file percently-0.1.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for percently-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a0bd4183f4acc85dae8ea583d1f50afdd414c839cfd06a9f1a5bb20d6e3b5dc1
MD5 fe8a087881800be6e7eea136ccc08fa2
BLAKE2b-256 c284434d5ddad0df168076128333b4e0ced3d7b73c5b82c17e73d99d1d6ddca5

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