relaxml 0.1.3

Converting XML should be easy -- and fast

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Zach Williams
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Text Editing&Processing \ Markup
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

requirements

#XML converter #dictionary converter #markup #XML #converter #dictionary

Add your review!

SUBMIT