
Pyxb is a pure python package that generates python code for classes that correspond to data structures defined by xmlschema. in concept it is similar to jaxb for java and codesynthesis xsd for c++.
the major goals of pyxb are:
* provide a generated python interface that is ??pythonic??, meaning similar to
one that would have been hand-written:
+ attributes and elements are python properties, with name conflicts
resolved in favor of elements
+ elements with maxoccurs larger than 1 are stored as python lists
+ bindings for type extensions inherit from the binding for the base type
+ enumeration constraints are exposed as class (constant) variables
* support bi-directional conversion (document to python and back)
* allow easy customization of the generated bindings to provide functionality
along with content
* support all xmlschema features that are in common use, including:
+ complex content models (nested all/choice/sequence)
+ cross-namespace dependencies
+ include and import directives
+ constraints on simple types
* validate the documents against their schema
this package contains the prebuilt common xml bindings for python3.