FileSize | 636224 |
MD5 | 266B0F7390E767AD3E20C595F99E28FC |
PackageDescription | Python XML Schema Bindings (Documentation)
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 documentation. |
PackageMaintainer | Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
PackageName | python-pyxb-doc |
PackageSection | doc |
PackageVersion | 1.2.4+dfsg-1 |
SHA-1 | 338F02326E402635434CA4409CD9FD570E3100D8 |
SHA-256 | 5FC30AB243533184AE5499742017ED3E14190292CC96168722F8AE6F62119410 |