generateds (original) (raw)
Features
- generateDS.py generates Python data structures from an Xschema document. It generates a file containing: (1) a Python class for each element definition and (2) parsers (which use the Python lxml library) for XML documents that satisfy the Xschema document. The class definitions contain: - A constructor with initializers for member variables. - Get and set methods for member variables. - A 'build' method used during parsing to populate an instance. - An 'export' method that will re-create (write out) the XML element in an XML document. - Etc. See ``generateDS.txt``/``generateDS.html`` for information about more capabilities, how to use it, etc.
MongoDB 8.0 on Atlas | Run anywhere
Now available in even more cloud regions across AWS, Azure, and Google Cloud.
MongoDB 8.0 brings enhanced performance and flexibility to Atlas—with expanded availability across 125+ regions globally. Build modern apps anywhere your users are, with the power of a modern database behind you.
User Ratings
5.0 out of 5 stars
★★★★★
★★★★
★★★
★★
★
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
User Reviews
Hi folks, generateDS is excellent library! I used it to get py objects from rigid XSD schema. One command line execution and the whole thing was there. It took a bit of time to figure out how to utilize all of the py generated stuff but it was not that hard. I modified code base a bit but stuff delivered precise XML output and it was 100X better solution than creating XML from scratch. Thank you for your work - Sasha Kacanski Read more reviews >
Additional Project Details
2019-10-31