{"library":"rules","type":"library","category":null,"description":"Rules provides an awesome, simple, and powerful authorization solution for Django applications, without relying on database configuration. It allows defining permissions as Python callables (predicates) and integrating them seamlessly into views, templates, and Django REST Framework. The current version is 3.5, and it maintains a steady release cadence, typically aligning with new Django versions.","language":"python","status":"active","version":"3.5","tags":["django","authorization","permissions","rules","authentication"],"install":[{"cmd":"pip install rules","imports":["from rules import Predicate","from rules import RuleSet","from rules import add_perm"]}],"homepage":null,"github":"http://github.com/dfunckt/django-rules","docs":null,"changelog":null,"pypi":"https://pypi.org/project/rules/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/rules/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Tue Jun 30","last_verified":"Tue Jun 30","next_check":"Thu Jul 30","install_tag":null}}