textproc/py-dicttoxml 1.7.16p5 OpenBSD
convert dicts and other data types into XML
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
3f059e808a- Categories
- textproc, lang/python
Description
Converts 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.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | textproc/py-dicttoxml | 1.7.16p5 |
| NetBSD | textproc/py-dicttoxml | 1.7.16 |
Install
Binary package:
pkg_add py3-dicttoxml
From the ports tree:
cd /usr/ports/textproc/py-dicttoxml && make install