Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

RSS reader - simple command-line utility.

Project description

RSS reader

RSS reader is a command-line utility which receives RSS URL and prints results in human-readable format.

The source for this project is available here.

Installation

$ pip install rss-reader-Anna-Gonchar

Usage

$ rss-reader (-h | --help)

Show help message and exit

$ rss-reader <RSS-SOURCE-LINK>

Print rss feeds in human-readable format

$ rss-reader --version

Print version info

$ rss-reader --json

Print result as JSON in stdout

$ rss-reader.py --verbose

Outputs verbose status messages

$ rss-reader.py --limit LIMIT

Limit news topics, if this parameter provided

$ rss-reader.py --date DATE

Gets a date in %Y%m%d format. Print news from the specified date
and source (<RSS-SOURCE-LINK>), if it specified

$ rss-reader.py --to-pdf PATH_TO_PDF

Gets file path. Convert news to pdf and save them to pdf file on the specified path

$ rss-reader.py --to-html PATH_TO_HTML

Gets file path. Convert news to html and save them to html file on the specified path

Storage

All the pieces of news received from the source are saved to the binary file. Shelve module is used for this. It saves object with the specific key to the file. The key is the rss news publication date, the value is the news.

Project details


Release history Release notifications | RSS feed

This version

4.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rss-reader-Anna-Gonchar, version 4.2
Filename, size File type Python version Upload date Hashes
Filename, size rss_reader_Anna_Gonchar-4.2-py3-none-any.whl (9.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size rss_reader_Anna_Gonchar-4.2.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page