Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

XML bindng library for Python

Project Description

XML bindng library for Python


The lastest stable is py-xml-1.0.tar.gz

python install

Getting Start

xml data(test.xml):

        <group name="test">
        <parent name="green">
                <child name="jim" age="23" sex="male">
                <child name="lucy" age="21" sex="female" address="Chongqing">

demo for py-xml:

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


Full documentation is hosted on [HERE](). Sources are available in the docs/ directory.


py-xml is licensed under the Apache License, Version 2.0. See LICENSE for full license text

Release History

This version
History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(11.0 kB) Copy SHA256 Hash SHA256
Source None Feb 12, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting