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
Metadata
Release files for PyXB-X 1.2.6.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyxb_x-1.2.6.4.tar.gz | 1.3 MB | Without provenance | Details for pyxb_x-1.2.6.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyxb_x-1.2.6.4-py3-none-any.whl | Python 3 | none | any | Details for pyxb_x-1.2.6.4-py3-none-any.whl |
Total release size: 1.6 MB
Release files / pyxb_x-1.2.6.4.tar.gz
| Download URL | pyxb_x-1.2.6.4.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5559745afd7854ab0caeb49215876a8fcd2cd48d3afaf18e813a7205345fd5ca
|
|
BLAKE2b-256 checksum How to use checksums |
b180fb9cf8206eb26f2530e39960d7e554547d6bc7f2f95c3156104a8782acb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Release files / pyxb_x-1.2.6.4-py3-none-any.whl
| Download URL | pyxb_x-1.2.6.4-py3-none-any.whl |
|---|---|
| Size | 310.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fc62c98a4706ecfde43faee39c924b229ad8f96725dc82622b6b07cf52d92b0
|
|
BLAKE2b-256 checksum How to use checksums |
e60a6d0bd33949aed29fc2ce76c3d4845be1d8dcc86ad23bfd9cae7aa0d8428b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Security for PyXB-X 1.2.6.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.