Skip to main content

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:

https://feedparser.readthedocs.io/en/latest/

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:

https://www.sphinx-doc.org/

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

feedparser-6.0.12.tar.gz (286.6 kB view details)

Uploaded Source

Built Distribution

feedparser-6.0.12-py3-none-any.whl (81.5 kB view details)

Uploaded Python 3

File details

Details for the file feedparser-6.0.12.tar.gz.

File metadata

  • Download URL: feedparser-6.0.12.tar.gz
  • Upload date:
  • Size: 286.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for feedparser-6.0.12.tar.gz
Algorithm Hash digest
SHA256 64f76ce90ae3e8ef5d1ede0f8d3b50ce26bcce71dd8ae5e82b1cd2d4a5f94228
MD5 5f3c26e0f17ce73c31f875cdb4324b66
BLAKE2b-256 dc79db7edb5e77d6dfbc54d7d9df72828be4318275b2e580549ff45a962f6461

See more details on using hashes here.

File details

Details for the file feedparser-6.0.12-py3-none-any.whl.

File metadata

  • Download URL: feedparser-6.0.12-py3-none-any.whl
  • Upload date:
  • Size: 81.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for feedparser-6.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 6bbff10f5a52662c00a2e3f86a38928c37c48f77b3c511aedcd51de933549324
MD5 0591928881a5004a0f08480de4673420
BLAKE2b-256 4eebc96d64137e29ae17d83ad2552470bafe3a7a915e85434d9942077d7fd011

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page