{"library":"djangorestframework-role-filters","type":"library","category":null,"description":"djangorestframework-role-filters is a Python library that provides simple and declarative role-based filtering for Django REST Framework views and querysets. It aims to eliminate the need for verbose 'if-else' statements in view logic by centralizing role definitions. The current version is 1.1.0, with releases occurring periodically, typically to update compatibility with newer Django/DRF versions.","language":"python","status":"active","version":"1.1.0","tags":["django","rest framework","drf","roles","permissions","filtering","authorization"],"last_verified":"Fri May 22","install":[{"cmd":"pip install djangorestframework-role-filters","imports":["from rest_framework_role_filters.role_filters import RoleFilter","from rest_framework_role_filters.viewsets import RoleFilterModelViewSet"]}],"homepage":null,"github":"https://github.com/allisson/django-rest-framework-role-filters","docs":null,"changelog":null,"pypi":"https://pypi.org/project/djangorestframework-role-filters/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":3.8,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/djangorestframework-role-filters/compatibility"}}