PyXB (“pixbee”) is a pure Python package that generates Python source 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++.
License
Apache License V2.0Follow PyXB: Python XML Schema Bindings
Other Useful Business Software
Auth for GenAI | Auth0
Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
Rate This Project
Login To Rate This Project
User Reviews
-
The documentation is incomprehensible, I just want to know how to access a member when it has a namespace. I've been trying to figure this out for several hours. AttributeError: 'CTD_ANON_5' object has no attribute 'EntityNames' There doesn't seem to be any documentation of the objects and their methods, and how to use them. The examples use trivial XML without namespaces. The code generator generates syntax errors when used with this XML schema: uk-gaap-ae-2009-06-21.xsd import _uk-gcd as _ImportedBinding__uk_gcd All in all, absolutely f***ing awful. One of the most user-hostile libraries I've attempted to use in a long time.
-
Thanks for Pyxb, it's the best!
-
Great tool the only one that can validate our complex imports in the schema Also greate support
-
Very useful project!
-
great out of the box XSD to Class generater,