Comparison
django-ratelimit vs pyrate-limiter vs throttled-py
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Cache-based rate-limiting for Django.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install django-ratelimitPython 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-limiter🔧 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-pyIn short
- django-ratelimit is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- pyrate-limiter is the most used: 12.4M downloads a month, 5.0× more than django-ratelimit.
- pyrate-limiter also has the best Pythie’s Index (89).
- pyrate-limiter is growing fastest: downloads +24% over the last month.
- throttled-py is the newcomer: first released Mar 2025.
- Safe default for a new project: pyrate-limiter.
Side by side
| Metric | django-ratelimit | pyrate-limiter | throttled-py |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 20 | Pythie’s Index: 89 | Pythie’s Index: 73 |
| Verdict | Slowing down | Actively maintained | Actively maintained |
| Downloads / month | 2.5M | 12.4M | 156K |
| Downloads, month over month | -2% | +24% | +3% |
| GitHub stars | 1.2K | 533 | 655 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 27 | 82 | 5 |
| Last release | Jul 24, 2023 | Nov 26, 2026 | Aug 30, 2026 |
| Releases, 12 months | 0 | 10 | 8 |
| Weeks with commits | 0 / 26 | 11 / 26 | 8 / 26 |
| Recent contributors | 18 | 26 | 5 |
| First release | May 2011 | Nov 2019 | Mar 2025 |
| Python versions | 3.7 – 3.11 | 3.10 – 3.14 | 3.10 – 3.14 |
| License | Apache-2.0 | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.