Skip to main content

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)

Source distribution for brutefeedparser 1.0.0
File Size Uploaded
brutefeedparser-1.0.0.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brutefeedparser 1.0.0
File Interpreter ABI Platform
brutefeedparser-1.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.10.8

2 release files

0.10.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page