Comparison
pyrate-limiter vs throttled-py vs throttler vs token-bucket
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python rate limiter with pluggable algorithms and backends
Actively maintained. Last release 7 days ago, commits in 12 of the last 26 weeks. A safe choice.
pip install pyrate-limiter🔧 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-pyZero-dependency Python package for easy throttling with asyncio support
Low maintenance activity. Last release 10 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install throttlerVery 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
- pyrate-limiter is the most used: 12.5M downloads a month, 12× more than token-bucket.
- pyrate-limiter also has the best Pythie’s Index (91).
- throttler is growing fastest: downloads +47% over the last month.
- throttled-py is the newcomer: first released Mar 2025.
- Safe default for a new project: pyrate-limiter.
Side by side
| Metric | pyrate-limiter | throttled-py | throttler | token-bucket |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 91 | 73 |