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-2021 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.3.tar.gz (284.8 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.3-py3-none-any.whl (80.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: feedparser-6.0.3.tar.gz
  • Upload date:
  • Size: 284.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for feedparser-6.0.3.tar.gz
Algorithm Hash digest
SHA256 8e50f78b5e94042a944244870c2214d70c48ad034ac79f835e688f39f860530c
MD5 a8a414905338e4c17a75fde018553f48
BLAKE2b-256 1dcff01ee601c06bf9c7aae0f971f49ee27efa66d14d078acf9e2b170ab8b4e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feedparser-6.0.3-py3-none-any.whl
  • Upload date:
  • Size: 80.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for feedparser-6.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5c3a1d7c0db73202c755fd3233569b0d39b3fe0bfd562c1204ee408c983f9457
MD5 9f37d8d93f5a8350d5509c13557fa9dc
BLAKE2b-256 e702bc6b51d5882ffdf6360d9b4f1fa06f18b5b668faa881256cd3e50795ba2d

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