Comparison
lttb vs tsdownsample
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Largest-Triangle-Three-Buckets algorithm for downsampling time series-like data
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install lttbTime series downsampling in rust
Maintained. Last release 6 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install tsdownsampleIn short
- lttb is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- tsdownsample is the most used: 2.3M downloads a month, 28× more than lttb.
- tsdownsample also has the best Pythie’s Index (41).
- tsdownsample is growing fastest: downloads +338% over the last month.
Side by side
| Metric | lttb | tsdownsample |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 41 |