Skip to main content
Pre-release

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

cssselect2 is a straightforward implementation of CSS3 Selectors for ElementTree-compatible documents (including cElementTree, lxml, etc.) 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.2+

  • Latest documentation on python.org

  • Source, issues and pull requests on Github

  • Releases on PyPI

  • Install with pip install cssselect2

Supported by

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