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
Metadata
Release files for zeddo 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zeddo-0.2.0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zeddo-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.9 kB
Release files / zeddo-0.2.0.tar.gz
| Download URL | zeddo-0.2.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67cc867a4401e62d50f85655abf65c91af258feff48e5e675a7cfec99466efd3
|
|
BLAKE2b-256 checksum How to use checksums |
52b4c02e8f45bbcebedabdb30c388782535038501bedef04657a14a977ebffbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / zeddo-0.2.0-py3-none-any.whl
| Download URL | zeddo-0.2.0-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a29c55fe3f7e99fa3766a435c3370b71bbe3f8056d5d9dad5a092a7a4de5e440
|
|
BLAKE2b-256 checksum How to use checksums |
cae7b0cf389e92c16aadfc6c2a1c7b2a0974104f1762a57db42c9daef8373294
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|