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.5.0.tar.gz (47.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.5.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cssselect-1.5.0.tar.gz
Algorithm Hash digest
SHA256 3cbe82dd7acbee9ba9e5723b5f9e4749826912f1fb31cd7f92aabed5fde15b15
MD5 465a7b6af9ea95fdefe5357301589b9c
BLAKE2b-256 8e5a6d6fcf922709391fac986f0a03ad4546f4f45b94d10aeb6c1ee041599993

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for cssselect-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d1aded98e82bdde447ded990a191fd6916177c4f0c914fb62eccd58e2ffcdcc
MD5 ebe854a26c2137499ad5f6e7ef5011ea
BLAKE2b-256 60e96734502f67533a752ea8b1c8f7f227c94eecf300252ba8bf23e3e59d8a36

See more details on using hashes here.

Provenance

The following attestation bundles were made for cssselect-1.5.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