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

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.2.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.2-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.2.tar.gz.

File metadata

  • Download URL: percently-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c398100686d0656de83ad388f3b30053f5505215c58e0fe86f065eb2acdc07d2
MD5 c76e7117d7e0c96adad235383881d439
BLAKE2b-256 40799b55a319f4bf215f2f2a471e86df8249e119aadf115d191bbf61d1008bb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for percently-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2757b1e53327c5f5bb9369ecbda3fda7ccf56a59b5f46ded9c4208564d7e2bb7
MD5 b1618429d049d51ebaf9bab2fe54c2ae
BLAKE2b-256 b90146b05ad7f04a708ec6d7ee657cd8bbdb28413108445c8936d930f33c9b1d

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