Fedora 21 Update: python-xmltodict-0.9.0-1.fc21

updates at fedoraproject.org updates at fedoraproject.org
Sat Nov 1 17:09:17 UTC 2014


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2014-12110
2014-10-04 02:23:43
--------------------------------------------------------------------------------

Name        : python-xmltodict
Product     : Fedora 21
Version     : 0.9.0
Release     : 1.fc21
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 Information:

Update spec file according guidelines
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use
su -c 'yum update python-xmltodict' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list