textproc/py-untangle 1.2.1_1
Convert XML to Python objects
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- textproc, python
- Package size
- 9.7 KiB, 31.5 KiB installed
Description
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
Install
As a binary package — by origin, or by package name:
pkg install textproc/py-untangle
pkg install py312-untangle
From the ports tree:
cd /usr/ports/textproc/py-untangle/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-untangle>0:textproc/py-untangle
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.2.1_1 | 1.2.1_1 | 1.2.1 | 1.2.1_1 | 1.2.1_1 |
| FreeBSD:14:quarterly | 1.2.1_1 | 1.2.1_1 | n/a | 1.2.1_1 | 1.2.1_1 |
| FreeBSD:15:latest | 1.2.1_1 | 1.2.1_1 | n/a | 1.2.1_1 | 1.2.1_1 |
| FreeBSD:15:quarterly | 1.2.1_1 | 1.2.1_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2.1_1 | 1.2.1_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0: devel/py-poetry-core
Runtime 1
${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.8.0: devel/py-defusedxml
The full lists below include those, and their dependencies in turn.
All build dependencies 15
All run dependencies 8
Required by 1
Configuration
No options to configure.
- USES
- python shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| untangle-1.2.1.tar.gz | 4809 | ae76522472722b31b303d5100c3c6f8b7dd4952b7b6c9d31e6d7b4a56f1a6d30 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.