Skip to main content

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

Metadata

Release files for PyNews 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyNews 0.3.0
File Size Uploaded
PyNews-0.3.0.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyNews 0.3.0
File Interpreter ABI Platform
PyNews-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / PyNews-0.3.0.tar.gz

Download URL PyNews-0.3.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ba53f698da8b72ad06a53f0af2308539d4808952d90aec630c0835d4964fef68
BLAKE2b-256 checksum
How to use checksums
eb46e03f6a0347a36f81ad4d1242668cac7c8f6fdb60bd1fcbafda115146e75c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / PyNews-0.3.0-py3-none-any.whl

Download URL PyNews-0.3.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
671435aa8532c16de6058dcad28dbebfb6cf26c8194c4a84f673d54366984122
BLAKE2b-256 checksum
How to use checksums
d48423646e2ff1f7b67211f27d6fe9ffe63880ab0cc6320bdeb154b20246bfa9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

3 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page