A minimal feed reader.
Project description
reader is a minimal feed reader.
Features:
- Stable and clearly documented API.
- Excellent test coverage.
- Minimal web interface.
Documentation: reader.readthedocs.io
Usage:
$ pip install reader
>>> from reader import Reader
>>>
>>> reader = Reader('db.sqlite')
>>> reader.add_feed('http://www.hellointernet.fm/podcast?format=rss')
>>> reader.update_feeds()
>>>
>>> entries = list(reader.get_entries())
>>> [e.title for e in entries]
['H.I. #108: Project Cyclops', 'H.I. #107: One Year of Weird', ...]
>>>
>>> reader.mark_as_read(entries[0])
>>>
>>> [e.title for e in reader.get_entries(which='unread')]
['H.I. #107: One Year of Weird', 'H.I. #106: Water on Mars', ...]
>>> [e.title for e in reader.get_entries(which='read')]
['H.I. #108: Project Cyclops']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
reader-0.2.tar.gz
(165.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
reader-0.2-py3-none-any.whl
(27.6 kB
view details)
File details
Details for the file reader-0.2.tar.gz.
File metadata
- Download URL: reader-0.2.tar.gz
- Upload date:
- Size: 165.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5c417355f941eb2b826e6513ec28e2ffd97043387f1d48abe2b39c1011861b2
|
|
| MD5 |
8c4f8c407bfdf54bd919ff9e3ecdd22d
|
|
| BLAKE2b-256 |
4eea1d481e03d1c2a00ccc3624eef454dbd096e2756b5e972353b827dbbec76b
|
File details
Details for the file reader-0.2-py3-none-any.whl.
File metadata
- Download URL: reader-0.2-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a1e55e35f6519cf4287582b110b86670084808fae4eb1993e30e9deff006f44
|
|
| MD5 |
06d51106a1dc381d220dab922abf92e6
|
|
| BLAKE2b-256 |
940da2e12f77acf3da1c17d03fd5779a5873aea29586ba89a297334100ebca6f
|