| Name | souptools JSON |
| Version |
2.1.7
JSON |
| download |
| home_page | |
| Summary | CSS tools |
| upload_time | 2023-09-20 19:39:20 |
| maintainer | |
| docs_url | None |
| author | |
| requires_python | >=3.5 |
| license | |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
[![Donate via PayPal][donate-image]][donate-link]
[![Discord][discord-image]][discord-link]
[![Build][github-ci-image]][github-ci-link]
[![Coverage Status][codecov-image]][codecov-link]
[![PyPI Version][pypi-image]][pypi-link]
[![PyPI Downloads][pypi-down]][pypi-link]
[![PyPI - Python Version][python-image]][pypi-link]
![License][license-image-mit]
# Soup Sieve
## Overview
Soup Sieve is a CSS selector library designed to be used with [Beautiful Soup 4][bs4]. It aims to provide selecting,
matching, and filtering using modern CSS selectors. Soup Sieve currently provides selectors from the CSS level 1
specifications up through the latest CSS level 4 drafts and beyond (though some are not yet implemented).
Soup Sieve was written with the intent to replace Beautiful Soup's builtin select feature, and as of Beautiful Soup
version 4.7.0, it now is :confetti_ball:. Soup Sieve can also be imported in order to use its API directly for
more controlled, specialized parsing.
Soup Sieve has implemented most of the CSS selectors up through the latest CSS draft specifications, though there are a
number that don't make sense in a non-browser environment. Selectors that cannot provide meaningful functionality simply
do not match anything. Some of the supported selectors are:
- `.classes`
- `#ids`
- `[attributes=value]`
- `parent child`
- `parent > child`
- `sibling ~ sibling`
- `sibling + sibling`
- `:not(element.class, element2.class)`
- `:is(element.class, element2.class)`
- `parent:has(> child)`
Raw data
{
"_id": null,
"home_page": "",
"name": "souptools",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": "",
"keywords": "",
"author": "",
"author_email": "Antony Wilson <antony.wilson@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/a5/2d/bef92a43943b48bf43674478566e7ce77dcf23a77f8ff93778a35b4b3f9f/souptools-2.1.7.tar.gz",
"platform": null,
"description": "[![Donate via PayPal][donate-image]][donate-link]\n[![Discord][discord-image]][discord-link]\n[![Build][github-ci-image]][github-ci-link]\n[![Coverage Status][codecov-image]][codecov-link]\n[![PyPI Version][pypi-image]][pypi-link]\n[![PyPI Downloads][pypi-down]][pypi-link]\n[![PyPI - Python Version][python-image]][pypi-link]\n![License][license-image-mit]\n\n# Soup Sieve\n\n## Overview\n\nSoup Sieve is a CSS selector library designed to be used with [Beautiful Soup 4][bs4]. It aims to provide selecting,\nmatching, and filtering using modern CSS selectors. Soup Sieve currently provides selectors from the CSS level 1\nspecifications up through the latest CSS level 4 drafts and beyond (though some are not yet implemented).\n\nSoup Sieve was written with the intent to replace Beautiful Soup's builtin select feature, and as of Beautiful Soup\nversion 4.7.0, it now is :confetti_ball:. Soup Sieve can also be imported in order to use its API directly for\nmore controlled, specialized parsing.\n\nSoup Sieve has implemented most of the CSS selectors up through the latest CSS draft specifications, though there are a\nnumber that don't make sense in a non-browser environment. Selectors that cannot provide meaningful functionality simply\ndo not match anything. Some of the supported selectors are:\n\n- `.classes`\n- `#ids`\n- `[attributes=value]`\n- `parent child`\n- `parent > child`\n- `sibling ~ sibling`\n- `sibling + sibling`\n- `:not(element.class, element2.class)`\n- `:is(element.class, element2.class)`\n- `parent:has(> child)`\n\n",
"bugtrack_url": null,
"license": "",
"summary": "CSS tools",
"version": "2.1.7",
"project_urls": {
"Homepage": "https://github.com/pypa/sampleproject"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "237ddafdd188aca0432eefc8e2a61fc18d8e6256edd42ce96c6c1dac2a9a4738",
"md5": "99b3e0d4cda085b68f56f30c150d037c",
"sha256": "78075b16d5c7544654259cb1218f57e92626e665f7bec708629b1767388b6c09"
},
"downloads": -1,
"filename": "souptools-2.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "99b3e0d4cda085b68f56f30c150d037c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 34884,
"upload_time": "2023-09-20T19:39:19",
"upload_time_iso_8601": "2023-09-20T19:39:19.176086Z",
"url": "https://files.pythonhosted.org/packages/23/7d/dafdd188aca0432eefc8e2a61fc18d8e6256edd42ce96c6c1dac2a9a4738/souptools-2.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a52dbef92a43943b48bf43674478566e7ce77dcf23a77f8ff93778a35b4b3f9f",
"md5": "4aae82fa66ffea81c489ed737e68cd5c",
"sha256": "bbc2c45dd7d8205316ea9b4046b48bb9c50a8ef01568082e52244327918648d2"
},
"downloads": -1,
"filename": "souptools-2.1.7.tar.gz",
"has_sig": false,
"md5_digest": "4aae82fa66ffea81c489ed737e68cd5c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 33349,
"upload_time": "2023-09-20T19:39:20",
"upload_time_iso_8601": "2023-09-20T19:39:20.858192Z",
"url": "https://files.pythonhosted.org/packages/a5/2d/bef92a43943b48bf43674478566e7ce77dcf23a77f8ff93778a35b4b3f9f/souptools-2.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-20 19:39:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pypa",
"github_project": "sampleproject",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "souptools"
}