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.6.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.6.0
File Size Uploaded
llama_index_readers_pdf_table-0.6.0.tar.gz 15.6 kB Details

Built distribution (wheel)

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

Total release size: 30.7 kB

Release files / llama_index_readers_pdf_table-0.6.0.tar.gz

Download URL llama_index_readers_pdf_table-0.6.0.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
df8a0d651b283f6d21eb0efe78ae3d0ae5689d3b637369420712c40603baed8f
BLAKE2b-256 checksum
How to use checksums
e2f2a28b3c95308e4d7db671cb2fcde4519f38a54e51b656fa846128102c2c73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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.6.0-py3-none-any.whl

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

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

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