py3-dict2xml
small utility to convert a Python dictionary into an XML
WWW CVSWeb GITHub-
Package versionpy3-dict2xml-1.7.5
-
MaintainerThe OpenBSD ports mailing-list
Super Simple utility to convert a python dictionary into an xml string.
from dict2xml import dict2xml
data = {
'a': 1,
'b': [2, 3],
'c': {
'd': [
{'p': 9},
{'o': 10}
],
'e': 7
}
}
print (dict2xml(data, wrap="all", indent=" "))
- python3
- lang/python/3.10
- devel/py-build,python3
- devel/py-installer,python3
- devel/py-hatchling,python3
- lang/python/3.10