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.38.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.38.0
File Size Uploaded
llama_index_readers_docling_rs-2.38.0.tar.gz 3.6 kB Details

Built distribution (wheel)

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

Total release size: 6.5 kB

Release files / llama_index_readers_docling_rs-2.38.0.tar.gz

Download URL llama_index_readers_docling_rs-2.38.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
afc125611057faa60648b057f8f235227750a8ce76aaca3a28a6d1ac2de3939a
BLAKE2b-256 checksum
How to use checksums
2fd9ba0073c5666c596eb33f23821b0b3d642608ad9403817de6205083550b1a
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 18, 2026.

Transparency log

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

Download URL llama_index_readers_docling_rs-2.38.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d058904679c6dad408032190d62c793a783370c878ae40e2953dc37c3cff7524
BLAKE2b-256 checksum
How to use checksums
27a9a8d6be561319f6a8cfc75a9be9c5afc8a62ccf9948c8c65066d26db87bc3
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 18, 2026.

Transparency log

Release history Release notifications | RSS feed

2.42.0

2 release files

This release

2.38.0 This release

2 release files

2.37.1

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