chinois


Namechinois JSON
Version 0.2.2 PyPI version JSON
download
home_page
SummaryCSS selector implementation for Bisque and Campbells web scraping libraries.
upload_time2023-08-28 16:06:15
maintainer
docs_urlNone
author
requires_python>=3.10
licenseMIT
keywords css html xml selector filter query soup
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">

# Chinois 🍵

CSS selector implementation for Bisque and Campbells web scraping libraries.

[Install](#installation) •
[Examples](#examples)

</div>

Adapted from [soupsieve][ss]'s inner package, to remove the hard coupling to Beautiful Soup.

[ss]: https://github.com/facelessuser/soupsieve/

## Installation

**Chinois** is available on PyPi:

``` bash
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:

- `pip install chinois[html5lib]` to be able to use
  [html5lib](https://html5lib.readthedocs.io/en/latest/).
  - **Pros:** closest to how browsers parses web pages, very lenient, creates valid HTML5.
  - **Cons:** slowest parser.
- `pip install chinois[lxml]` to be able to use
  [lxml](https://lxml.de/).
  - **Pros:** fastest parser.
  - **Cons:** heavier dependency (C extension).

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "chinois",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "CSS HTML XML selector filter query soup",
    "author": "",
    "author_email": "Louis Maddox <louismmx@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/a4/c7/cb85fee11e84dbad8d6fb2556f194ef0a1c88543aabc13ab2467028eb455/chinois-0.2.2.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n\n# Chinois \ud83c\udf75\n\nCSS selector implementation for Bisque and Campbells web scraping libraries.\n\n[Install](#installation) \u2022\n[Examples](#examples)\n\n</div>\n\nAdapted from [soupsieve][ss]'s inner package, to remove the hard coupling to Beautiful Soup.\n\n[ss]: https://github.com/facelessuser/soupsieve/\n\n## Installation\n\n**Chinois** is available on PyPi:\n\n``` bash\npip install chinois\n```\n\nThe dependencies needed to use `bisque` and `campbells` parsing libraries are left to your taste.\nThey can be installed with:\n\n- `pip install chinois[bisque]` for the bold new flavours of Pydantic model-based parsers in Bisque.\n- `pip install chinois[campbells]` for the Campbells parsers, preserving the heritage taste of the Beautiful Soup API.\n\nThe dependencies needed to use `html5lib` and `lxml` parsers are not installed by default.\nThey can be installed with:\n\n- `pip install chinois[html5lib]` to be able to use\n  [html5lib](https://html5lib.readthedocs.io/en/latest/).\n  - **Pros:** closest to how browsers parses web pages, very lenient, creates valid HTML5.\n  - **Cons:** slowest parser.\n- `pip install chinois[lxml]` to be able to use\n  [lxml](https://lxml.de/).\n  - **Pros:** fastest parser.\n  - **Cons:** heavier dependency (C extension).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "CSS selector implementation for Bisque and Campbells web scraping libraries.",
    "version": "0.2.2",
    "project_urls": {
        "Homepage": "https://github.com/lmmx/chinois",
        "Repository": "https://github.com/lmmx/chinois.git"
    },
    "split_keywords": [
        "css",
        "html",
        "xml",
        "selector",
        "filter",
        "query",
        "soup"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fedf015a867747cb54e7ce156af70306d2212f6b19783b0720962affb38e074f",
                "md5": "bd9ddc5173d5d6bda092f8179cca2765",
                "sha256": "80bec5468bec211177c2f2d88796cd926597a183a3c7b30a72924ce415c200f1"
            },
            "downloads": -1,
            "filename": "chinois-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bd9ddc5173d5d6bda092f8179cca2765",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 34813,
            "upload_time": "2023-08-28T16:06:13",
            "upload_time_iso_8601": "2023-08-28T16:06:13.099283Z",
            "url": "https://files.pythonhosted.org/packages/fe/df/015a867747cb54e7ce156af70306d2212f6b19783b0720962affb38e074f/chinois-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4c7cb85fee11e84dbad8d6fb2556f194ef0a1c88543aabc13ab2467028eb455",
                "md5": "c9f4aca654fc90edccde5b886fa5b338",
                "sha256": "7d9019517329a4cdaebce91ce92555ab0b3236ce178b518820ec5db70ee1b3d9"
            },
            "downloads": -1,
            "filename": "chinois-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "c9f4aca654fc90edccde5b886fa5b338",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 64709,
            "upload_time": "2023-08-28T16:06:15",
            "upload_time_iso_8601": "2023-08-28T16:06:15.149791Z",
            "url": "https://files.pythonhosted.org/packages/a4/c7/cb85fee11e84dbad8d6fb2556f194ef0a1c88543aabc13ab2467028eb455/chinois-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-28 16:06:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lmmx",
    "github_project": "chinois",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "chinois"
}
        
Elapsed time: 0.13404s