cssselect: CSS Selectors for Python

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

cssselect is a BSD-licensed Python library that parses CSS3 Selectors and translates them into XPath 1.0 expressions. These XPath expressions can then be used with an XPath engine like lxml to find matching elements in XML or HTML documents. The library is currently at version 1.4.0 and maintains an active development cycle with releases published on PyPI.

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

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