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

Uploaded Source

Built Distribution

cssselect-1.1.0-py2.py3-none-any.whl (16.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: cssselect-1.1.0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.7

File hashes

Hashes for cssselect-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f95f8dedd925fd8f54edb3d2dfb44c190d9d18512377d3c1e2388d16126879bc
MD5 fa57704c1cb66cc8e537b782bd6b227e
BLAKE2b-256 705437630f6eb2c214cdee2ae56b7287394c8aa2f3bafb8b4eb8c3791aae7a14

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cssselect-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.7

File hashes

Hashes for cssselect-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f612ee47b749c877ebae5bb77035d8f4202c6ad0f0fc1271b3c18ad6c4468ecf
MD5 822a360a5b6ec2ea3ee0776adf15c400
BLAKE2b-256 3bd43b5c17f00cce85b9a1e6f91096e1cc8e8ede2e1be8e96b87ce1ed09e92c5

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