FreeBSD.software
Home/textproc/py311-untangle

py311-untangle

1.2.1_1

Convert XML to Python objects

untangle is a tiny Python library which converts an XML document to a Python object. Features: - Siblings with similar names are grouped into a list. - Children can be accessed with parent.child, attributes with element['attribute']. - You can call the parse() method with a filename, an URL or an XML string. - Substitutes -, . and : with _ <foobar><foo-bar/></foobar> can be accessed with foobar.foo_bar, <foo.bar.baz/> can be accessed with foo_bar_baz and <foo:bar><foo:baz/></foo:bar> can be accessed with foo_bar.foo_baz

Origin: textproc/py-untangle
Category: textproc
Size: 33.7KiB
License: MIT
Maintainer: sunpoet@FreeBSD.org
Dependencies: 2 packages
Required by: 1 packages
$pkg install py311-untangle

Dependencies (2)

Required By (1 packages)

More in textproc