Skip to content

A Python CLI to browse news from Hacker News (and others, in the near future)

License

Notifications You must be signed in to change notification settings

mazulo/pynews_cli

Repository files navigation

pynews-cli

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 [email protected]: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

Usage

About

A Python CLI to browse news from Hacker News (and others, in the near future)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages