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.2.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file PyNews-0.2.2.tar.gz
.
File metadata
- Download URL: PyNews-0.2.2.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 | 8671ca63d730ccbbca8ce6658650be1c25954d68fd728a4b6c319fdff6daa2a6 |
|
MD5 | 6342bbce46fc53a4ea506200dab42fea |
|
BLAKE2b-256 | 8baf91a1d8709316b7756fe58ce77ae4c0c5aeccec24b0f9ab8fdfea36fc637a |
File details
Details for the file PyNews-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: PyNews-0.2.2-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 | 9eb18d1f0ebcda60b997b19207aaa618ddf6920b9d7ceed89290f1813d0b3ab3 |
|
MD5 | d8689b19bb43b67c3a9826fb47973bee |
|
BLAKE2b-256 | 0dbdb485723deed3bd1a971c27870e67b6ad1fb417063131e456299a269ed954 |