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)
| File | Size | Uploaded | |
|---|---|---|---|
| llama_index_readers_pdf_table-0.6.0.tar.gz | 15.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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}
|