Comparison
ratelimit vs ratelimiter vs throttled-py vs token-bucket
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
API 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 ratelimitSimple python rate limiting object
Archived. The repository is read-only: no more fixes or releases will come.
pip install ratelimiter🔧 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 8 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
- ratelimiter is archived: avoid it for new projects.
- ratelimit is the most used: 15.3M downloads a month, 14× more than token-bucket.
- throttled-py is better maintained: Pythie’s Index 73 against 12.
- throttled-py is the newcomer: first released Mar 2025.
Side by side
| Metric | ratelimit | ratelimiter | throttled-py | token-bucket |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | 4 |