Comparison
datasketch vs datasketches vs pytdigest vs tdigest
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 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 pytdigestT-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.
- tdigest looks abandoned: avoid it for new projects.
- datasketch is the most used: 4M downloads a month, 3.5× more than datasketches.
- datasketch also has the best Pythie’s Index (60).
Side by side
| Metric | datasketch | datasketches | pytdigest | tdigest |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 60 | 37 |