Comparison
datasketches vs pytdigest vs quantile-python
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The Apache DataSketches Library for Python
Low maintenance activity. Last release 21 months ago. Weaker on commit activity and recent releases.
$
pip install datasketchesPython package for *fast* TDigest calculation.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install pytdigestPython Implementation of Graham Cormode and S. Muthukrishnan's Effective Computation of Biased Quantiles over Data Streams in ICDE'05
Likely abandoned. No release or commit for years (last release over 11 years ago).
$
pip install quantile-pythonIn short
- pytdigest is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- quantile-python looks abandoned: avoid it for new projects.
- datasketches is the most used: 1.1M downloads a month, 6.4× more than pytdigest.
- datasketches also has the best Pythie’s Index (37).
Side by side
| Metric | datasketches | pytdigest | quantile-python |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 37 | Pythie’s Index: 15 | Pythie’s Index: 11 |
| Verdict | Low maintenance activity | Slowing down | Likely abandoned |
| Downloads / month | 1.1M | 169.8K | 94K |
| Downloads, month over month | -14% | +121% | -17% |
| GitHub stars | – | 22 | 15 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 10 | 3 | 2 |
| Last release | Mar 1, 2025 | Feb 3, 2023 | Feb 11, 2015 |
| Releases, 12 months | 0 | 0 | 0 |
| Weeks with commits | – | 0 / 26 | 0 / 26 |
| Recent contributors | – | 1 | 1 |
| First release | Sep 2021 | Oct 2022 | Feb 2015 |
| Python versions | – | 3.7 – 3.10 | – |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.