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.46.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.46.1
File Size Uploaded Provenance
llama_index_readers_docling_rs-2.46.1.tar.gz 3.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 6.5 kB

Release files / llama_index_readers_docling_rs-2.46.1.tar.gz

Download URL llama_index_readers_docling_rs-2.46.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a1b09b4fe69650b09b4a4186c9a8d4f078269f4310157b2be9a70e2535de43a7
BLAKE2b-256 checksum
How to use checksums
906b01ea4f818c95d7fa40f27174e6306b393e2444290e4f90ba151c16fa3c6d
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 20, 2026.

Transparency log

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

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

Transparency log

Security for llama-index-readers-docling-rs 2.46.1

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llama_index_readers_docling_rs-2.46.1.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 20, 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.

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