{"categories":[{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"},{"label":"XML","url":"https://skillfed.io/packages/category/text-processing-markup-xml"}],"enrichment":{"capability":"Generates pydantic models from XML and JSON schemas, then parses and serializes XML/JSON documents as typed Python objects using those models.","skillfed_tags":["schema-binding","code-generation","xml-json"],"use_cases":["Parse RSS/Atom feeds or SOAP responses into typed objects with validation.","Generate Python models from enterprise WSDL or XSD files for API integration.","Serialize Python dataclasses back to XML with schema-aware structure and attributes.","Build data pipelines that consume JSON or XML from external sources with type safety.","Validate incoming XML documents against a schema before processing in your application."],"what_it_does":"xsdata-pydantic bridges XML/JSON schema definitions and pydantic's type system. It uses xsdata to parse XSD, WSDL, and DTD schemas, then generates pydantic BaseModel classes that represent the document structure. Once generated, you can parse XML or JSON into typed Python objects and serialize them back, gaining IDE autocomplete, runtime validation, and type checking throughout your workflow.\n\nThe package is typically used in two phases: first, run the xsdata CLI to generate model files from a schema; then, import those models and use XmlParser or serializers from xsdata-pydantic.bindings to read and write documents. It's designed for developers who work with structured data formats and want the safety and ergonomics of pydantic's validation without manually writing model classes.","worth_installing":"Yes. Low install friction, active maintenance, no known vulnerabilities, permissive MIT license, and broad Python version support. Solves a real problem for anyone working with XML schemas or WSDL in Python and wanting pydantic's validation and type safety. Suitable for production use."},"id":"xsdata-pydantic","links":{"html":"https://skillfed.io/packages/xsdata-pydantic","md":"https://skillfed.io/packages/xsdata-pydantic.md","pypi":"https://pypi.org/project/xsdata-pydantic/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-05-08","license_spdx":null,"license_treatment":"permissive","name":"xsdata-pydantic","python_support":"supports_current","summary":"xsdata pydantic plugin"},"popularity":{"monthly_downloads":313198,"position":7719,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"24.5"}
