Skip to main content

Run URLs through the pure.md API

Project description

llm-fragments-pure

Run URLs through the pure.md API to convert web pages to clean Markdown.

Installation

llm install llm-fragments-pure

Usage

llm -f 'pure:https://example.com' "Summarize this page"

API Key

You can provide your pure.md API token in two ways:

Option 1: Using LLM keys (recommended)

llm keys set puremd
# Enter your API key when prompted
llm -f 'pure:https://example.com' "Summarize this page"

Option 2: Environment variable

export PUREMD_API_KEY=your_api_key_here
llm -f 'pure:https://example.com' "Summarize this page"

Development

cd llm-fragments-pure
python -m venv venv
source venv/bin/activate
python -m pip install -e '.[test]'

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_fragments_pure-0.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

llm_fragments_pure-0.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file llm_fragments_pure-0.2.tar.gz.

File metadata

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

File hashes

Hashes for llm_fragments_pure-0.2.tar.gz
Algorithm Hash digest
SHA256 b81bab9d656cb8f806e7a5c0f448358b90f4f7d0d829d57c8a212a981bfaca69
MD5 d82054489da3f9c79a5f0e3332c1227a
BLAKE2b-256 961d7edc446480d5bc99cc61836cf5b0ff0df354ac166f25d6602811f003181a

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_fragments_pure-0.2.tar.gz:

Publisher: publish.yml on yorickvP/llm-fragments-pure

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_fragments_pure-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_fragments_pure-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 02f0b69a6d135faaad35715282beeaebd834a1e87b4bf2614bee1f9324f1d016
MD5 f5f288b88f1d35356bbbb92eb83890ed
BLAKE2b-256 3579e7e8dfed98798a1266e8738c78c5d1be560fc3222a24718d6f456a37dd9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_fragments_pure-0.2-py3-none-any.whl:

Publisher: publish.yml on yorickvP/llm-fragments-pure

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