{"library":"drf-flex-fields","type":"library","category":null,"description":"drf-flex-fields (DRF-FF) is a Python package for Django REST Framework that provides flexible, dynamic fields and nested resources for serializers. It allows clients to control which fields are included or excluded, and to dynamically expand related models via URL parameters like `?fields=id,name` or `?expand=organization.owner.roles`. The library focuses on simplicity with minimal entanglement with DRF's core classes. It is actively maintained with regular updates, including bug fixes and new features, as seen in the recent 1.0.x releases.","language":"python","status":"active","version":"1.0.2","tags":["django","rest-framework","serializers","fields","dynamic","nesting","graphql-like"],"last_verified":"Mon May 25","install":[{"cmd":"pip install drf-flex-fields","imports":["from rest_flex_fields import FlexFieldsModelSerializer","from rest_flex_fields.views import FlexFieldsMixin","from rest_flex_fields.filter_backends import FlexFieldsFilterBackend","from rest_flex_fields.filter_backends import FlexFieldsDocsFilterBackend"]}],"homepage":null,"github":"https://github.com/rsinger86/drf-flex-fields","docs":null,"changelog":null,"pypi":"https://pypi.org/project/drf-flex-fields/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.4,"avg_import_s":null,"wheel_type":"sdist"},"url":"https://checklist.day/v1/registry/drf-flex-fields/compatibility"}}