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_polina_yudzina-2.1.tar.gz (5.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: rss_reader_polina_yudzina-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_polina_yudzina-2.1.tar.gz
Algorithm Hash digest
SHA256 16dd36b0b383cf6f9a565d2bbef82e80d26b7a71dba663fda11a5c0a2fa0472a
MD5 ee6364e418040333716e4d0e318a877c
BLAKE2b-256 6a77ea1da3fa283f675358353fc09bcfad9ed905aa29289144a3169572ff06b6

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