# 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 percentile (f64)
p95 = percently.percentile(data, 95)
print(f"95th percentile: {p95:.2f}")
# Example output
95th percentile: 29.12
```
Raw data
{
"_id": null,
"home_page": "https://github.com/4thel00z/percently",
"name": "percently",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "percentile, statistics, Rust, Python",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/af/39/07b6d93db2404cacc76274f434fcebf6d8e68e1b8d292f7f12d78c2dc5ad/percently-0.1.3.tar.gz",
"platform": null,
"description": "# percently\n\n## Motivation\n\nA fast percentile calculator written in rust, to use to calculate the buckets etc. after performing a loadtest, etc.\n\n## Installation\n\n```\nuv add percently\n```\n\nor\n\n```\npip install percently\n```\n\n## \ud83e\uddee Usage\n```\nimport percently\n\n# Example data\ndata = [10.5, 22.0, 18.7, 19.2, 30.1, 25.3]\n\n# Calculate the 95th percentile (f64)\np95 = percently.percentile(data, 95)\nprint(f\"95th percentile: {p95:.2f}\")\n\n# Example output\n95th percentile: 29.12\n```\n\n",
"bugtrack_url": null,
"license": null,
"summary": "A fast and efficient percentile calculator written in Rust.",
"version": "0.1.3",
"project_urls": {
"Homepage": "https://github.com/4thel00z/percently"
},
"split_keywords": [
"percentile",
" statistics",
" rust",
" python"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "0b83d94313e4f7125cdd262d05668bf68b8c9d313205f31336acdedb9cda7392",
"md5": "c39be1453ef53a33ffb228e42febc94f",
"sha256": "66d51c4a22eb159463e083d6366bbee7f302e1a7a145541636c335d52dd9b1d7"
},
"downloads": -1,
"filename": "percently-0.1.3-cp312-cp312-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "c39be1453ef53a33ffb228e42febc94f",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 172020,
"upload_time": "2025-10-07T21:40:46",
"upload_time_iso_8601": "2025-10-07T21:40:46.943427Z",
"url": "https://files.pythonhosted.org/packages/0b/83/d94313e4f7125cdd262d05668bf68b8c9d313205f31336acdedb9cda7392/percently-0.1.3-cp312-cp312-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "af3907b6d93db2404cacc76274f434fcebf6d8e68e1b8d292f7f12d78c2dc5ad",
"md5": "53bf4c33ea2f5e88922592e0466a6311",
"sha256": "d0a42357ed53b2893cee06a6318135e520223fc4917c5e2b10ce582348969741"
},
"downloads": -1,
"filename": "percently-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "53bf4c33ea2f5e88922592e0466a6311",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 5117,
"upload_time": "2025-10-07T21:40:48",
"upload_time_iso_8601": "2025-10-07T21:40:48.599209Z",
"url": "https://files.pythonhosted.org/packages/af/39/07b6d93db2404cacc76274f434fcebf6d8e68e1b8d292f7f12d78c2dc5ad/percently-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-07 21:40:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "4thel00z",
"github_project": "percently",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "percently"
}