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

Release history Release notifications | RSS feed

This release

0.1a0 This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page