Skip to main content

Python XML/Schema processing tool

Project description

pyXSD is a free, open source python program that maps xml and xsd(XML Schema)
files into python, allowing for easy schema-based validation and transformation
of xml files.

Benefits:
=========

* Allows for easy, non-DOM, access to XML and XML Schema from Python
* Minimizes time to make small programs associated with data in an xml file
using "transforms"
* Highly adaptable to particular needs and to specific programs
* Platform independent

Overview:
=========

* Generates python classes for all of the types defined in the XSD schema file.
The generated classes may be written to file.
* Parses the xml file and builds a pythonic object tree according to the
generated classes. This tree of maintains the same overall structure of the
original xml document.
* Validates the xml file against the schema producing non-fatal errors. Helps
the user write a valid xml document, without requiring complete validity.
* Transforms the pythonic objects according to built-in "transform" classes and
add-on classes that the user writes in python.
* Sends pythonic object tree to a writer which produces a transformed xml file.

Features:

* Transforms allow users to easily adapt pyXSD to vast number of applications
- Provides a framework and libraries to write transform so the user can more
easily write these transform functions
- Allows the user to specify the desired transform classes with arguments
and the order in a file so the user can create a sort of custom tool
- Allows for transforms that can export to other formats, giving pyXSD
powerful flexibility
* The pythonic data tree format uses a very simple structure that allows for an
easily understood API, so that users can easily manipulate this tree in
transforms and use the writer in other programs
* Can be used as a standalone program at the command line or as a library in
other programs
* Uses the cElementTree library for fast reading of the xml and xsd files

Requirements:
=============

* Python 2.3 or later.
* ElementTree library, preferably the c implementation.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

pyxsd-0-1.tgz (310.6 kB view details)

Uploaded Source

Built Distribution

pyxsd-0-1.exe (74.4 kB view details)

Uploaded Source

File details

Details for the file pyxsd-0-1.tgz.

File metadata

  • Download URL: pyxsd-0-1.tgz
  • Upload date:
  • Size: 310.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyxsd-0-1.tgz
Algorithm Hash digest
SHA256 530d64641329ea3001e19a21859e69073237f827a51cbfe42742464ecd2f7bff
MD5 8f02162395a67956894efc4d1a2febda
BLAKE2b-256 fcd903060d7f31bb37a787a799b1591d9bcd1968f61a0dbd71fc8fb305ac5133

See more details on using hashes here.

File details

Details for the file pyxsd-0-1.exe.

File metadata

  • Download URL: pyxsd-0-1.exe
  • Upload date:
  • Size: 74.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyxsd-0-1.exe
Algorithm Hash digest
SHA256 c7e11ffdedac0a85a7280c8f35bd8cad32d853280c7141c782f69550186722de
MD5 6a4fc76b3990f3f37df11d1981197128
BLAKE2b-256 ee3f7ecdb91879192514df75d226b7cf7ec316425d6b5e68eaa40749bcdca37b

See more details on using hashes here.

Supported by

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