Comparison
aiolimiter vs ratelimit vs requests-ratelimiter vs token-bucket
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
asyncio rate limiter, a leaky bucket implementation
Actively maintained. Last release 3 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install aiolimiterAPI 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 ratelimitRate-limiting for the requests library
Maintained. Last release 7 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install requests-ratelimiterVery 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
- ratelimit is the most used: 15.3M downloads a month.
- aiolimiter is better maintained: Pythie’s Index 74 against 12.
- requests-ratelimiter is growing fastest: downloads +29% over the last month.
Side by side
| Metric | aiolimiter | ratelimit | requests-ratelimiter | token-bucket |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 74 | 12 |