A minimal feed reader library.
Project description
reader is a minimal feed reader library.
Features:
Stand-alone library with stable, clearly documented API, and excellent test coverage.
Minimal web interface that works even with text-only browsers.
… with automatic tag fixing for MP3 enclosures (e.g. podcasts).
(Some) plugin support.
Documentation: reader.readthedocs.io
Usage:
$ pip install reader
>>> from reader import make_reader
>>>
>>> reader = make_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(read=False)]
['H.I. #107: One Year of Weird', 'H.I. #106: Water on Mars', ...]
>>> [e.title for e in reader.get_entries(read=True)]
['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
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
File details
Details for the file reader-0.18.tar.gz.
File metadata
- Download URL: reader-0.18.tar.gz
- Upload date:
- Size: 306.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9210df0b0a7e024e427473fd064490826a334c2f673080107d55d1da34b38eb
|
|
| MD5 |
e7e6d0c38afc0a3e7cce95b5d1a7ce32
|
|
| BLAKE2b-256 |
74642375f498ac845b648021b9064c3455ea10e89fba06f14f2924977f1429e1
|
File details
Details for the file reader-0.18-py3-none-any.whl.
File metadata
- Download URL: reader-0.18-py3-none-any.whl
- Upload date:
- Size: 45.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
396a967f3f7f051e0f02fee3ecdab4f8c1b95d03443655cbcb9fcc1d30165345
|
|
| MD5 |
3e228625e37ac468ca6dbf5cbf7a7127
|
|
| BLAKE2b-256 |
0deb562eaccc494bd28aecf93d04f7eeffdb56241bad08bc500225b1d28aaf7c
|