Comparison
limits vs ratelimit vs token-bucket
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Rate limiting utilities
Maintained. Last release 10 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install limitsAPI rate limit decorator
Low maintenance activity. Last release over 7 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install ratelimitVery fast implementation of the token bucket algorithm.
Maintained. Last release 6 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install token-bucketIn short
- limits is the most used: 43.4M downloads a month, 2.8× more than ratelimit.
- token-bucket is better maintained: Pythie’s Index 54 against 43.
Side by side
| Metric | limits | ratelimit | token-bucket |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 43 | 12 |