{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/2"},{"label":"XML","url":"https://skillfed.io/packages/category/text-processing-markup-xml"}],"enrichment":{"capability":"Validates XML documents against XSD schemas and converts XML to/from Python data structures and JSON.","skillfed_tags":["xml-schema","data-validation","serialization"],"use_cases":["Validate XML configuration files or data exports against a schema before processing.","Decode XML documents into Python dictionaries for programmatic access to typed data.","Encode Python data structures back to XML while enforcing schema constraints.","Build XML data bindings or generate Python classes from XSD schemas.","Protect against XML entity attacks by parsing untrusted XML with entity forbidding enabled."],"what_it_does":"xmlschema is a Python implementation of XML Schema (XSD) that validates XML documents and converts between XML, Python data structures, and JSON. It supports both XSD 1.0 and XSD 1.1 standards and includes built-in base schemas for offline operation. The library was originally developed to handle schema-based XML processing for the MaX European research project but is applicable to any XML Schema validation or data binding task.\n\nThe package provides validation in strict, lax, and skip modes, protects against XML attacks by forbidding entities, and offers XPath-based APIs for navigating schemas. It can decode XML into nested Python dictionaries with type-aware values, encode Python data back to XML, and generate static code using Jinja2 templates. The single runtime dependency (elementpath) keeps installation lightweight.","worth_installing":"Yes. xmlschema is actively maintained, has no known vulnerabilities, requires only Python 3.10+, and carries a permissive MIT license. It is the standard choice for schema-based XML processing in Python when XSD validation or structured XML-to-Python conversion is needed."},"id":"xmlschema","links":{"html":"https://skillfed.io/packages/xmlschema","md":"https://skillfed.io/packages/xmlschema.md","pypi":"https://pypi.org/project/xmlschema/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-30","license_spdx":"MIT","license_treatment":"permissive","name":"xmlschema","python_support":"supports_current","summary":"An XML Schema validator and decoder"},"popularity":{"monthly_downloads":8481770,"position":1618,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.3.2"}
