soupsieve
soupsieve copied to clipboard
A modern CSS selector implementation for BeautifulSoup
Support for this would require quite a bit of work. We would need to write proper validators for each kind of input type. I am not sure when this will...
I don't know if these will make it into version 1.0 or not. There are no real implementations of this available. Some things seem to still be in flux, such...
It might be nice to spawn a custom parser where you can just add your namespace mapping once, and all calls will pick it up. You could still do a...
```console $ pip install soupsieve Collecting soupsieve Downloading soupsieve-2.3.2.post1-py3-none-any.whl (37 kB) Installing collected packages: soupsieve Successfully installed soupsieve-2.3.2.post1 $ python3 -c 'import soupsieve' Traceback (most recent call last): File "",...
I'm considering a rewrite of the CSS parsing approach. We may take the approach of parsing the CSS as returning something like an AST. Then we would take that AST...
The license definition in `pyproject.toml` is not valid according to the [specification](https://packaging.python.org/en/latest/specifications/pyproject-toml/#license). As a result, the PyPI API returns `license: null` for this package: https://pypi.org/pypi/soupsieve/json This PR fixes this.