Install python3-dicttoxml by entering the following commands in the terminal:
sudo apt update sudo apt install python3-dicttoxml
Description:
Python 3 module for converting dict into a XML string
dicttoxml is a Python module for a Python dictionary or other native data type into a valid XML string. . Supports item (int, float, long, decimal.Decimal, bool, str, unicode, datetime, none and other number-like objects) and collection (list, set, tuple and dict, as well as iterable and dict-like objects) data types, with arbitrary nesting for the collections. Items with a datetime type are converted to ISO format strings. Items with a none type become empty XML elements. . This is the Python 3 version of the package.
Homepage: https://pypi.python.org/pypi/dicttoxml/
Version: 1.7.4-1
Section: universe/python