-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2013-0486 2013-01-09 08:17:55 --------------------------------------------------------------------------------
Name : python-xmltodict Product : Fedora 17 Version : 0.4.2 Release : 1.fc17 URL : http://pypi.python.org/pypi/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: New package. -------------------------------------------------------------------------------- References: [ 1 ] Bug #891992 - Review Request: python-xmltodict - Makes working with XML feel like you are working with JSON https://bugzilla.redhat.com/show_bug.cgi?id=891992 -------------------------------------------------------------------------------- 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 -------------------------------------------------------------------------------- _______________________________________________ package-announce mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/package-announce
