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.4.0.tar.gz (40.6 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.4.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cssselect-1.4.0.tar.gz
Algorithm Hash digest
SHA256 fdaf0a1425e17dfe8c5cf66191d211b357cf7872ae8afc4c6762ddd8ac47fc92
MD5 3aca561a6fe4e51d2993e0a0f604e30a
BLAKE2b-256 ec2ecdfd8b01c37cbf4f9482eefd455853a3cf9c995029a46acd31dfaa9c1dd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for cssselect-1.4.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.4.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for cssselect-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0ec5c0191c8ee39fcc8afc1540331d8b55b0183478c50e9c8a79d44dbceb1d8
MD5 7bea84f53c81ad749c6a4987be49d51d
BLAKE2b-256 200c7bb51e3acfafd16c48875bf3db03607674df16f5b6ef8d056586af7e2b8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cssselect-1.4.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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page