Skip to main content

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

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.

Metadata

Release files for rss-reader-Anna-Gonchar 4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rss-reader-Anna-Gonchar 4.2
File Size Uploaded
rss_reader_Anna_Gonchar-4.2.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rss-reader-Anna-Gonchar 4.2
File Interpreter ABI Platform
rss_reader_Anna_Gonchar-4.2-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / rss_reader_Anna_Gonchar-4.2.tar.gz

Download URL rss_reader_Anna_Gonchar-4.2.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cd3d6bbe247e6301f1ec778ab85a3f8b8c353bb7d5576d7b527804238479bad0
BLAKE2b-256 checksum
How to use checksums
3b05f7f97b8bb9e54c0c152ddecc6b6dc726a3ecfd861af5fcc48d2bc39702c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

Release files / rss_reader_Anna_Gonchar-4.2-py3-none-any.whl

Download URL rss_reader_Anna_Gonchar-4.2-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31d1110737d032f56e834c09c9c2b0a74b3bae5407744b4f7b5483c1667d1e39
BLAKE2b-256 checksum
How to use checksums
4e4e9c513d39c67e0db6a4fe4f202bd9840f12b12adad7ff85734ee5ae123d7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

Release history Release notifications | RSS feed

This release

4.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page