Skip to main content

CSS selectors for ElementTree.

Project description

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

Project details


Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page