Skip to main content

llama-index readers pdf_table integration

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_pdf_table-0.5.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_readers_pdf_table-0.5.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_pdf_table-0.5.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_pdf_table-0.5.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}

File hashes

Hashes for llama_index_readers_pdf_table-0.5.0.tar.gz
Algorithm Hash digest
SHA256 bcac5b0661e65e46b51603cfd63aafdf44a777893546115af0b9d3be37ec5e2f
MD5 4187f9dce9bbb9c5b0151702cae26ab6
BLAKE2b-256 72a4cad1479af1adc8d5c2e59590051f261fb44bfe25debcf42211c1da644178

See more details on using hashes here.

File details

Details for the file llama_index_readers_pdf_table-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_pdf_table-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}

File hashes

Hashes for llama_index_readers_pdf_table-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b1821b35831b5187b925974da063719a3bfd9cf5663fc2dd2ec02d6060e2e3c
MD5 fd3bf59f3dda962f274efc1eeb0e742f
BLAKE2b-256 53c84f1b9c5d85acf310cd2717cd395c924e39f1a8a785849081af8e6cb1f71a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page