Skip to main content

cssselect parses CSS3 Selectors and translates them to XPath 1.0

Project description

PyPI Version Supported Python Versions Tests Coverage report

cssselect is a BSD-licensed Python library to parse CSS3 selectors and translate them to XPath 1.0 expressions.

XPath 1.0 expressions can be used in lxml or another XPath engine to find the matching elements in an XML or HTML document.

Find the cssselect online documentation at https://cssselect.readthedocs.io.

Quick facts:

  • 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.3.0.tar.gz (42.9 kB view details)

Uploaded Source

Built Distribution

cssselect-1.3.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cssselect-1.3.0.tar.gz
  • Upload date:
  • Size: 42.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cssselect-1.3.0.tar.gz
Algorithm Hash digest
SHA256 57f8a99424cfab289a1b6a816a43075a4b00948c86b4dcf3ef4ee7e15f7ab0c7
MD5 e0148abb13430399cbdbc173c3fa1c80
BLAKE2b-256 720ac3ea9573b1dc2e151abfe88c7fe0c26d1892fe6ed02d0cdb30f0d57029d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cssselect-1.3.0.tar.gz:

Publisher: publish.yml on scrapy/cssselect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cssselect-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: cssselect-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cssselect-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56d1bf3e198080cc1667e137bc51de9cadfca259f03c2d4e09037b3e01e30f0d
MD5 04bdbead61b4956e5fe92638033da791
BLAKE2b-256 ee58257350f7db99b4ae12b614a36256d9cc870d71d9e451e79c2dc3b23d7c3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cssselect-1.3.0-py3-none-any.whl:

Publisher: publish.yml on scrapy/cssselect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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