News CLI for lazy people
Project description
Zeddo
News CLI for lazy people
Installation
pip install zeddo
Set up
Create a News API account and remember the API key. (You can choose the free plan.)
Then run zeddo and enter the API key when prompted.
Usage
$ zeddo
[1] Public Protector finds procurement of 'scooter ambulances' was improper (News24)
[2] Businessinsider.co.za | Salaries for Ramaphosa, ministers set to remain unchanged – for the second year in a row (News24)
[3] JUST IN | SCA rules 2018 ANC Free State election 'unlawful and unconstitutional' (News24)
[4] Specialized's Turbo Como SL Is a Comfy, Lightweight Cruiser (Wired)
[5] 24 Times Teen Dramas Tried To Go Outside Their Genre And It Was Just So Weird (Buzzfeed)
Please enter an article number to open:
Configuration
Advanced usage:
$ zeddo -h
Usage: zeddo [OPTIONS]
Options:
-k, --api-key TEXT API key for News API
-l, --language TEXT Filter articles by language
-t, --category TEXT Filter by category
-s, --search TEXT Search by key phrase
-n, --max-count INTEGER Limit number of articles
-v, --version Show the version and exit.
-h, --help Show this message and exit.
-c, --config FILE Read configuration from FILE.
Example config file:
api_key = "<News API key>"
language = "en"
The location of the config file depends on the operating system:
- Mac OS X (not POSIX):
~/Library/Application Support/zeddo/config - Unix (not POSIX):
~/.config/zeddo/config - Mac OS X and Unix (POSIX):
~/.zeddo/config - Windows
- Roaming:
C:\Users\<user>\AppData\Roaming\Foo Bar\config - Not roaming:
C:\Users\<user>\AppData\Local\Foo Bar\config
- Roaming:
License
Licensed under the GNU Public License v3.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zeddo-0.2.0.tar.gz.
File metadata
- Download URL: zeddo-0.2.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67cc867a4401e62d50f85655abf65c91af258feff48e5e675a7cfec99466efd3
|
|
| MD5 |
6c751a1c40ee44bc06f7b605f062ac7a
|
|
| BLAKE2b-256 |
52b4c02e8f45bbcebedabdb30c388782535038501bedef04657a14a977ebffbb
|
File details
Details for the file zeddo-0.2.0-py3-none-any.whl.
File metadata
- Download URL: zeddo-0.2.0-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a29c55fe3f7e99fa3766a435c3370b71bbe3f8056d5d9dad5a092a7a4de5e440
|
|
| MD5 |
691f3900f37a11f1af17356f259e3f6d
|
|
| BLAKE2b-256 |
cae7b0cf389e92c16aadfc6c2a1c7b2a0974104f1762a57db42c9daef8373294
|