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-polina-yudina

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

Utility provide the following interface:

usage: rss_reader.py [-h] [--version] [--json] [--verbose] [--limit LIMIT] source

Pure Python command-line RSS reader.

positional arguments: source RSS URL

optional arguments: -h, --help show this help message and exit --version Print version info --json Print result as JSON in stdout --verbose Outputs verbose status messages --limit LIMIT Limit news topics if this parameter provided

#JSON structure:

{

[

       {      
         "feed_title": feed title,                         
         "title": news title,
         "summary": news content,
         "date": news publication date,
         "link": news link },
       
       {  
         "feed_title": feed title,             
         "title": news title,
         "summary": news content,
         "date": news publication date,
         "link": news link },

       ...

] }

Download files

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

Source Distribution

rss_reader_p_y-2.1.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file rss_reader_p_y-2.1.tar.gz.

File metadata

  • Download URL: rss_reader_p_y-2.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.3

File hashes

Hashes for rss_reader_p_y-2.1.tar.gz
Algorithm Hash digest
SHA256 56a4210f395546bc727df9839bf6f9f6030bb32f4fb8023729e015de7c8aa4c9
MD5 79147f856c07707022c4880bfbed20e6
BLAKE2b-256 dcaaa75ab9e3e7933d1aa52e5fa45c072646eab354b9001762e97f7174ef2991

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.1

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page