Skip to main content

llama-index-readers-docling-rs

DoclingRsReader turns PDF, DOCX, PPTX, XLSX, HTML, EPUB, e-mail, scans and 40-odd other formats into LlamaIndex Documents with docling.rs, a Rust port of IBM's docling: layout analysis, table structure and local OCR from a single native wheel, no PyTorch. It is the API of llama-index-readers-docling — export as Markdown (the default) or as docling's native JSON for a Docling node parser.

Installation

pip install llama-index-readers-docling-rs

PDFs and images use ONNX models (~720 MB), fetched once with python -c "import docling_rs; docling_rs.download_models()"; Office, HTML and e-mail need none.

Usage

Basic usage looks like this:

from llama_index.readers.docling_rs import DoclingRsReader

reader = DoclingRsReader()
docs = reader.load_data(file_path="https://arxiv.org/pdf/2408.09869")
print(f"{docs[0].text[:500]}...")

To export to docling's native JSON (parse it downstream with a Docling node parser):

reader = DoclingRsReader(export_type=DoclingRsReader.ExportType.JSON)

With SimpleDirectoryReader:

from llama_index.core import SimpleDirectoryReader

dir_reader = SimpleDirectoryReader(
    input_dir="/path/to/docs",
    file_extractor={".pdf": reader, ".docx": reader},
)
docs = dir_reader.load_data()

The converter is docling.rs's DocumentConverter; configure it as usual and pass it as doc_converter (DoclingRsReader(doc_converter=DocumentConverter(do_ocr=False))). DoclingReader is the same class under the upstream name.

The package has no code of its own: it pins the docling-rs wheel (with its llamaindex extra) and re-exports docling_rs.llamaindex, where the parameters are documented; pip install "docling-rs[llamaindex]" and from docling_rs.llamaindex import DoclingReader is the same thing under the engine's own name. Published from the docling.rs repository, not from LlamaIndex's monorepo (which no longer takes new integration packages).

License

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

Metadata

Release files for llama-index-readers-docling-rs 2.37.1

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-docling-rs 2.37.1
File Size Uploaded
llama_index_readers_docling_rs-2.37.1.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-readers-docling-rs 2.37.1
File Interpreter ABI Platform
llama_index_readers_docling_rs-2.37.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / llama_index_readers_docling_rs-2.37.1.tar.gz

Download URL llama_index_readers_docling_rs-2.37.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2f28b4c26e01f437ba22bb2242460198c3f88ee6057b4eb8917b515e096aea71
BLAKE2b-256 checksum
How to use checksums
56f3484f252e7562594c7e86e871561497c881e0198d7012d5ff6e7d70eca1ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 17, 2026.

Transparency log

Release files / llama_index_readers_docling_rs-2.37.1-py3-none-any.whl

Download URL llama_index_readers_docling_rs-2.37.1-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c023d077c7aa2abb9ac5b9a46db09ae58a303c52e7b3f3814a2293c1ab73934
BLAKE2b-256 checksum
How to use checksums
2e7f2902d7515f96e9287dc06970e10ce65c89f3a19522d83fbb3acc7246196a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 17, 2026.

Transparency log

Release history Release notifications | RSS feed

2.42.0

2 release files

2.38.0

2 release files

This release

2.37.1 This release

2 release files

2.35.0

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