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.2.0.tar.gz (41.4 kB view details)

Uploaded Source

Built Distribution

cssselect-1.2.0-py2.py3-none-any.whl (18.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: cssselect-1.2.0.tar.gz
  • Upload date:
  • Size: 41.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for cssselect-1.2.0.tar.gz
Algorithm Hash digest
SHA256 666b19839cfaddb9ce9d36bfe4c969132c647b92fc9088c4e23f786b30f1b3dc
MD5 27fbafacce5447cb867acb240d35002a
BLAKE2b-256 d191d51202cc41fbfca7fa332f43a5adac4b253962588c7cc5a54824b019081c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cssselect-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for cssselect-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 da1885f0c10b60c03ed5eccbb6b68d6eff248d91976fcde348f395d54c9fd35e
MD5 e383309e62a6ad65f523ef8f61598fc9
BLAKE2b-256 06a92da08717a6862c48f1d61ef957a7bba171e7eefa6c0aa0ceb96a140c2a6b

See more details on using hashes here.

Provenance

Supported by

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