Comparison
django-ratelimit vs limits vs pyrate-limiter vs ratelimiter
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-ratelimitRate 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 limitsPython 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 ratelimiterIn short
- django-ratelimit is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- ratelimiter is archived: avoid it for new projects.
- limits is the most used: 43.3M downloads a month, 3.5× more than pyrate-limiter.
- pyrate-limiter is better maintained: Pythie’s Index 89 against 43.
- pyrate-limiter is growing fastest: downloads +24% over the last month.
Side by side
| Metric | django-ratelimit | limits | pyrate-limiter | ratelimiter |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 20 | Pythie’s Index: 43 | Pythie’s Index: 89 | Pythie’s Index: 4 |
| Verdict | Slowing down | Maintained | Actively maintained | Archived |
| Downloads / month | 2.5M | 43.3M | 12.4M | 375.5K |
| Downloads, month over month | -2% | +10% | +24% | -25% |
| GitHub stars | 1.2K | 658 | 533 | 125 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 27 | 74 | 82 | 39 |
| Last release | Jul 24, 2023 | Feb 5, 2026 | Nov 26, 2026 | Dec 12, 2017 |
| Releases, 12 months | 0 | 2 | 10 | 0 |
| Weeks with commits | 0 / 26 | 4 / 26 | 11 / 26 | 0 / 26 |
| Recent contributors | 18 | 5 | 26 | 4 |
| First release | May 2011 | Jan 2015 | Nov 2019 | Jan 2015 |
| Python versions | 3.7 – 3.11 | 3.10 – 3.14 | 3.10 – 3.14 | – |
| License | Apache-2.0 | MIT | MIT | non-standard |
| 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.