Skip to main content

PDF Table Loader

pip install llama-index-readers-pdf-table

This loader reads the tables included in the PDF.

Users can input the PDF file and the pages from which they want to extract tables, and they can read the tables included on those pages.

Usage

Here's an example usage of the PDFTableReader. pages parameter is the same as camelot's pages. Therefore, you can use patterns such as all, 1,2,3, 10-20, and so on.

from llama_index.readers.pdf_table import PDFTableReader
from pathlib import Path

reader = PDFTableReader()
pdf_path = Path("/path/to/pdf")
documents = reader.load_data(file=pdf_path, pages="80-90")

Example

This loader is designed to be used as a way to load data into LlamaIndex.

Metadata

Release files for llama-index-readers-pdf-table 0.7.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-pdf-table 0.7.0
File Size Uploaded Provenance Actions
llama_index_readers_pdf_table-0.7.0.tar.gz 15.6 kB Without provenance Details for llama_index_readers_pdf_table-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-readers-pdf-table 0.7.0
File Interpreter ABI Platform Actions
llama_index_readers_pdf_table-0.7.0-py3-none-any.whl Python 3 none any Details for llama_index_readers_pdf_table-0.7.0-py3-none-any.whl

Total release size: 30.7 kB

Release files / llama_index_readers_pdf_table-0.7.0.tar.gz

Download URL llama_index_readers_pdf_table-0.7.0.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
43555b36b39f03e547254bddcf35255ac2f4a3387b24031e0d42c45127cc0916
BLAKE2b-256 checksum
How to use checksums
f8af9a164d69b4248d59d04afe3651dae2aacfc8df45ff88034230c78520b2a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / llama_index_readers_pdf_table-0.7.0-py3-none-any.whl

Download URL llama_index_readers_pdf_table-0.7.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
99458f6ac8b47a66cbe444f947a00c1d6dc13c760a0944d69ebf52bcaa23cb64
BLAKE2b-256 checksum
How to use checksums
8f7fad2a9247e390fcb2174888afea6c7b40860b79b6c2ddd957daf326da0c45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for llama-index-readers-pdf-table 0.7.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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