{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/9"}],"enrichment":{"capability":"Allows Django REST framework API clients to request only specific fields in responses via query parameters, reducing payload size.","skillfed_tags":["django-rest-framework","api-optimization","serialization"],"use_cases":["Mobile apps requesting minimal data to reduce network traffic and battery consumption.","Frontend applications fetching large objects but only needing specific fields for display.","API clients with bandwidth constraints selecting only required fields to optimize payload size.","Building flexible APIs where different clients have different field requirements without multiple endpoints.","Debugging and testing by requesting specific fields to inspect API structure."],"what_it_does":"This package extends Django REST framework to let API clients specify which fields they want in responses using query parameters. Instead of always returning all fields, a client can request only what it needs\u2014for example, requesting just id and username fields, or all fields except id. This reduces bandwidth and improves performance for clients working with large or deeply nested API responses.\n\nThe package integrates with Django REST framework serializers and has no runtime dependencies beyond Django and DRF themselves, making it lightweight to add to existing projects. Maintenance is dormant but the repository is not archived, with 223 GitHub stars since its 2016-10-19 release.","worth_installing":"Yes, if you use Django REST framework and want to give clients control over response fields. The package is stable, has no dependencies, and solves a real bandwidth problem. The dormant maintenance status is not a blocker since the code is mature; verify compatibility with your specific Django 1.7 - 3.2+ and DRF versions before adopting."},"id":"djangorestframework-queryfields","links":{"html":"https://skillfed.io/packages/djangorestframework-queryfields","md":"https://skillfed.io/packages/djangorestframework-queryfields.md","pypi":"https://pypi.org/project/djangorestframework-queryfields/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-11-22","license_spdx":null,"license_treatment":"permissive","name":"djangorestframework-queryfields","python_support":"unspecified","summary":"Serialize a partial subset of fields in the API"},"popularity":{"monthly_downloads":95994,"position":13237,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.0"}
