cssselect 1.4.0


pip install cssselect

  Latest version

Released: Jan 29, 2026

Project Links

Meta
Author: Ian Bicking
Maintainer: Paul Tremberth
Requires Python: >=3.10

Classifiers

Development Status
  • 4 - Beta

Intended Audience
  • Developers

Programming Language
  • Python :: 3
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy
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

  • Releases on PyPI

  • Install with pip install cssselect

Wheel compatibility matrix

Platform Python 3
any

Files in release

No dependencies