CSS selector implementation for Bisque and Campbells web scraping libraries.
Project description
Chinois 🍵
CSS selector implementation for Bisque and Campbells web scraping libraries.
Adapted from soupsieve's inner package, to remove the hard coupling to Beautiful Soup.
Installation
Chinois is available on PyPi:
pip install chinois
The dependencies needed to use bisque
and campbells
parsing libraries are left to your taste.
They can be installed with:
pip install chinois[bisque]
for the bold new flavours of Pydantic model-based parsers in Bisque.pip install chinois[campbells]
for the Campbells parsers, preserving the heritage taste of the Beautiful Soup API.
The dependencies needed to use html5lib
and lxml
parsers are not installed by default.
They can be installed with:
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
chinois-0.2.2.tar.gz
(64.7 kB
view details)
Built Distribution
chinois-0.2.2-py3-none-any.whl
(34.8 kB
view details)
File details
Details for the file chinois-0.2.2.tar.gz
.
File metadata
- Download URL: chinois-0.2.2.tar.gz
- Upload date:
- Size: 64.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.8.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d9019517329a4cdaebce91ce92555ab0b3236ce178b518820ec5db70ee1b3d9 |
|
MD5 | c9f4aca654fc90edccde5b886fa5b338 |
|
BLAKE2b-256 | a4c7cb85fee11e84dbad8d6fb2556f194ef0a1c88543aabc13ab2467028eb455 |
File details
Details for the file chinois-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: chinois-0.2.2-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.8.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80bec5468bec211177c2f2d88796cd926597a183a3c7b30a72924ce415c200f1 |
|
MD5 | bd9ddc5173d5d6bda092f8179cca2765 |
|
BLAKE2b-256 | fedf015a867747cb54e7ce156af70306d2212f6b19783b0720962affb38e074f |