Comparison
aiolimiter vs throttled-py 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 aiolimiter🔧 High-performance Python rate limiting library with multiple algorithms (Fixed Window, Sliding Window, Token Bucket, Leaky Bucket & GCRA) and storage backends (Redis, In-Memory).
Actively maintained. Last release 3 months ago, commits in 9 of the last 26 weeks. A safe choice.
pip install throttled-pyVery 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: 14.7M downloads a month, 14× more than token-bucket.
- Maintenance is comparable: aiolimiter 74, throttled-py 74, token-bucket 54 on Pythie’s Index.
- aiolimiter is growing fastest: downloads +13% over the last month.
- throttled-py is the newcomer: first released Mar 2025.
- Safe default for a new project: aiolimiter.
Side by side
| Metric | aiolimiter | throttled-py | token-bucket |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 74 | 74 |