Rich Soup
Inspired by BeautifulSoup. Instead of parsing static HTML and using tags, it fully renders the page and the entire DOM (including JS/CSS & slop) using Playwright. Then, it uses semantics; i.e: avg font size versus larger font sizes, lines, gaps, spacing, hierachy/reading order; etc, to reconstruct the page into a clean JSON/Markdown format. Currently, the options are either:
-
BeautifulSoup; static only, messy.
-
Playwright; lower level, manual.
-
Rich Soup builds on Playwright to give the DX of BeautifalSoup but can render properly like Playwright.
Primarily intended for document-like pages; i.e: Microsoft Learn, whitepapers (PDF-like), Wiki-like sites. Best part is it uses the layout, not tags, and it's not static! It can extract from garbled DOMs with hundreds of divs and hydration from React and Astro islands and Tailwind, etc etc, perfectly fine.
Metadata
Release files for rich-soup 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rich_soup-0.1.0.tar.gz | 1.4 kB | Without provenance | Details for rich_soup-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rich_soup-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rich_soup-0.1.0-py3-none-any.whl |
Total release size: 3.0 kB
Release files / rich_soup-0.1.0.tar.gz
| Download URL | rich_soup-0.1.0.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ecc56cbac05e0e7d56569b89ef6e3e92b12c12c486a5e66dd16d05cf5c860628
|
|
BLAKE2b-256 checksum How to use checksums |
33de5d524f9a34b03afc5c448b32cb804cd554fb36c2be502de12eb12b9e6131
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / rich_soup-0.1.0-py3-none-any.whl
| Download URL | rich_soup-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3eff46d93d465850dda46fe6f2afe687057bd2ab816a8eec221cd458595874c8
|
|
BLAKE2b-256 checksum How to use checksums |
e445287a8752add771d774c9cc7c263b78ad5cde1ce2bcea60d0c4d417b86742
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for rich-soup 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.