| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: python-xmltodict | Distribution: OpenMandriva Lx |
| Version: 0.12.0 | Vendor: OpenMandriva |
| Release: 2 | Build date: Wed Aug 31 23:31:59 2022 |
| Group: Development/Python | Build host: c64-3.openmandriva.org |
| Size: 38366 | Source RPM: python-xmltodict-0.12.0-2.src.rpm |
| Packager: angrypenguin <angrypenguinpoland@gmail.com> | |
| Url: https://github.com/martinblech/xmltodict | |
| Summary: Makes working with XML feel like you are working with JSON | |
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'
MIT
/usr/lib/python3.11/site-packages/xmltodict-0.12.0-py3.11.egg-info /usr/lib/python3.11/site-packages/xmltodict-0.12.0-py3.11.egg-info/PKG-INFO /usr/lib/python3.11/site-packages/xmltodict-0.12.0-py3.11.egg-info/SOURCES.txt /usr/lib/python3.11/site-packages/xmltodict-0.12.0-py3.11.egg-info/dependency_links.txt /usr/lib/python3.11/site-packages/xmltodict-0.12.0-py3.11.egg-info/top_level.txt /usr/lib/python3.11/site-packages/xmltodict.py /usr/share/doc/python-xmltodict /usr/share/doc/python-xmltodict/LICENSE /usr/share/doc/python-xmltodict/PKG-INFO /usr/share/doc/python-xmltodict/README.md
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Oct 23 22:03:08 2025