Comparison
datasketches vs pytdigest vs quantile-python vs tdigest
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 recent releases and release cadence.
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-pythonT-Digest data structure
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install tdigestIn 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.
- tdigest looks abandoned: avoid it for new projects.
- datasketches is the most used: 1.1M downloads a month, 4.6× more than tdigest.
- datasketches also has the best Pythie’s Index (37).
Side by side
| Metric | datasketches | pytdigest | quantile-python | tdigest |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 37 | 15 |