PyNews is a simple Python CLI to browse news from HN website
Project description
A Python CLI to browse news from Hacker News (and others, in the near future). Also is a Python implementation of the awesome hn-cli.
Installing
Via pip
$ pip install pynews
You can also clone this project and install via setup.py
$ git clone git@github.com:mazulo/pynews_cli.git
$ cd pynews_cli/
$ python setup.py install
Usage Example
Get Top Stories:
$ pynews -t 10 # or
$ pynews --top-stories 10
# This will show the 10 first *top* stories from the list of 500.
Get New Stories:
$ pynews -n 10 # or
$ pynews --news-stories
# This will show the 10 first *new* stories from the list of 500.
See it in action
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
PyNews-0.2.1.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file PyNews-0.2.1.tar.gz
.
File metadata
- Download URL: PyNews-0.2.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 712c02a50c32caa8d3c05a5967d7a622cb24cfca3d0ab5bb256dc4e704fad30f |
|
MD5 | 42e434df81e8b720c1074123b86f430f |
|
BLAKE2b-256 | a4f2c3f09a4f09452bd604bb0d96ec41dc1a9e068a6557b7f090b12e5ab1ac3c |
File details
Details for the file PyNews-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: PyNews-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3dc9977b5264332b4fa6c9f4bd966b4b1085ff1b109c081308dbed3b52d05b6 |
|
MD5 | 07af336198ee67b37414f62642a1e0d0 |
|
BLAKE2b-256 | e4cbb58133d48cb5d68c75f482990fad5895ee8d43a538967f1ce6fb3917f767 |