py3-dict2xml-1.7.8
convert a Python dictionary into an XML file
Back to search · Project homepage
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=" "))
Package information
- Ports path
- textproc/py-dict2xml
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- textproc, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.
Direct dependencies
Runtime
Build
Test
Used by (1 dependency relationships)
Includes library, runtime, build and test relationships. Results load 100 at a time.