Comparison
pyrate-limiter 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 5 days ago, commits in 12 of the last 26 weeks. A safe choice.
$
pip install pyrate-limiterVery 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.1M downloads a month, 11× more than token-bucket.
- pyrate-limiter also has the best Pythie’s Index (91).
- 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 | token-bucket |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 91 | 54 |