Skip to main content

EnConvert reader for LlamaIndex

llama-index-readers-enconvert turns web pages and whole sites into LlamaIndex Documents through EnConvert. Every perceived page carries a render_quality score (0.0-1.0) in its metadata, so a blocked or empty page comes back flagged rather than trusted.

Install

pip install llama-index-readers-enconvert

Use

from llama_index.readers.enconvert import EnConvertReader

reader = EnConvertReader(api_key="sk_...")  # or set $ENCONVERT_API_KEY

# A few URLs into clean-markdown Documents:
docs = reader.load_data(urls=["https://example.com", "https://example.com/pricing"])

# Or a whole site into RAG-ready chunk Documents:
docs = reader.load_data(ingest_url="https://docs.example.com", mode="sitemap", max_pages=100)

from llama_index.core import VectorStoreIndex
index = VectorStoreIndex.from_documents(docs)
  • URLs are perceived into markdown; metadata carries url and render_quality.
  • ingest_url crawls the site (async; the reader polls to completion), then returns one Document per chunk, each carrying the chunk's own metadata (source URL, title, etc.).

Auth: a private key (sk_...) from your dashboard. Public pk_ keys are rejected. The key is read from api_key= or $ENCONVERT_API_KEY and is excluded from the reader's serialized form.

Licence

MIT

Release files for llama-index-readers-enconvert 0.1.0

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

Source distribution (sdist)

Source distribution for llama-index-readers-enconvert 0.1.0
File Size Uploaded
llama_index_readers_enconvert-0.1.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-readers-enconvert 0.1.0
File Interpreter ABI Platform
llama_index_readers_enconvert-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size:8.7 kB

Release files / llama_index_readers_enconvert-0.1.0.tar.gz

Download URL llama_index_readers_enconvert-0.1.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9d58421ab47cd564026ab2dcda0c85eca224b08b69d867bb8615a422738c5d55
BLAKE2b-256 checksum
How to use checksums
09ad59b7878a264aa6039dfec888ad496926a403fdb83006155cc5619647d770
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.2

Release files / llama_index_readers_enconvert-0.1.0-py3-none-any.whl

Download URL llama_index_readers_enconvert-0.1.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d865cd23a0746a813796dd73799fbf28e48142d6569aab0d1c9c814e1e1218d9
BLAKE2b-256 checksum
How to use checksums
3e0621e445b417781d87448f69fbda3095d8c44f898e7d544d78868cd640bfc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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