Comparison
datasketch vs datasketches vs pytdigest vs quantile-python
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Probabilistic data structures for processing and searching very large datasets
Maintained. Last release 5 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity.
pip install datasketchThe 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.
- datasketch is the most used: 4.1M downloads a month, 3.7× more than datasketches.
- datasketch also has the best Pythie’s Index (60).
- Safe default for a new project: datasketch.
Side by side
| Metric | datasketch | datasketches | pytdigest | quantile-python |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 60 | 37 |