px
pypx

cssselect

v1.6.0

cssselect parses CSS3 Selectors and translates them to XPath 1.0

22 KB Python 3.11+ py3-none-anyBSD-3-Clause
Diff
$ uv add cssselect

===================================

cssselect: CSS Selectors for Python

PyPI Version Supported Python Versions Tests Coverage report

cssselect is a BSD-licensed Python library to parse CSS3 selectors_ and translate them to XPath 1.0_ expressions.

XPath 1.0_ expressions can be used in lxml_ or another XPath engine to find the matching elements in an XML or HTML document.

Find the cssselect online documentation at https://cssselect.readthedocs.io.

Quick facts:

  • Source, issues and pull requests `on GitHub

<https://github.com/scrapy/cssselect>`_

  • Releases on PyPI
  • Install with pip install cssselect

Details

Version
1.6.0
License
BSD-3-Clause
Python
>=3.11
Maintainer
Ian Bicking <[email protected]>

Release Cadence

3
releases in the past year
avg 252 days between releases

Maintainers