Comparison
limits vs ratelimiter vs rush 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 limitsSimple python rate limiting object
Archived. The repository is read-only: no more fixes or releases will come.
pip install ratelimiterA library for throttling algorithms
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install rushVery 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.
- rush looks abandoned: avoid it for new projects.
- limits is the most used: 42.6M downloads a month, 40× more than token-bucket.
- token-bucket is better maintained: Pythie’s Index 54 against 43.
Side by side
| Metric | limits | ratelimiter | rush | token-bucket |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 43 | 4 |