Python XML Schema Bindings
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
File details
Details for the file PyXB-doc-1.0.0.tar.gz
.
File metadata
- Download URL: PyXB-doc-1.0.0.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc0daf71f8bff07c9800cf288d1b5440c55ade23062f3eebc77c88fd36c3e15c |
|
MD5 | 27d348e53d4b15560ca486f3d26621d8 |
|
BLAKE2b-256 | 6e31eb764cddadeda8a540b6e4d37a63147f4489a3dd8fcb87e40fd0d6355f21 |
File details
Details for the file PyXB-base-1.0.0.tar.gz
.
File metadata
- Download URL: PyXB-base-1.0.0.tar.gz
- Upload date:
- Size: 906.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae5ce29446280f6aeb0948cf5955c2de3e34b209591f4dabf3fbc338ee2e6c76 |
|
MD5 | a19f2debd2a91cdb9fbea69bdda5403d |
|
BLAKE2b-256 | d824d50e4e4b6a8dc55978dce11d5dcdb0edca2b688b4a03703a5dde2b3065ae |