{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/4"}],"enrichment":{"capability":"Adds XML parsing and rendering support to Django REST Framework, allowing APIs to accept and return XML-formatted data alongside the framework's standard JSON handling.","skillfed_tags":["xml-serialization","django-extension"],"use_cases":["Add XML endpoint support to an existing Django REST Framework API that primarily serves JSON but needs to support legacy XML-consuming clients.","Parse incoming XML payloads in API requests when clients cannot send JSON.","Expose API data in both JSON and XML formats by configuring different renderers per view or globally.","Migrate from an older XML-based API to Django REST Framework while maintaining XML compatibility during a transition period."],"what_it_does":"djangorestframework-xml is a third-party package that extends Django REST Framework with XML content-type support. It provides XMLParser and XMLRenderer classes that allow your REST API endpoints to accept XML request bodies and return XML responses, integrated directly into Django REST Framework's serialization pipeline. The package uses defusedxml under the hood to guard against XML security vulnerabilities.\n\nThe XML output format is not formally specified\u2014it's a simple ad-hoc representation of your serialized data. If you need strict control over XML structure, namespaces, or schema compliance, you'll need to write custom XML parsers and renderers. The package is stable and permissively licensed, but dormant since 2020, so you should verify it works with your current Django and DRF versions before adopting it.","worth_installing":"Yes, if you need XML support in Django REST Framework and can verify compatibility with your current Django and DRF versions. The low install friction, permissive license, and lack of known vulnerabilities make it a reasonable choice. However, the dormant maintenance status (last release 2020-04-12) means you should test thoroughly in your environment and be prepared to fork or write custom XML handling if issues arise with newer Django or DRF releases."},"id":"djangorestframework-xml","links":{"html":"https://skillfed.io/packages/djangorestframework-xml","md":"https://skillfed.io/packages/djangorestframework-xml.md","pypi":"https://pypi.org/project/djangorestframework-xml/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2020-04-12","license_spdx":null,"license_treatment":"permissive","name":"djangorestframework-xml","python_support":"supports_current","summary":"XML support for Django REST Framework"},"popularity":{"monthly_downloads":533927,"position":6139,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.0"}
