llama-index-readers-superpdf
superpdf.ai · Docs · GitHub
The LlamaIndex reader for superPDF AI: local PDFs as Markdown, page by page, ready for RAG. Headings stay Markdown headings, tables stay tables, charts drawn in the PDF come out as tables of their values, and scanned pages are read with OCR in 15 languages. Everything runs on your computer; nothing is uploaded.
Install
pip install -U llama-index-readers-superpdf
Python 3.10 or later on macOS, Linux or Windows. Node.js comes with the package; the first load installs the superPDF reader (about 220 MB) into your cache folder, once.
Use
from llama_index.readers.superpdf import SuperPDFReader
docs = SuperPDFReader().load_data("report.pdf") # one Document per page
docs[0].metadata # {"page_label": "1", "file_name": "report.pdf"}
| Option | Effect |
|---|---|
return_full_document=True |
One Document for the whole PDF |
pages="1-3" |
Only these pages |
tables="html" |
Tables as HTML, keeping merged header cells |
ocr=False |
Skip OCR on scanned pages |
timeout=1200 |
Seconds before giving up on one PDF (default 600) |
With SimpleDirectoryReader:
from llama_index.core import SimpleDirectoryReader
reader = SimpleDirectoryReader("papers", file_extractor={".pdf": SuperPDFReader()})
docs = reader.load_data()
Split by section with MarkdownNodeParser, which records each node's header_path:
from llama_index.core.node_parser import MarkdownNodeParser
nodes = MarkdownNodeParser().get_nodes_from_documents(docs)
More: superpdf.ai/docs/python/langchain-llamaindex.
License
Apache-2.0. Part of superPDF AI.
Metadata
Release files for llama-index-readers-superpdf 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llama_index_readers_superpdf-0.1.0.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llama_index_readers_superpdf-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.9 kB
Release files / llama_index_readers_superpdf-0.1.0.tar.gz
| Download URL | llama_index_readers_superpdf-0.1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c1194b912fd9f4105535a1746f7f8ea60cf9bcf61600b0a3d103ee4550be402
|
|
BLAKE2b-256 checksum How to use checksums |
024ddd7e8ac5d27478f67d32996b11f95c4f33f6e755ce29aa16ac5262ed07f2
|
| 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 14, 2026.
Transparency logRelease files / llama_index_readers_superpdf-0.1.0-py3-none-any.whl
| Download URL | llama_index_readers_superpdf-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b90d13c148373a3529c5d71dbac72277e269f3dc05e1214d39dc565da86ae878
|
|
BLAKE2b-256 checksum How to use checksums |
8c497e56c9af02857a8640a9fb24857db02e590ba9197fcad1ed083feecccbb9
|
| 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 14, 2026.
Transparency log