Comparison
django-guardian vs rules
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Per object permissions for Django
Actively maintained. Last release 6 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
$
pip install django-guardianAwesome Django authorization, without the database
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install rulesIn short
- rules is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- django-guardian is the most used: 1.1M downloads a month, 1.9× more than rules.
- django-guardian also has the best Pythie’s Index (86).
- Safe default for a new project: django-guardian.
Side by side
| Metric | django-guardian | rules |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | 25 |