Skip to main content

LLM plugin for pulling content from Hacker News

Project description

llm-hacker-news

PyPI Changelog Tests License

LLM plugin for pulling content from Hacker News

Installation

Install this plugin in the same environment as LLM.

llm install llm-hacker-news

Usage

You can feed a full conversation thread from Hacker News into LLM using the hn: fragment with the ID of the conversation. For example:

llm -f hn:43615912 'summary with illustrative direct quotes'

Item IDs can be found in the URL of the conversation thread.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-hacker-news
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

python -m pytest

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

llm_hacker_news-0.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_hacker_news-0.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file llm_hacker_news-0.1.tar.gz.

File metadata

  • Download URL: llm_hacker_news-0.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for llm_hacker_news-0.1.tar.gz
Algorithm Hash digest
SHA256 17ccbc28bed10477cf19e56b1888a19e2aa3fd56080cd26b1c874594a8d98eba
MD5 9d9f48d2b7057c1262d6be83d9dfe8b7
BLAKE2b-256 d2de6b16678bb2ea7f248a56018585d83f1c8dae920b690776fca89e1315343f

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_hacker_news-0.1.tar.gz:

Publisher: publish.yml on simonw/llm-hacker-news

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_hacker_news-0.1-py3-none-any.whl.

File metadata

  • Download URL: llm_hacker_news-0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for llm_hacker_news-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d0145ff14c7db648d52badefba95706c37c4748d521ec18d2b252b52c700f76
MD5 b433019494a65cb12e55ac3c187d91ba
BLAKE2b-256 1339053010f8c506bad2429a85174e855d7d281e1be3f56083146c491f7c1421

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_hacker_news-0.1-py3-none-any.whl:

Publisher: publish.yml on simonw/llm-hacker-news

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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