Metadata-Version: 1.0
Name: dict2xml
Version: 0.6
Summary: Converts a native Python dictionary into an XML string.
Home-page: https://github.com/quandyfactory/dict2xml
Author: Ryan McGreal
Author-email: ryan@quandyfactory.com
License: GNU General Public Licence, Version 2
Download-URL: https://github.com/quandyfactory/dict2xml/blob/master/dist/dict2xml-0.6.tar.gz?raw=true
Description: * Supports item (`int`, `float`, `bool`, `str`, `unicode`, `datetime`) and collection (`list`, `set` and `dict`) data types with arbitrary nesting for the collections. Datetime objects are converted to ISO format strings.
        
        * The root object passed into the `dict2xml` function can be any of the following data types: `int`, `float`, `str`, `unicode`, `datetime`, `list`, `set`, `dict`.
        
        * To satisfy XML syntax, by default it wraps all the dict keys/elements and values in a `<root> ... </root>` element. However, this can be disabled to create XML snippets.
        
        * For lists of items, if each item is also a collection data type (`lists`, `dict`), the elements of that item are wrapped in a generic `<item> ... </item>` element.
        
        * Elements with an item data type (`int`, `float`, `bool`, `str`, `datetime`, `unicode`) include a `type` attribute with the data type. Note: `datetime` data types are converted into ISO format strings, and `unicode` and `datetime` data types get a `str` attribute.
        
        * Elements with an unsupported data type raise a TypeError exception.
            
Platform: UNKNOWN
