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
Metadata
Release files for PyNews 0.3.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 | |
|---|---|---|---|
| PyNews-0.3.0.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyNews-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / PyNews-0.3.0.tar.gz
| Download URL | PyNews-0.3.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba53f698da8b72ad06a53f0af2308539d4808952d90aec630c0835d4964fef68
|
|
BLAKE2b-256 checksum How to use checksums |
eb46e03f6a0347a36f81ad4d1242668cac7c8f6fdb60bd1fcbafda115146e75c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / PyNews-0.3.0-py3-none-any.whl
| Download URL | PyNews-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
671435aa8532c16de6058dcad28dbebfb6cf26c8194c4a84f673d54366984122
|
|
BLAKE2b-256 checksum How to use checksums |
d48423646e2ff1f7b67211f27d6fe9ffe63880ab0cc6320bdeb154b20246bfa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|