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.

Source Distribution

cssselect-1.0.3.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cssselect-1.0.3-py2.py3-none-any.whl (16.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file cssselect-1.0.3.tar.gz.

File metadata

  • Download URL: cssselect-1.0.3.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cssselect-1.0.3.tar.gz
Algorithm Hash digest
SHA256 066d8bc5229af09617e24b3ca4d52f1f9092d9e061931f4184cd572885c23204
MD5 50422c9ec04b74cd60c571f74ddc1a80
BLAKE2b-256 52eaf31e1d2e9eb130fda2a631e22eac369dc644e8807345fbed5113f2d6f92b

See more details on using hashes here.

File details

Details for the file cssselect-1.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cssselect-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3b5103e8789da9e936a68d993b70df732d06b8bb9a337a05ed4eb52c17ef7206
MD5 662a1e87d2c2b5209c1140c563fbdba0
BLAKE2b-256 7b4425b7283e50585f0b4156960691d951b05d061abf4a714078393e51929b30

See more details on using hashes here.

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