CSS Selectors for Python ElementTree

JSON →
library 0.9.0 ·python
verified Jun 9, 2026 install

cssselect2 is a straightforward implementation of CSS3 and CSS4 Selectors for markup documents (HTML, XML, etc.) that can be read by ElementTree-like parsers (including cElementTree, lxml, and html5lib). Unlike its predecessor `cssselect`, it does not translate selectors to XPath, aiming to resolve correctness issues inherent in that approach. The library is actively maintained, with its current version being 0.9.0, and releases occur several times a year, often coinciding with Python version updates and new CSS selector features.

total hits 32
actors 7 distinct systems
last hit 1d ago Amazonbot
GPTBot
4
MetaBot
4
Script
2
Amazonbot
1
Search engines
6
Humans
11

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · 🇨🇦 Canada · BD