Skip to main content

PyXB-X ("pixbix") is a pure Python package that generates Python source code for classes that correspond to data structures defined by XMLSchema.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyxb_x-1.2.6.3.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyXB_X-1.2.6.3-py3-none-any.whl (310.1 kB view details)

Uploaded Python 3

File details

Details for the file pyxb_x-1.2.6.3.tar.gz.

File metadata

  • Download URL: pyxb_x-1.2.6.3.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pyxb_x-1.2.6.3.tar.gz
Algorithm Hash digest
SHA256 bf401fa8d3e6bd6ea6648f49f02c7dc7ef460b4c61dc34bc2f1c4c3a952037b5
MD5 83f77d84eb8aa4acc20080f8daccea34
BLAKE2b-256 dede2556352e8e4092d835852af63c34500681ba5ab6a5a3047e5daabb6d9ca9

See more details on using hashes here.

File details

Details for the file PyXB_X-1.2.6.3-py3-none-any.whl.

File metadata

  • Download URL: PyXB_X-1.2.6.3-py3-none-any.whl
  • Upload date:
  • Size: 310.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for PyXB_X-1.2.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4c4a55d6b8c61c2d84ab4c2cb49ee74185599242bbfd1cf0bdd6be4a8a874006
MD5 dc6c674a4448888b180546c6b1675648
BLAKE2b-256 8c038154462b23ce8ed229d9be4eee17b8132b746e6a1f1dbfe57b72139ce5a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page