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 hashes)
Built Distribution
chinois-0.2.2-py3-none-any.whl
(34.8 kB
view hashes)