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 Provenance Actions
PyNews-0.3.0.tar.gz 5.5 kB Without provenance Details for PyNews-0.3.0.tar.gz

Built distribution (wheel)

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

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

Security for PyNews 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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