Overview
This is a brute-force feed parser.
Why?
- feedparser doesn’t handle all feeds correctly. I can vividly recall that it could not parse something
- It has trouble parsing CDATA sections (at least, from what I recall).
- There were issues using it in threaded or async contexts—warnings or errors would show up.
- Some parsers can’t handle RSS embedded in HTML, which is unfortunate. I plan to address this... eventually (in Valve time).
This project aims to be a drop-in replacement for feedparser
Installation
$ pip install brutefeedparser
Use
from brutefeedparser import BruteFeedParser
reader = BruteFeedParser.parse(contents)
Standards? What standards?
This project does not care about standards. Standards are for loosers.
Look at me! I am the standard now!
You can quote me on the thing below:
If the problem is a nail and your hammer fails, perhaps it's time to reach for a bigger one.
Disclaimer
This project contains code so questionable that at least one line could cause Linus Torvalds to spontaneously combust.
Reading the code in large doses may result in dizziness, despair, or the sudden realization that tabs vs. spaces was the least of your problems.
Keep the code far away from any seasoned kernel developers.
Pasting any part of this into a Linux kernel mailing list may trigger several years of flame wars, philosophical debates, and intergenerational feuds among programming factions.
Proceed with caution. Or better yet — just don’t.
Metadata
Release files for brutefeedparser 1.0.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 |
|---|---|---|---|---|
| brutefeedparser-1.0.0.tar.gz | 16.4 kB | Without provenance | Details for brutefeedparser-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brutefeedparser-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for brutefeedparser-1.0.0-py3-none-any.whl |
Total release size: 33.8 kB
Release files / brutefeedparser-1.0.0.tar.gz
| Download URL | brutefeedparser-1.0.0.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86ce372f34cc4296a3269255152450907b448bbc4a9fcee1e50eca5b551fcb0c
|
|
BLAKE2b-256 checksum How to use checksums |
f1b5d56931be886d8ace55eff8d11dae58a514feacc6bf29fce86514d566e4cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.11.2 Linux/6.12.87+rpt-rpi-v8
|
Release files / brutefeedparser-1.0.0-py3-none-any.whl
| Download URL | brutefeedparser-1.0.0-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efe3228866f448de8088dd77eeeae657c0523570e0c727fc75df50e7c45db972
|
|
BLAKE2b-256 checksum How to use checksums |
6694d2537b32031adfb200551b0cf1553b17f98ef1f0cd728adf4c13d08b3c29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.11.2 Linux/6.12.87+rpt-rpi-v8
|
Security for brutefeedparser 1.0.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.