Comparison
limits vs pyrate-limiter vs ratelimiter vs token-bucket
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Rate limiting utilities
Maintained. Last release 10 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install limitsPython 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-limiterSimple python rate limiting object
Archived. The repository is read-only: no more fixes or releases will come.
pip install 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
- ratelimiter is archived: avoid it for new projects.
- limits is the most used: 43.3M downloads a month, 3.5× more than pyrate-limiter.
- pyrate-limiter is better maintained: Pythie’s Index 89 against 43.
- pyrate-limiter is growing fastest: downloads +24% over the last month.
Side by side
| Metric | limits | pyrate-limiter | ratelimiter | token-bucket |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 43 | Pythie’s Index: 89 | Pythie’s Index: 4 | Pythie’s Index: 54 |
| Verdict | Maintained | Actively maintained | Archived | Maintained |
| Downloads / month | 43.3M | 12.4M | 375.5K | 1.1M |
| Downloads, month over month | +10% | +24% | -25% | 0% |
| GitHub stars | 658 | 533 | 125 | 85 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 74 | 82 | 39 | 9 |
| Last release | Feb 5, 2026 | Nov 26, 2026 | Dec 12, 2017 | Jun 12, 2026 |
| Releases, 12 months | 2 | 10 | 0 | 2 |
| Weeks with commits | 4 / 26 | 11 / 26 | 0 / 26 | 1 / 26 |
| Recent contributors | 5 | 26 | 4 | 10 |
| First release | Jan 2015 | Nov 2019 | Jan 2015 | Jan 2017 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.14 | – | 3.10 – 3.15 |
| License | MIT | MIT | non-standard | 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.