I'm happy to announce version 2.0 of reader, a Python feed reader library.
This release brings you a cleaner API, more consistently named methods and attributes, timezone-aware datetimes, and safer defaults. See the changelog for details.
What is reader?
reader takes care of the core functionality required by a feed reader, so you can focus on what makes yours different.
reader allows you to:
- retrieve, store, and manage Atom, RSS, and JSON feeds
- mark entries as read or important
- add tags and metadata to feeds
- filter feeds and articles
- full-text search articles
- write plugins to extend its functionality
...all these with:
- a high-level, stable, clearly documented API
- excellent test coverage
- fully typed Python
Why use a feed reader library?
Have you been unhappy with existing feed readers and wanted to make your own, but:
- never knew where to start?
- it seemed like too much work?
- you don't like writing backend code?
Are you already working with feedparser, but:
- want an easier way to store, filter, sort and search feeds and entries?
- want to get back type-annotated objects instead of dicts?
- want to restrict or deny file-system access?
- want to change the way feeds are retrieved by using Requests?
- want to also support JSON Feed?
... while still supporting all the feed types feedparser does?
If you answered yes to any of the above, reader can help.
Why make your own feed reader?
So you can:
- have full control over your data
- control what features it has or doesn't have
- decide how much you pay for it
- make sure it doesn't get closed while you're still using it
- really, it's easier than you think
Obviously, this may not be your cup of tea, but if it is, reader can help.