Skip to main content

cssselect: CSS Selectors for Python

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

Metadata

Release files for cssselect 1.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cssselect 1.6.0
File Size Uploaded
cssselect-1.6.0.tar.gz 51.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cssselect 1.6.0
File Interpreter ABI Platform
cssselect-1.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 74.0 kB

Release files / cssselect-1.6.0.tar.gz

Download URL cssselect-1.6.0.tar.gz
Size 51.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8c83a7139e97b93aa5ebdc0f46e785f7056a08a8bf201e597a6a2629d7eb11db
BLAKE2b-256 checksum
How to use checksums
c88bdc32df939ab541fca6ee8964d26aa231dbe231cdc2b2713228161441ba9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / cssselect-1.6.0-py3-none-any.whl

Download URL cssselect-1.6.0-py3-none-any.whl
Size 22.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6df6eab9b264c0f2092a6e386b33610e1684a25e27925ecebe25e3d97cbf3525
BLAKE2b-256 checksum
How to use checksums
08aef24b3aac56ba91a29c9d3a31c07a9ad4e9eb500e5d212742bb6d348edaef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.6.0 This release

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.9.2

2 release files

0.9.1

1 release file

0.9

1 release file

0.8

1 release file

0.7.1

1 release file

0.7

1 release file

0.6.1

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page