Comparison
aiolimiter vs pyrate-limiter 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 aiolimiterPython rate limiter with pluggable algorithms and backends
Actively maintained. Last release 6 days ago, commits in 11 of the last 26 weeks. A safe choice.
$
pip install pyrate-limiterVery 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
- aiolimiter is the most used: 15M downloads a month.
- pyrate-limiter is better maintained: Pythie’s Index 89 against 74.
- pyrate-limiter is growing fastest: downloads +24% over the last month.
- Safe default for a new project: aiolimiter, or pyrate-limiter if active maintenance matters most.
Side by side
| Metric | aiolimiter | pyrate-limiter | token-bucket |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 74 | 89 |