Skip to main content

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

Usage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PyNews, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size PyNews-0.2.linux-x86_64.tar.gz (5.9 kB) File type Dumb Binary Python version any Upload date Hashes View
Filename, size PyNews-0.2.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page