Comparison
pyrate-limiter vs ratelimit vs requests-ratelimiter 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 11 of the last 26 weeks. A safe choice.
pip install pyrate-limiterAPI 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 ratelimitRate-limiting for the requests library
Maintained. Last release 7 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install requests-ratelimiterVery 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
- ratelimit is the most used: 15.3M downloads a month.
- pyrate-limiter is better maintained: Pythie’s Index 89 against 12.
- requests-ratelimiter is growing fastest: downloads +29% over the last month.
Side by side
| Metric | pyrate-limiter | ratelimit | requests-ratelimiter | token-bucket |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | Pythie’s Index: 12 | Pythie’s Index: 53 | Pythie’s Index: 54 |
| Verdict | Actively maintained | Low maintenance activity | Maintained | Maintained |
| Downloads / month | 12.4M | 15.3M | 1.1M | 1.1M |
| Downloads, month over month | +24% | +5% | +29% | 0% |
| GitHub stars | 533 | 831 | 119 | 85 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 82 | 271 | 48 | 9 |
| Last release | Nov 26, 2026 | Dec 17, 2018 | Apr 22, 2026 | Jun 12, 2026 |
| Releases, 12 months | 10 | 0 | 7 | 2 |
| Weeks with commits | 11 / 26 | 0 / 26 | 2 / 26 | 1 / 26 |
| Recent contributors | 26 | 9 | 6 | 10 |
| First release | Nov 2019 | Aug 2015 | Sep 2021 | Jan 2017 |
| Python versions | 3.10 – 3.14 | – | 3.10 – 3.15 | 3.10 – 3.15 |
| License | MIT | MIT | MIT | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.