Skip to main content

hnget - Hacker News web scraper

A commandline program for browsing Hacker News.

Hnget Screenshot

Usage

hnget --fetch (--f)

Print the top 30 posts on Hacker News, enumerated. --fetch takes an optional integer value to specify different pages of the results.

hnget --open (--o) [NUMS...]

Open stories in default web browser. Multiple values are accepted. Default web browser can be set with $BROWSER.

hnget --comments (--o) [NUMS...]

Like --open, but view the comment page(s) instead.

hnget --fetch --best

View the top posts for the week instead of the current front page.

Installation

With Pypi:

$ pip install hnget

Manually:

$ git clone https://github.com/jsbmg/hnget

$ cd hnget

$ pip install . pyproject.toml

Metadata

Release files for hnget 0.1.91

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

Source distribution (sdist)

Source distribution for hnget 0.1.91
File Size Uploaded Provenance Actions
hnget-0.1.91.tar.gz 4.1 kB Without provenance Details for hnget-0.1.91.tar.gz

Built distribution (wheel)

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

Total release size: 8.5 kB

Release files / hnget-0.1.91.tar.gz

Download URL hnget-0.1.91.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
70f7b5a5da8860679173a63595d47dddfd89c422900a7d8037141092619c2ba1
BLAKE2b-256 checksum
How to use checksums
8a01212c2f4307a9eff6e8e0627dd8cf8a0e22245eecc995572d34ceb297a47b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.2 Linux/5.15.22_1

Release files / hnget-0.1.91-py3-none-any.whl

Download URL hnget-0.1.91-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c13c754d44e5758bbcbd4fe514fae8bee0ce7925daff391892bea05b95fa1251
BLAKE2b-256 checksum
How to use checksums
2c6d3fa69d692d802df96b785eb3975c2d8f2fa6cd79193aff97859d1964886e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.2 Linux/5.15.22_1

Security for hnget 0.1.91

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