| Name: | python-xmltodict |
|---|---|
| Version: | 0.9.0 |
| Release: | 1.el7 |
| Architecture: | noarch |
| Group: | Development/Libraries |
| Size: | 31358 |
| License: | MIT |
| RPM: | python-xmltodict-0.9.0-1.el7.noarch.rpm |
| Source RPM: | python-xmltodict-0.9.0-1.el7.src.rpm |
| Build Date: | Fri Aug 18 2017 |
| Build Host: | x86-ol7-builder-02.us.oracle.com |
| Vendor: | Oracle America |
| URL: | https://github.com/martinblech/xmltodict |
| Summary: | Makes working with XML feel like you are working with JSON |
| Description: | xmltodict is a Python module that makes working with XML feel like you are
working with JSON. It's very fast (Expat-based) and has a streaming mode
with a small memory footprint, suitable for big XML dumps like Discogs or
Wikipedia.
>>> doc = xmltodict.parse("""
... <mydocument has="an attribute">
... <and>
... <many>elements</many>
... <many>more elements</many>
... </and>
... <plus a="complex">
... element as well
... </plus>
... </mydocument>
... """)
>>>
>>> doc['mydocument']['@has']
u'an attribute'
>>> doc['mydocument']['and']['many']
[u'elements', u'more elements']
>>> doc['mydocument']['plus']['@a']
u'complex'
>>> doc['mydocument']['plus']['#text']
u'element as well' |
- Update spec file according guidelines - Update to upstream release 0.9.0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
- Latest upstream - Included README and LICENSE - Running tests now - https://github.com/martinblech/xmltodict/pull/11 - Added Requires python3 to the python3 subpackage.
- Initial packaging for Fedora