Skip to main content

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)

Uploaded Source

Built Distribution

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

percently-0.1.0-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.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

Hashes for percently-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a1d804408657c4975e3684c4e59dcd8797d98ef85cfbbf949361302f978932d
MD5 74062af6599406077beb5064512a995d
BLAKE2b-256 f2ac9ee05ad7397a733c65687d6b55b4f617f55c74fa78af99e050bc348174fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for percently-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fac6640376b3103d6e5484b3721eec993272d18e11853b3b73e6510bec359bc3
MD5 54e6bebeacee624ffd1d0dbb9d1f00d8
BLAKE2b-256 aae1bbf39235c4e84acb1ddc1a5e56f90bd07a46be21617dc347ba6efbae263f

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