Skip to main content

PyNews is a simple Python CLI to browse news from HN website

Reason this release was yanked:

This is an outdated version

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.

Source Distribution

PyNews-0.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distributions

PyNews-0.2.linux-x86_64.tar.gz (5.9 kB view details)

Uploaded Source

PyNews-0.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file PyNews-0.2.tar.gz.

File metadata

  • Download URL: PyNews-0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyNews-0.2.tar.gz
Algorithm Hash digest
SHA256 0a52216ddb6fa1c21b1fce8ceacf5d25ef6974c270cba6e52c6fed140e5bc868
MD5 8896392b68273649aa964203e8981039
BLAKE2b-256 7df7b9c954999e9238d28213e4cf4020b1238825a3e4de0a7384d81652d2f91a

See more details on using hashes here.

File details

Details for the file PyNews-0.2.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for PyNews-0.2.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 36eba989da305c60705fa3b83a7c9340c15ffdde71be1ad4f51d1164892fa9b6
MD5 1dde3b065bbc14ca25d60db6e1df1756
BLAKE2b-256 88c2ff3850d79615ecef8fb268ff281ea15634056e4f68225a36ea63b76133b2

See more details on using hashes here.

File details

Details for the file PyNews-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: PyNews-0.2.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

Hashes for PyNews-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd2083e3fd0fa94476d245bee23d82542c03b1dd9e4379ea1c448bbf644edcab
MD5 66d157c60c3a27cf6e82846a320a33f4
BLAKE2b-256 8949c609bfd458c257fc8647cd5666ec1242d8cf6caf3e1097ca4c8904231042

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page