Skip to main content

cssselect parses CSS3 Selectors and translates them to XPath 1.0

Project description

PyPI Version Supported Python Versions Build Status Coverage report

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.7 and 3.4+
  • 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.

Filename, size & hash SHA256 hash help File type Python version Upload date
cssselect-1.0.3-py2.py3-none-any.whl (16.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Dec 27, 2017
cssselect-1.0.3.tar.gz (22.8 kB) Copy SHA256 hash SHA256 Source None Dec 27, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page