www/py-html5-parser 0.4.12_1 DragonFly
Fast implementation of the HTML 5 parsing spec for Python
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20
- Categories
- python, www
- Package size
- 136.6 KiB, 538.7 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 |
|---|---|---|
| DragonFly | www/py-html5-parser | 0.4.12_1 |
| FreeBSD | www/py-html5-parser | 0.4.12_4 |
| OpenBSD | www/py-html5-parser | 0.5.0 |
| MidnightBSD | www/py-html5-parser | 0.4.12_2 |
Install
Binary package:
pkg install py311-html5-parser
From DPorts:
cd /usr/dports/www/py-html5-parser && make install clean