Skip to main content

langchain-docling-rs

A LangChain document loader backed by docling.rs, a Rust port of IBM's docling: PDF with layout analysis, table structure and local OCR, DOCX, PPTX, XLSX, HTML, EPUB, e-mail, scans and 40-odd other formats, into LangChain Documents — one per input as Markdown, or one per chunk with docling's chunk metadata (items, page and bounding-box provenance, headings). No PyTorch; the models run through ONNX Runtime from a single native wheel.

It is langchain-docling's API, so the import is the only change:

pip install langchain-docling-rs
# was:  from langchain_docling import DoclingLoader, ExportType
from langchain_docling_rs import DoclingLoader, ExportType

docs = DoclingLoader(file_path=["https://arxiv.org/pdf/2408.09869", "notes.docx"]).load()
docs[0].page_content                      # heading path + chunk text, ready to embed
docs[0].metadata["dl_meta"]               # docling's chunk meta: items, page/bbox provenance, headings

DoclingLoader(file_path="report.pdf", export_type=ExportType.MARKDOWN).load()  # one Document per input

The package has no code of its own: it pins the docling-rs wheel (with its langchain extra) and re-exports docling_rs.langchain — DoclingLoader, ExportType, MetaExtractor, BaseMetaExtractor, ConversionBackend and PictureDescriptionLangChainOptions (describe document pictures with any LangChain chat model during conversion). The parameters, defaults and chunking are documented there; pip install "docling-rs[langchain]" and from docling_rs.langchain import … is the same thing under the engine's own name.

PDF models

Office, HTML, Markdown and e-mail need no models. PDFs and images use ONNX models for layout, tables and OCR (~720 MB), fetched once with python -c "import docling_rs; docling_rs.download_models()". Without them a PDF converts from its embedded text layer.

License

MIT. docling.rs is an independent project of the docling community (LF AI & Data); not a LangChain partner package.

Metadata

Release files for langchain-docling-rs 2.52.9

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

Source distribution (sdist)

Source distribution for langchain-docling-rs 2.52.9
File Size Uploaded Provenance Actions
langchain_docling_rs-2.52.9.tar.gz 3.3 kB With provenance Details for langchain_docling_rs-2.52.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-docling-rs 2.52.9
File Interpreter ABI Platform Actions
langchain_docling_rs-2.52.9-py3-none-any.whl Python 3 none any Details for langchain_docling_rs-2.52.9-py3-none-any.whl

Total release size: 6.2 kB

Release files / langchain_docling_rs-2.52.9.tar.gz

Download URL langchain_docling_rs-2.52.9.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3b07c9f3541ded568b3d902b6b1bbb2d7f608783c25a89e67533cd1a999c0d5b
BLAKE2b-256 checksum
How to use checksums
21e40492cf446565f7a21504c2be0c6916fa7c05aaa81e58c34d69c0e7951a3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / langchain_docling_rs-2.52.9-py3-none-any.whl

Download URL langchain_docling_rs-2.52.9-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18b6a730c41fe949687aa4c430862dbe138cc95075fefa49a5bcc6bd3193f3a9
BLAKE2b-256 checksum
How to use checksums
86cd1e141944c4ce808d9327ec3650f590e8b88c6c6b99bbcbf513c3090b2138
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for langchain-docling-rs 2.52.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for langchain_docling_rs-2.52.9.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.52.9 This release

2 release files Full provenance

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