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

Built distribution (wheel)

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

Total release size: 6.5 kB

Release files / llama_index_readers_docling_rs-2.35.0.tar.gz

Download URL llama_index_readers_docling_rs-2.35.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a5e9be135cb33d7492df6bc905865f959f9f905e3fa491ab7e0a7f6aa33a528b
BLAKE2b-256 checksum
How to use checksums
05b29f5a9e598c8914b1f64fc26d8b70c55eb4b158e7b4c3b981a5b5449fd0b6
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 16, 2026.

Transparency log

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

Download URL llama_index_readers_docling_rs-2.35.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d98f5d4a024bbf0d0c53bea2b7811a9177828859b0d228d2242cd13fcf47a466
BLAKE2b-256 checksum
How to use checksums
c7a64e65b1021c2ff46addf26e673b658415fc0faa77a3d969196b57a855ab67
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 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.35.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