Swarmauri Parser Beautifulsoupelement
A specialized parser that utilizes BeautifulSoup to extract specific HTML elements and their content from HTML documents.
Installation
pip install swarmauri_parser_beautifulsoupelement
Usage
The BeautifulSoupElementParser allows you to extract specific HTML elements from HTML content:
from swarmauri_parser_beautifulsoupelement.BeautifulSoupElementParser import BeautifulSoupElementParser
# Create a parser instance to extract paragraphs
parser = BeautifulSoupElementParser(element="p")
# HTML content to parse
html_content = "<div><p>First paragraph</p><p>Second paragraph</p></div>"
# Parse the content
documents = parser.parse(html_content)
# Access the extracted elements
for doc in documents:
print(doc.content) # Prints each paragraph element
Want to help?
If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.
Metadata
Release files for swarmauri_parser_beautifulsoupelement 0.7.5
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 |
|---|---|---|---|---|
| swarmauri_parser_beautifulsoupelement-0.7.5.tar.gz | 6.7 kB | Without provenance | Details for swarmauri_parser_beautifulsoupelement-0.7.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| swarmauri_parser_beautifulsoupelement-0.7.5-py3-none-any.whl | Python 3 | none | any | Details for swarmauri_parser_beautifulsoupelement-0.7.5-py3-none-any.whl |
Total release size: 14.5 kB
Release files / swarmauri_parser_beautifulsoupelement-0.7.5.tar.gz
| Download URL | swarmauri_parser_beautifulsoupelement-0.7.5.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b7b41ea6135fc4fa9fed48871159d3e01efeb83a5994993a0806e1e50bca3ef
|
|
BLAKE2b-256 checksum How to use checksums |
bc2150a08d85d15989c7f6b59988256c48227ed508e6e4346e04a64a1c50de42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.7
|
Release files / swarmauri_parser_beautifulsoupelement-0.7.5-py3-none-any.whl
| Download URL | swarmauri_parser_beautifulsoupelement-0.7.5-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
686fd896a8564a1b503407fb95accae4e6acbfcdf72fd7fb0285cca2abf93d5a
|
|
BLAKE2b-256 checksum How to use checksums |
afb3bb55d6aa3cdf78234853824abc607ed5aa6ae783e3dd262a2a8ce2532493
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.7
|
Security for swarmauri_parser_beautifulsoupelement 0.7.5
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.