{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/4"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/2"}],"enrichment":{"capability":"Provides specialized serializer fields for Django REST Framework, including base64 image/file handling, geographic point fields, PostgreSQL range fields, and enhanced relational fields.","skillfed_tags":["django-rest-framework","serialization","geospatial"],"use_cases":["Accept base64-encoded image uploads in REST API endpoints and store them as files without multipart form data.","Serialize geographic coordinates as latitude/longitude dictionaries for location-based APIs.","Work with PostgreSQL range fields in Django models while maintaining clean serialization in REST APIs.","Display related objects with full serialized details using PresentablePrimaryKeyRelatedField.","Build APIs that accept or return files as base64 strings for client-side convenience."],"what_it_does":"drf-extra-fields extends Django REST Framework with specialized serializer fields that handle use cases not covered by the framework's built-in offerings. It provides base64 image and file fields for encoding/decoding binary data as strings, geographic point fields for latitude/longitude pairs, PostgreSQL-specific range fields (integer, float, decimal, date, datetime), and enhanced relational fields like PresentablePrimaryKeyRelatedField that represent related objects with custom serializers.\n\nThe package is designed as a drop-in extension: you import field classes into your serializers and use them like standard DRF fields. It depends on Django, djangorestframework, and filetype for image type detection. Recent versions have modernized the codebase for Python 3.7+, removed unintended dependencies, and added support for psycopg 3 alongside psycopg2.","worth_installing":"Yes, with conditions. The package fills genuine gaps in DRF's field offerings and has low install friction. However, maintenance is aging\u2014the last release was August 2023\u2014so verify compatibility with your specific Django and DRF versions before adopting. No known security vulnerabilities. Suitable for projects needing base64 file handling, geographic fields, or PostgreSQL range support and tolerating infrequent updates."},"id":"drf-extra-fields","links":{"html":"https://skillfed.io/packages/drf-extra-fields","md":"https://skillfed.io/packages/drf-extra-fields.md","pypi":"https://pypi.org/project/drf-extra-fields/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2023-08-08","license_spdx":null,"license_treatment":"permissive","name":"drf-extra-fields","python_support":"supports_current","summary":"Additional fields for Django Rest Framework."},"popularity":{"monthly_downloads":569590,"position":5960,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.7.0"}
