www/py-html5-parser 0.4.12_4 FreeBSD
Fast implementation of the HTML 5 parsing spec for Python
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- www, python
- Package size
- 155.6 KiB, 530.0 KiB installed
Description
A fast implementation of the HTML 5 parsing spec for Python. Parsing is done in C using a variant of the gumbo parser. The gumbo parse tree is then transformed into an lxml tree, also in C, yielding parse times that can be a thirtieth of the html5lib parse times. That is a speedup of 30x. This differs, for instance, from the gumbo python bindings, where the initial parsing is done in C but the transformation into the final tree is done in python.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-html5-parser | 0.4.12_4 |
| OpenBSD | www/py-html5-parser | 0.5.0 |
| NetBSD | textproc/py-html5-parser | 0.4.12nb7 |
| DragonFly | www/py-html5-parser | 0.4.12_1 |
| MidnightBSD | www/py-html5-parser | 0.4.12_2 |
Install
Binary package:
pkg install py312-html5-parser
From the ports tree:
cd /usr/ports/www/py-html5-parser/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-html5-parser>0:www/py-html5-parser
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 | 0.4.12_4 | 0.4.12_4 | 0.4.10_2 | 0.4.12_3 | 0.4.12_4 |
| FreeBSD:14:quarterly | 0.4.12_4 | 0.4.12_4 | n/a | 0.4.12_2 | 0.4.12_4 |
| FreeBSD:15:latest | 0.4.12_4 | 0.4.12_4 | n/a | 0.4.12_3 | 0.4.12_3 |
| FreeBSD:15:quarterly | 0.4.12_4 | 0.4.12_4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.4.12_4 | 0.4.12_4 | 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}lxml>=4.9.2: devel/py-lxml
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 8
Configuration
No options to configure.
- USES
- gnome pkgconfig python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| html5-parser-0.4.12.tar.gz | 270861 | 3d7f89841aa48b976311f43863178c34c141abcf1dd45b67a7339e61cffe5306 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.