Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

lselect is a straightforward implementation of CSS3 Selectors for lxml documents. Unlike cssselect, it does not translate selectors to XPath. It is currently slower but more correct than cssselect.

Quick facts:

  • Free software: BSD licensed

  • Compatible with Python 2.6+ and 3.x

  • Latest documentation on python.org

  • Source, issues and pull requests on Github

  • Releases on PyPI

  • Install with pip install lselect

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page