Skip to main content

Yet another XML to python object mapping, a la Django ORM

Project description

This library is inspired by Django object to relation layer. XML document schemas are represented by Python classes with fields corresponding to nested elements and attributes. Document namespaces and encodings are stored as class Meta information. Object instances are transparently loaded from XML documents, with validation on load and save operations. Object-oriented approach allows reusing of schema elements by inheritance and overriding of XML elements and attributes represented by Python class members. XML namespaces, serialization an de-serialization to different encodings and optional schema validation are supported, along with most common XSD types to Python objects mapping. XSD inspection utility is provided for conversion of existing XSD schemas to Python objects (very much work in progress, but usable for simple schemas). Documentation is work in progress, mostly in Russian. For reference see source of test.py which showcases all current features.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xml_orm-0.6.14.tar.gz (20.2 kB view details)

Uploaded Source

File details

Details for the file xml_orm-0.6.14.tar.gz.

File metadata

  • Download URL: xml_orm-0.6.14.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xml_orm-0.6.14.tar.gz
Algorithm Hash digest
SHA256 0fbf850f357165c3f38e9707b33e1338781c5debb962819e930b0a14fc313980
MD5 112ac029b2f738361cfad3adc8f729a0
BLAKE2b-256 bc3b7afc777decb6c185bd4126bd54db5a4b36bf46e98c233f95af8ddb423926

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page