FreeBSD.software
Home/textproc/py311-untangle

py311-untangle

1.2.1_1textproc

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

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

Dependencies (2)

Required By (1)