Comparison
ddsketch vs quantile-python vs tdigest
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Distributed quantile sketches
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install ddsketchPython 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
- quantile-python looks abandoned: avoid it for new projects.
- tdigest looks abandoned: avoid it for new projects.
- ddsketch is the most used: 2.7M downloads a month, 11× more than tdigest.
- ddsketch also has the best Pythie’s Index (24).
Side by side
| Metric | ddsketch | quantile-python | tdigest |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 24 | Pythie’s Index: 11 | Pythie’s Index: 18 |
| Verdict | Low maintenance activity | Likely abandoned | Likely abandoned |
| Downloads / month | 2.7M | 94K | 242.6K |
| Downloads, month over month | -35% | -17% | -3% |
| GitHub stars | 91 | 15 | 407 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 10 | 2 | 24 |
| Last release | Apr 1, 2024 | Feb 11, 2015 | May 7, 2019 |
| Releases, 12 months | 0 | 0 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 5 | 1 | 17 |
| First release | Dec 2020 | Feb 2015 | May 2015 |
| Python versions | – | – | – |
| License | Apache-2.0 | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.