Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds
Project description
Parse Atom and RSS feeds in Python.
Installation
feedparser can be installed by running pip:
$ pip install feedparser
Documentation
The feedparser documentation is available on the web at:
It is also included in its source format, ReST, in the docs/ directory. To build the documentation you’ll need the Sphinx package, which is available at:
You can then build HTML pages using a command similar to:
$ sphinx-build -b html docs/ fpdocs
This will produce HTML documentation in the fpdocs/ directory.
Testing
Feedparser has an extensive test suite, powered by tox. To run it, type this:
$ python -m venv venv
$ source venv/bin/activate # or "venv\bin\activate.ps1" on Windows
(venv) $ pip install -r requirements-dev.txt
(venv) $ tox
This will spawn an HTTP server that will listen on port 8097. The tests will fail if that port is in use.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file feedparser-6.0.11.tar.gz
.
File metadata
- Download URL: feedparser-6.0.11.tar.gz
- Upload date:
- Size: 286.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9d0407b64c6f2a065d0ebb292c2b35c01050cc0dc33757461aaabdc4c4184d5 |
|
MD5 | 47be8c47a93fff8994d50e7e1f1dd97e |
|
BLAKE2b-256 | ffaa7af346ebeb42a76bf108027fe7f3328bb4e57a3a96e53e21fd9ef9dd6dd0 |
File details
Details for the file feedparser-6.0.11-py3-none-any.whl
.
File metadata
- Download URL: feedparser-6.0.11-py3-none-any.whl
- Upload date:
- Size: 81.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0be7ee7b395572b19ebeb1d6aafb0028dee11169f1c934e0ed67d54992f4ad45 |
|
MD5 | 27b4ea486ab7f61d83fdb6567e07234a |
|
BLAKE2b-256 | 7cd48c31aad9cc18f451c49f7f9cfb5799dadffc88177f7917bc90a66459b1d7 |