./textproc/py-dict2xml [small utility to convert a Python dictionary into an XML]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 1.7.2, Package name: py-dict2xml-1.7.2
Maintained by: The OpenBSD ports mailing-list
Master sites:
Flavors (export FLAVOR=xyz, setenv FLAVOR xyz):
  • python3
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=" "))


Filesize: 12.007 KB
Version History (View Complete History)
  • (2022-11-24) Updated to version: py-dict2xml-1.7.2
  • (2022-06-30) Package added to openports.se, version py-dict2xml-1.7.1 (created)
[show/hide] View available PLISTS (Can be a lot of data)