BSD Ports

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

SystemPortVersion
FreeBSDwww/py-html5-parser0.4.12_4
OpenBSDwww/py-html5-parser0.5.0
NetBSDtextproc/py-html5-parser0.4.12nb7
DragonFlywww/py-html5-parser0.4.12_1
MidnightBSDwww/py-html5-parser0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.4.12_40.4.12_40.4.10_20.4.12_30.4.12_4
FreeBSD:14:quarterly0.4.12_40.4.12_4n/a0.4.12_20.4.12_4
FreeBSD:15:latest0.4.12_40.4.12_4n/a0.4.12_30.4.12_3
FreeBSD:15:quarterly0.4.12_40.4.12_4n/an/an/a
FreeBSD:16:latest0.4.12_40.4.12_4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

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
FileSizeSHA256
html5-parser-0.4.12.tar.gz2708613d7f89841aa48b976311f43863178c34c141abcf1dd45b67a7339e61cffe5306
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.