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

For background on how this works:

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:

pip 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.1.tar.gz (8.1 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.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_hacker_news-0.1.1.tar.gz
  • Upload date:
  • Size: 8.1 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.1.tar.gz
Algorithm Hash digest
SHA256 34c9187a406958bec08dda29b49a7689c29d504d36363426d48c653273210fd6
MD5 1c0fb5e5768bbc3b732fdfe3a5bd52ff
BLAKE2b-256 5bf64e24f205a3ce71ed56dbda9e3199b8f3f5f8de3d82fe3be8e2245ff2950a

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_hacker_news-0.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_hacker_news-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31d4a7484e7e7d0f8cf4c3bd0f24b6283dffed6fd2fa47d5068277df266fa9b0
MD5 798ab930df23748ab579f8a578d5ffb7
BLAKE2b-256 1a49c9009ee8f6cfc7232694c1ad2cdbc5a49026419b64346ffc7e72aa20542f

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_hacker_news-0.1.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