{ "info": { "author": "Jesse Myers", "author_email": "jesse@devnull.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "lxmlbind\n=========\n\nPython LXML object binding.\n\n[![Build Status](https://travis-ci.org/jessemyers/lxmlbind.png)](https://travis-ci.org/jessemyers/lxmlbind)\n\nWhat is this?\n-------------\n\nThe [xml.etree][1] library is a great way to manipulate XML in Python, but in most domains\nit is clearer to use objects that model your domain entities instead of manipulating\nthe XML representation directly. The motivating example was [Jenkins][2] XML job\nconfigurations, but the same problem is likely to exist for any XML-based modeling.\n\nThis project attempts to use Python [data descriptors][3] to bind an element tree\nto Python objects.\n\n [1]: http://lxml.de/tutorial.html\n [2]: http://jenkins-ci.org/\n [3]: http://docs.python.org/2/howto/descriptor.html\n\nExample\n-------\n\nAssume that you have an API using XML representations of people with first and last names:\n\n xml = \"JohnDoe