Skip to content

Utilities for using XPath to map XML data to Python objects and Django forms

Notifications You must be signed in to change notification settings

jermnelson/eulxml

 
 

Repository files navigation

EULxml

EULxml is a Python module that provides utilities and classes for interacting with XML that allow the definition of re-usable XML objects that can be accessed, updated and created as standard Python types, and a form component for editing XML with Django forms.

eulxml.xpath provides functions and classes for parsing XPath expressions using PLY.

eulxml.xmlmap makes it easier to map XML to Python objects in a nicer, more pythonic and object-oriented way than typical DOM access usually provides. XML can be read, modified, and even created from scratch (in cases where the configured XPath is simple enough to determine the nodes that should be constructed).

eulxml.forms provides Django Form objects that use eulxml.xmlmap.XmlObject instances as the basis and data instance for the form, with the goal of making it easy to edit XML content via web forms.

Dependencies

eulxml depends on PLY and lxml.

eulxml.forms requires and was designed to be used with Django, although Django is not required for installation and use of the non-form components of eulxml.

Contact Information

eulxml was created by the Digital Programs and Systems Software Team of Emory University Libraries.

libsysdev-l@listserv.cc.emory.edu

License

eulxml is distributed under the Apache 2.0 License.

Development History

For instructions on how to see and interact with the full development history of eulxml, see eulcore-history.

About

Utilities for using XPath to map XML data to Python objects and Django forms

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%