Comparison
datasketches vs ddsketch vs pytdigest
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 datasketchesDistributed 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 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 pytdigestIn short
- pytdigest is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- ddsketch is the most used: 2.3M downloads a month, 2.1× more than datasketches.
- datasketches is better maintained: Pythie’s Index 37 against 24.
Side by side
| Metric | datasketches | ddsketch | pytdigest |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 37 | 24 |