EnConvert loader for LangChain
langchain-enconvert turns web pages and whole sites into LangChain 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 langchain-enconvert
Use
from langchain_enconvert import EnconvertLoader
# A few URLs into clean-markdown Documents:
docs = EnconvertLoader(urls=["https://example.com", "https://example.com/pricing"]).load()
# Or a whole site into RAG-ready chunk Documents:
docs = EnconvertLoader(ingest_url="https://docs.example.com", mode="sitemap", max_pages=100).load()
- URLs are perceived into markdown; metadata carries
sourceandrender_quality. ingest_urlcrawls the site (async; the loader polls to completion), then returns one Document per chunk, each carrying the chunk's own metadata (source, title, etc.)..lazy_load()streams Documents one at a time.
Auth: a private key (sk_...) from your dashboard.
Public pk_ keys are rejected. The key is read from api_key= or $ENCONVERT_API_KEY.
Licence
Release files for langchain-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)
| File | Size | Uploaded | |
|---|---|---|---|
| langchain_enconvert-0.1.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_enconvert-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / langchain_enconvert-0.1.0.tar.gz
| Download URL | langchain_enconvert-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2cad2839bb5f9f3f7e749b715e323c7c63695ceca72f05caade8872316ad828
|
|
BLAKE2b-256 checksum How to use checksums |
8656d4c7118e1a322faa5771fd6ddc8508e42abd74add552948907b06ea87f9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.2
|
Release files / langchain_enconvert-0.1.0-py3-none-any.whl
| Download URL | langchain_enconvert-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c73ed7e49ab61f15b86fcb5c5673acf018c5d788393c60dfccc7f59e5b3e683
|
|
BLAKE2b-256 checksum How to use checksums |
d11e6b015237e9922cb8a85e4ca0f0762c0b070f7b003588b4aed7603c1214fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.2
|