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

feedparser - Parse Atom and RSS feeds in Python.

Copyright 2010-2022 Kurt McKee <contactme@kurtmckee.org>
Copyright 2002-2008 Mark Pilgrim

feedparser is open source. See the LICENSE file for more information.

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.10.tar.gz (286.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

feedparser-6.0.10-py3-none-any.whl (81.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: feedparser-6.0.10.tar.gz
  • Upload date:
  • Size: 286.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for feedparser-6.0.10.tar.gz
Algorithm Hash digest
SHA256 27da485f4637ce7163cdeab13a80312b93b7d0c1b775bef4a47629a3110bca51
MD5 45716da638688577c7b0587a0a839a21
BLAKE2b-256 639a824e3c036dec4f0adb4e7c36dcf4cbffc9ee317a4985218cb1663c7ab4ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feedparser-6.0.10-py3-none-any.whl
  • Upload date:
  • Size: 81.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for feedparser-6.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 79c257d526d13b944e965f6095700587f27388e50ea16fd245babe4dfae7024f
MD5 91990e695de1e14e4b0beb1788327831
BLAKE2b-256 921e741fd94cf2855d251712868f2183cb6485a28daaa3947e1a7046dc036aca

See more details on using hashes here.

Supported by

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