Comparison
django-ratelimit 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-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 9 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.
- throttled-py is the most used: 150.6K downloads a month.
- throttled-py also has the best Pythie’s Index (74).
- throttled-py is the newcomer: first released Mar 2025.
- Safe default for a new project: throttled-py.
Side by side
| Metric | django-ratelimit | throttled-py |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 20 | 74 |