Comparison
datasketches vs pytdigest 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 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.
- 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 | tdigest |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 37 | 15 |