PyXB 1.0.0
Python XML Schema Bindings
What it is
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++.
Goals
- 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
Links
PyXB is hosted on SourceForge.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
|
PyXB-doc-1.0.0.tar.gz
(md5)
Documentation overlay |
Source | 2009-11-08 18:54:35.785333 | 2MB | 47 | |
|
PyXB-base-1.0.0.tar.gz
(md5)
Base distribution, no overlays |
Source | 2009-11-08 18:54:08.207234 | 885KB | 39 | |
- Author: Peter A. Bigot <pyxb at comcast net>
- Home Page: http://pyxb.sourceforge.net
- Keywords: XML Schema
- License: Apache License 2.0
- Provides PyXB
- Categories
- Package Index Owner: pabigot
- DOAP record: PyXB-1.0.0.xml
Log in to rate this package.
