xmodels

Python models for creation, parsing and validation of XML documents.


Keywords
xml, schema, json
License
BSD-3-Clause
Install
pip install xmodels==0.1.0

Documentation

xmodels

Build Status Coverage

For more information, please see our documentation: http://xmodels.readthedocs.org/en/latest/

Overview

xmodels is a Python library to convert XML documents and Python dictionaries including collections.OrderedDict to and from instances of Python data structures and validate them against a schema. The conversions between XML and Python dict/collections.OrderedDict are performed by xmltodict. It supports XML specific schema features like ordered sets of element type <xsd:sequence>, selection from a set of element type <xsd:choice> and namespaces.