mynews_bot
By Rajarshi Ghosh rajarshig89@gmail.com
Introduction
mynews_bot is a python command line application. It's objective is to collect news from various sources (using corresponding RSS feeds) & provide a terminal interface for viewing the collected data.
Installation
pip install mynews-bot
Usage
usage: mynews-bot [-h] [-s SOURCE] [-t TOP] [-v]
Get news items from multiple news sources
optional arguments:
-h, --help show this help message and exit
-s SOURCE, --source SOURCE
Name of the news source. Available options are: TOI,
NYT, IT, GNEWS, QUINT, REDDIT, BBC, BUZZFEED,
ALJAZEERA, YAHOONEWS, CNN, GUARDIAN, WASHINGTON_POST,
CNBC, REUTERS, INDEPENDENT, BUSINESS_STANDARD
-t TOP, --top TOP Count of news items to show from top order. Default:
10
-v, --version show program's version number and exit
Example
- Get news for source BBC
mynews_bot -s BBC
- Get top 5 news for source CNBC
mynews_bot -s CNBC -t 5
- Get news from all sources
mynews_bot -t 2
News Sources
- Times Of India
- New York Times
- India Today
- Google News
- Quint
- BBC
- Buzzfeed
- AlJazeera
- Yahoo News
- CNN
- Guardian
- Washington Post
- CNBC
- Reuters
- Independent
- Business Standard
Metadata
Release files for mynews-bot 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mynews_bot-0.1.1.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mynews_bot-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / mynews_bot-0.1.1.tar.gz
| Download URL | mynews_bot-0.1.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
400caff0005f7777ffd2cf256a428fdc3d1989e6f48d8c37295c1674fed8b8d3
|
|
BLAKE2b-256 checksum How to use checksums |
f7b36071df1d7a0fc84c39682fd8cf725941117296e6d281ca4ed2d8342706b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|
Release files / mynews_bot-0.1.1-py3-none-any.whl
| Download URL | mynews_bot-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61f13fdc8e5a5089483581b0e4acc2092af3d5f1145ca5d32a7bbd4070540730
|
|
BLAKE2b-256 checksum How to use checksums |
800bf7c74ac419ef4809b1dc3f26c8f9c23f5eb9730e66223db6ce6ae8b244a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|