PyXB (Python XML Schema Bindings; "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++. The current release supports XML Schema 1.0.

Version 1.0.0 is feature-complete and suitable for production development where validation of incoming and generated documents is desired. The following schema constructs are supported:

I must say, though, aren't static-language-style data bindings rather rigid, and counter to the spirit of Python? Of course, I develop a tool with a very different philosophy [1], but perhaps it's possible to probe the matter with use-cases.