The textproc/py-dict2xml port
py3-dict2xml-1.7.7 – convert a Python dictionary into an XML file
Description
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=" "))
WWW: https://github.com/delfick/python-dict2xml
- Only for arches
-
aarch64
aarch64
alpha
amd64
amd64
arm
arm
hppa
i386
i386
mips64
mips64
mips64el
mips64el
powerpc
powerpc
powerpc64
powerpc64
riscv64
riscv64
sparc64
- Categories:
-
lang/python
textproc
Library dependencies
Build dependencies
Run dependencies