CSS selectors for Python ElementTree
Project description
cssselect2 is a straightforward implementation of CSS3 Selectors for markup documents (HTML, XML, etc.) that can be read by ElementTree-like parsers (including cElementTree, lxml, html5lib, etc.)
Unlike cssselect, it does not translate selectors to XPath and therefore does not have all the correctness corner cases that are hard or impossible to fix in cssselect.
Quick facts:
Free software: BSD licensed
Compatible with Python 3.5+
Latest documentation: http://cssselect2.readthedocs.io/
Source, issues and pull requests on Github
Releases on PyPI
Install with pip install cssselect2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cssselect2-0.3.0.tar.gz
.
File metadata
- Download URL: cssselect2-0.3.0.tar.gz
- Upload date:
- Size: 29.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c2716f06b5de93f701d5755a9666f2ee22cbcd8b4da8adddfc30095ffea3abc |
|
MD5 | 2e7836cbc8ac19e155ec123df91904db |
|
BLAKE2b-256 | 03370e28364d4c2bce998171199ab59650b3174c077ef2c8b6d4ff57aa47676a |
File details
Details for the file cssselect2-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: cssselect2-0.3.0-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97d7d4234f846f9996d838964d38e13b45541c18143bc55cf00e4bc1281ace76 |
|
MD5 | 1f7ed2b11144aa6f3c15eb4e32d9acc4 |
|
BLAKE2b-256 | 72bb9ad85eacc5f273b08bd5203a1d587479a93f27df9056e4e5f63276f4fd0e |