Comparison
ratelim vs ratelimit vs throttled-py vs token-bucket
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Makes it easy to respect rate limits.
Likely abandoned. No release or commit for years (last release over 11 years ago).
pip install ratelimAPI 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 ratelimit🔧 High-performance Python rate limiting library with multiple algorithms (Fixed Window, Sliding Window, Token Bucket, Leaky Bucket & GCRA) and storage backends (Redis, In-Memory).
Actively maintained. Last release 3 months ago, commits in 8 of the last 26 weeks. A safe choice.
pip install throttled-pyVery 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
- ratelim looks abandoned: avoid it for new projects.
- ratelimit is the most used: 15.3M downloads a month, 10× more than ratelim.
- throttled-py is better maintained: Pythie’s Index 73 against 12.
- throttled-py is the newcomer: first released Mar 2025.
Side by side
| Metric | ratelim | ratelimit | throttled-py | token-bucket |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 13 | Pythie’s Index: 12 | Pythie’s Index: 73 | Pythie’s Index: 54 |
| Verdict | Likely abandoned | Low maintenance activity | Actively maintained | Maintained |
| Downloads / month | 1.5M | 15.3M | 156K | 1.1M |
| Downloads, month over month | -23% | +5% | +3% | 0% |
| GitHub stars | 96 | 831 | 655 | 85 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 12 | 271 | 5 | 9 |
| Last release | Feb 27, 2015 | Dec 17, 2018 | Aug 30, 2026 | Jun 12, 2026 |
| Releases, 12 months | 0 | 0 | 8 | 2 |
| Weeks with commits | 0 / 26 | 0 / 26 | 8 / 26 | 1 / 26 |
| Recent contributors | 3 | 9 | 5 | 10 |
| First release | Dec 2014 | Aug 2015 | Mar 2025 | Jan 2017 |
| Python versions | – | – | 3.10 – 3.14 | 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.