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
$300 Free Credits to Build on Google Cloud
Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
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,