diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-08-27 10:10:36 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-08-27 10:10:36 +0000 |
commit | e79182aa84d1daa9b27c4acb6790add737577654 (patch) | |
tree | 9da7d9568199bac9a1a00f2e45e50976c38211ab /textproc/Makefile | |
parent | ed2846c0431aa13b41dfe67f78c47988591b0350 (diff) | |
download | ports-e79182aa84d1daa9b27c4acb6790add737577654.tar.gz ports-e79182aa84d1daa9b27c4acb6790add737577654.zip |
textproc/py-untangle: Add py-untangle 1.2.1
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
WWW: https://github.com/stchris/untangle
Diffstat (limited to 'textproc/Makefile')
-rw-r--r-- | textproc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 84007e05cff9..25be53921f8d 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1555,6 +1555,7 @@ SUBDIR += py-typogrify SUBDIR += py-ucl SUBDIR += py-ufal.udpipe + SUBDIR += py-untangle SUBDIR += py-wcmatch SUBDIR += py-whatthepatch SUBDIR += py-whoosh |