{ "info": { "author": "Yugeng Hui", "author_email": "hyg at pinae org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development", "Topic :: Utilities" ], "description": "py-xml\r\n============================================\r\n\r\nXML bindng library for Python\r\n\r\nInstallation\r\n--------------\r\n\r\nThe lastest stable is py-xml-1.0.tar.gz\r\n\r\n.. code-block:: shell\r\n\r\n python setup.py install\r\n\r\nGetting Start\r\n--------------\r\n\r\nxml data(test.xml):\r\n\r\n.. code-block:: xml\r\n\r\n \r\n \r\n green\r\n \r\n \r\n \r\n
Shenzhen
\r\n 18607578001\r\n
\r\n \r\n
Guangzhou
\r\n 18607578002\r\n
\r\n
\r\n
\r\n\r\n\r\ndemo for py-xml:\r\n\r\n.. code-block:: python\r\n\r\n import py_xml\r\n\r\n bind_obj = py_xml.parse('test.xml')\r\n print bind_obj.get('root').get('parent')[0].get('child')[0].get('name').get('_attr_') #print: jim\r\n print bind_obj.get('root').get('parent')[0].get('child')[0].get('address').get('_node_') #print: Shenzhen\r\n\r\n print py_xml.to_xml(bind_obj) #print above xml\r\n\r\nDocumentation\r\n--------------\r\n\r\nFull documentation is hosted on [HERE]().\r\nSources are available in the ``docs/`` directory.\r\n\r\nLicense\r\n--------------\r\n\r\npy-xml is licensed under the Apache License, Version 2.0. See LICENSE for full license text", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/PinaeOS/py-xml", "keywords": "python xml", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "py-xml", "package_url": "https://pypi.org/project/py-xml/", "platform": "", "project_url": "https://pypi.org/project/py-xml/", "project_urls": { "Homepage": "https://github.com/PinaeOS/py-xml" }, "release_url": "https://pypi.org/project/py-xml/1.0/", "requires_dist": null, "requires_python": null, "summary": "XML bindng library for Python", "version": "1.0" }, "last_serial": 1952347, "releases": { "1.0": [ { "comment_text": "Support xml bind to dict and serialize dict to xml", "digests": { "md5": "6ba9e5c1336f6467cc346e8c97ae2b74", "sha256": "fd06602fadec7b3326ab828d25b15fd9c9fb53fa45206269ec965c0afabbc3fb" }, "downloads": -1, "filename": "py-xml-1.0.tar.gz", "has_sig": false, "md5_digest": "6ba9e5c1336f6467cc346e8c97ae2b74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11016, "upload_time": "2016-02-12T04:38:18", "url": "https://files.pythonhosted.org/packages/90/02/4a3cf06d254c70334ebf028e0bcd595c6f265ce1f1ed752bf2957dd8ba08/py-xml-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "Support xml bind to dict and serialize dict to xml", "digests": { "md5": "6ba9e5c1336f6467cc346e8c97ae2b74", "sha256": "fd06602fadec7b3326ab828d25b15fd9c9fb53fa45206269ec965c0afabbc3fb" }, "downloads": -1, "filename": "py-xml-1.0.tar.gz", "has_sig": false, "md5_digest": "6ba9e5c1336f6467cc346e8c97ae2b74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11016, "upload_time": "2016-02-12T04:38:18", "url": "https://files.pythonhosted.org/packages/90/02/4a3cf06d254c70334ebf028e0bcd595c6f265ce1f1ed752bf2957dd8ba08/py-xml-1.0.tar.gz" } ] }