Metadata-Version: 1.1
Name: py-xml
Version: 1.0
Author: Yugeng Hui
Author-email: hyg at pinae org
Home-page: https://github.com/PinaeOS/py-xml
Summary: XML bindng library for Python
License: Apache 2.0
Description: py-xml
		============================================
		
		XML bindng library for Python
		
		Installation
		--------------
		
		The lastest stable is py-xml-1.0.tar.gz
		
		.. code-block:: shell
		
		    python setup.py install
		
		.. code-block:: shell
		
		    pip install py-xml
		
		    
		Getting Start
		--------------
		
		xml data(test.xml):
		
		.. code-block:: xml
		
			<root>
				<group name="test">
					<family>green</family>
				</group>
				<parent name="green">
					<child name="jim" age="23" sex="male">
						<address>Shenzhen</address>
						<phone>18607578001</phone>
					</child>
					<child name="lucy" age="21" sex="female" address="Chongqing">
						<address>Guangzhou</address>
						<phone>18607578002</phone>
					</child>
				</parent>
			</root>
		
		
		demo for py-xml:
		
		.. code-block:: python
		
			import py_xml
			    
			bind_obj = py_xml.parse('test.xml')
			print bind_obj.get('root').get('parent')[0].get('child')[0].get('name').get('_attr_') #print: jim
			print bind_obj.get('root').get('parent')[0].get('child')[0].get('address').get('_node_') #print: Shenzhen
			    
			print py_xml.to_xml(bind_obj) #print above xml
		
		Documentation
		--------------
		
		Full documentation is hosted on [HERE](). 
		Sources are available in the ``docs/`` directory.
		
		License
		--------------
		
		py-xml is licensed under the Apache License, Version 2.0. See LICENSE for full license text
Keywords: python xml
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development
Classifier: Topic :: Utilities
