Comparison
pyrate-limiter vs throttled-py 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 6 days ago, commits in 11 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-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
- pyrate-limiter is the most used: 12.4M downloads a month, 12× more than token-bucket.
- pyrate-limiter also has the best Pythie’s Index (89).
- pyrate-limiter is growing fastest: downloads +24% 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 | token-bucket |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | Pythie’s Index: 73 | Pythie’s Index: 54 |
| Verdict | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 12.4M | 156K | 1.1M |
| Downloads, month over month | +24% | +3% | 0% |
| GitHub stars | 533 | 655 | 85 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 82 | 5 | 9 |
| Last release | Nov 26, 2026 | Aug 30, 2026 | Jun 12, 2026 |
| Releases, 12 months | 10 | 8 | 2 |
| Weeks with commits | 11 / 26 | 8 / 26 | 1 / 26 |
| Recent contributors | 26 | 5 | 10 |
| First release | Nov 2019 | Mar 2025 | Jan 2017 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.14 | 3.10 – 3.15 |
| License | MIT | MIT | Apache-2.0 |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.