relaxml 0.1.3

Converting XML should be easy -- and fast
relaxml is a Python tool for converting XML to a dictionary should be easy -- and fast.

Most of the current XML to dict projects are either unmaintained, slow, or not well-tested. This shouldn't be the case.

Installation

You can either clone this repo or use pip.

pip install relaxml

Usage

>>> from relaxml import xml

>>> some_xml = open('file.xml')
>>> xml(some_xml)
{'ohai': {'xml': 'data'}}

>>> import requests as req
>>> content = req.get('http://lots.ofxml.org').text
>>> xml(content)
{'ohai': {'xml': 'data'}}

last updated on:
June 16th, 2012, 0:26 GMT
price:
FREE!
developed by:
Zach Williams
license type:
MIT/X Consortium License 
category:
ROOT \ Text Editing&Processing \ Markup

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT