Skip to main content

cssselect parses CSS3 Selectors and translates them to XPath 1.0

Project description

cssselect parses CSS3 Selectors and translate them to XPath 1.0 expressions. Such expressions can be used in lxml or another XPath engine to find the matching elements in an XML or HTML document.

This module used to live inside of lxml as lxml.cssselect before it was extracted as a stand-alone project.

Quick facts:

  • Free software: BSD licensed

  • Compatible with Python 2.6+ and 3.3+

  • Latest documentation on Read the Docs

  • Source, issues and pull requests on Github

  • Releases on PyPI

  • Install with pip install cssselect

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cssselect-1.0.1.tar.gz (21.8 kB view hashes)

Uploaded source

Built Distribution

cssselect-1.0.1-py2.py3-none-any.whl (16.0 kB view hashes)

Uploaded py2 py3

Supported by

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