Registry / serialization / pyxb
library1.2.6pypypiunverified

PyXB is a Python package for generating XML schema (XSD) bindings. Version 1.2.6 is the latest stable release. Development appears to be in maintenance mode with infrequent updates.

pip install pyxb
INSTALL
IMPORT
SIG · PYXB
P
pyxb
serializationpythonv1.2.6
Install
6.0s avg
Import
113ms
Disk
61MB
Pass rate
6/ 10
Env Coverage6 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.2.6 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 5.7s
py 3.11
✓ —
✓ 5.8s
py 3.12
✕ build_error
✕ build_error
py 3.13
✕ build_error
✕ build_error
py 3.9
✓ —
✓ 6.5s
61MB installed
● package 61MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CreateFromDocument
from pyxb.utils.domutils import BindingDOMSupport from pyxb.binding import CreateFromDocument
from pyxb import CreateFromDocument
CreateFromDocument is in pyxb.binding, not in pyxb top-level
BIND
from pyxb.binding import BIND
from pyxb import BIND
BIND is in pyxb.binding submodule

Basic import test for PyXB.

import pyxb from pyxb.binding import BIND # Load schema xmlschema = pyxb.GlobalBindings() print('PyXB loaded successfully')
pyxbgen --version
Debug
Known issues
deprecatedPyXB uses the deprecated 'from xml.etree import ElementTree' internally. Python 3.9+ raises deprecation warnings.
fix
Consider using PyXB‑b (a fork) or transition to xmlschema / lxml.
affects: >=1.2.6
gotchaNamespace handling is fragile: use fully qualified local names in bindings and always register namespaces explicitly.
fix
Always call 'pyxb.namespace.Namespace.ImportNamespace()' for custom prefixes.
affects: all
Upgrade
Version history
1.2.6latest on PyPI · released Sep 3, 2017
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
pyxb — pip install pyxb · libregistry