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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: feedparser-6.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 dad42e7beaec55f99c08b2b0cf7288bc7cfd24b6f72c8ef85478bcb55648cd42
MD5 d361c1ee9474fe9b9a61e338d207b050
BLAKE2b-256 4849216b616d2f3ddb9e56043e6b627a8c3efb423043ca6e991de1d341b0494a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: feedparser-6.0.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a522b2b81f3914a74ae44161a341940f74811bd29be5b4c2a689e6e6be51cd39
MD5 5314c0ab327dc81401d2ef74113c354c
BLAKE2b-256 ce63b3557ae6d9fa567eb9a61b0401204c6768593624085a9f648b1966c2c241

See more details on using hashes here.

Provenance

Supported by

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