Skip to content
Parse feeds in Python
Branch: develop
Clone or download
kurtmckee Merge pull request #161 from scop/escape-sequences
More invalid escape sequence fixes
Latest commit 94ea868 Apr 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Merge pull request #52 from dmwyatt/patch-1 Aug 11, 2018
feedparser Merge pull request #123 from d9pouces/deprecated-escapes Dec 22, 2018
tests More invalid escape sequence fixes Mar 10, 2019
.gitignore
CONTRIBUTORS.rst
LICENSE Update the copyrights and assertions Apr 29, 2015
MANIFEST.in Migrate date parsing out; use tox for testing Apr 23, 2015
NEWS
README.rst
setup.cfg Build a "universal" wheel Jan 14, 2018
setup.py Fix conditional dep on sgmllib3k Jan 13, 2018
tox.ini Run tests with warnings on Mar 10, 2019

README.rst

feedparser - Parse Atom and RSS feeds in Python.

Copyright 2010-2015 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 using distutils or setuptools by running:

$ python setup.py install

Note: sgmllib3k is a Python 3 dependency. It will be installed automatically.

Documentation

The feedparser documentation is available on the web at:

https://pythonhosted.org/feedparser/

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:

http://sphinx.pocoo.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:

$ tox

This will spawn an HTTP server that will listen on port 8097. The tests will fail if that port is in use.

You can’t perform that action at this time.