notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2024Q3
py-html5-parser Fast implementation of the HTML 5 parsing spec for Python
0.4.12_2 www on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.4.12_1Version of this port present on the latest quarterly branch.
Maintainer: madpilot@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-07-31 16:22:30
Last Update: 2025-06-30 09:04:22
Commit Hash: 3068854d
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
Also Listed In: python
License: APACHE20
WWW:
https://html5-parser.readthedocs.io/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}html5-parser>0:www/py-html5-parser@${PY_FLAVOR}
To install the port:
cd /usr/ports/www/py-html5-parser/ && make install clean
To add the package, run one of these commands:
  • pkg install www/py-html5-parser
  • pkg install py311-html5-parser
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-html5-parser listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-html5-parser
Package flavors (<flavor>: <package>)
  • py311: py311-html5-parser
distinfo:
TIMESTAMP = 1700496447 SHA256 (html5-parser-0.4.12.tar.gz) = 3d7f89841aa48b976311f43863178c34c141abcf1dd45b67a7339e61cffe5306 SIZE (html5-parser-0.4.12.tar.gz) = 270861

Packages (timestamps in pop-ups are UTC):
py37-html5-parser
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.4.9---0.4.9-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-html5-parser
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.4.11--0.4.120.4.120.4.12
FreeBSD:14:latest--0.4.10_2--0.4.11-0.4.11
FreeBSD:14:quarterly-----0.4.120.4.120.4.12
FreeBSD:15:latest--n/a-n/a0.4.120.4.120.4.12
 
py311-html5-parser
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.4.12_10.4.12_1-0.4.12_10.4.12_2---
FreeBSD:13:quarterly0.4.12_10.4.12_1-0.4.12_10.4.12_1---
FreeBSD:14:latest0.4.12_10.4.12_2-0.4.12_10.4.12_2---
FreeBSD:14:quarterly0.4.12_10.4.12_1-0.4.12_10.4.12_2---
FreeBSD:15:latest0.4.12_10.4.12_1n/a0.4.12_1n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-lxml>=4.9.2 : devel/py-lxml@py311
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  4. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
Library dependencies:
  1. libxml2.so : textproc/libxml2
This port is required by:
for Build
  1. deskutils/calibre
for Run
  1. deskutils/calibre
  2. www/py-mechanize

Configuration Options:
No options to configure
Options name:
www_py-html5-parser
USES:
gnome pkgconfig python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/h/html5-parser/
  2. https://pypi.org/packages/source/h/html5-parser/
Collapse this list.

There are no commits on branch 2024Q3 for this port