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.3.0.tar.gz
(5.5 kB
view details)
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 PyNews-0.3.0.tar.gz.
File metadata
- Download URL: PyNews-0.3.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba53f698da8b72ad06a53f0af2308539d4808952d90aec630c0835d4964fef68
|
|
| MD5 |
c585923b24bb2bf2d20e95fa78aaa30e
|
|
| BLAKE2b-256 |
eb46e03f6a0347a36f81ad4d1242668cac7c8f6fdb60bd1fcbafda115146e75c
|
File details
Details for the file PyNews-0.3.0-py3-none-any.whl.
File metadata
- Download URL: PyNews-0.3.0-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 |
671435aa8532c16de6058dcad28dbebfb6cf26c8194c4a84f673d54366984122
|
|
| MD5 |
c173dfa76936b416725bf635f3c3fca0
|
|
| BLAKE2b-256 |
d48423646e2ff1f7b67211f27d6fe9ffe63880ab0cc6320bdeb154b20246bfa9
|