Comparison
pyrate-limiter vs 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 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.
- pyrate-limiter is the most used: 12.1M downloads a month, 11× more than token-bucket.
- pyrate-limiter also has the best Pythie’s Index (89).
- pyrate-limiter is growing fastest: downloads +20% over the last month.
- Safe default for a new project: pyrate-limiter.
Side by side
| Metric | pyrate-limiter | ratelimiter | token-bucket |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | Pythie’s Index: 4 | Pythie’s Index: 54 |
| Verdict | Actively maintained | Archived | Maintained |
| Downloads / month | 12.1M | 368.3K | 1.1M |
| Downloads, month over month | +20% | -28% | +0% |
| GitHub stars | 533 | 125 | 85 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 82 | 39 | 9 |
| Last release | Nov 26, 2026 | Dec 12, 2017 | Jun 12, 2026 |
| Releases, 12 months | 10 | 0 | 2 |
| Weeks with commits | 11 / 26 | 0 / 26 | 1 / 26 |
| Recent contributors | 26 | 4 | 10 |
| First release | Nov 2019 | Jan 2015 | Jan 2017 |
| Python versions | 3.10 – 3.14 | – | 3.10 – 3.15 |
| License | MIT | non-standard | 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.