BSD Ports

textproc/py-cssselect2 0.8.0 DragonFly

CSS selectors for Python ElementTree

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
python, textproc
Package size
33.5 KiB, 198.9 KiB installed

Description

cssselect2 is a straightforward implementation of CSS3 Selectors for markup documents (HTML, XML, etc.) that can be read by ElementTree-like parsers (including cElementTree, lxml, html5lib, etc.)

Unlike cssselect, it does not translate selectors to XPath and therefore does not have all the correctness corner cases that are hard or impossible to fix in cssselect.

In the other systems

SystemPortVersion
DragonFlytextproc/py-cssselect20.8.0
FreeBSDtextproc/py-cssselect20.10.1
OpenBSDtextproc/py-cssselect20.9.0p0
NetBSDtextproc/py-cssselect20.10.1
MidnightBSDtextproc/py-cssselect20.4.1_1

Install

Binary package:

pkg install py311-cssselect2

From DPorts:

cd /usr/dports/textproc/py-cssselect2 && make install clean

Dependencies

Run dependencies 3