llama-index-readers-lyrenth
A LlamaIndex reader backed by Lyrenth. Reads any URL as a clean AIDocument: cleaned Markdown plus title, description, and structure, with navigation and boilerplate stripped, through Lyrenth's cached index.
Install
pip install llama-index-readers-lyrenth
Get a free API key at https://lyrenth.com/signup and set it as
LYRENTH_API_KEY.
Usage
from llama_index.readers.lyrenth import LyrenthReader
docs = LyrenthReader().load_data(
["https://example.com/a", "https://example.com/b"]
)
# docs -> list[llama_index.core.Document]
# docs[0].text -> cleaned Markdown
# docs[0].metadata -> {"source", "title", "description", "word_count"}
Pass fresh=True to force a live re-fetch instead of the cached copy, or
client= to reuse a configured lyrenth.Lyrenth.
Why
- Cleaner, cheaper input for RAG: one stable shape per URL, far fewer tokens than raw HTML.
- Cached across callers, so repeat URLs are fast and origin-friendly.
The AIDocument format is an open contract; see https://lyrenth.com/llms-full.txt. MIT licensed.
Release files for llama-index-readers-lyrenth 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llama_index_readers_lyrenth-0.1.0.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llama_index_readers_lyrenth-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / llama_index_readers_lyrenth-0.1.0.tar.gz
| Download URL | llama_index_readers_lyrenth-0.1.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19c19e7a58c2b55388d013f7c86cb709778a284680e54d2d47390b3260612c68
|
|
BLAKE2b-256 checksum How to use checksums |
6bafa33f56addeba53a690f481f6fe7141bc4b6658aaebcdd8cbc09fbc8ad4e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / llama_index_readers_lyrenth-0.1.0-py3-none-any.whl
| Download URL | llama_index_readers_lyrenth-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7f38d3dc7429595c6d58ffc08241dac038bc1bda30fb41be2a9b817ecc16b68
|
|
BLAKE2b-256 checksum How to use checksums |
d8d3ce78a8bc41b752ee351cf3299d35d92c14e4820bcdfad366946a51e77d38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|