llama-index-readers-pdf-table


Namellama-index-readers-pdf-table JSON
Version 0.4.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers pdf_table integration
upload_time2025-07-30 20:53:46
maintaineryy0867
docs_urlNone
authorNone
requires_python<4.0,>=3.9
licenseNone
keywords pdf pdf table table
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PDF Table Loader

```bash
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.

```python
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](https://github.com/run-llama/llama_index/).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-readers-pdf-table",
    "maintainer": "yy0867",
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "pdf, pdf table, table",
    "author": null,
    "author_email": "Your Name <you@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/3e/05/bb3dfbb2d54b38deb146c4cafd045059412f8870c46eb60fad0f0929134b/llama_index_readers_pdf_table-0.4.0.tar.gz",
    "platform": null,
    "description": "# PDF Table Loader\n\n```bash\npip install llama-index-readers-pdf-table\n```\n\nThis loader reads the tables included in the PDF.\n\nUsers 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.\n\n## Usage\n\nHere's an example usage of the PDFTableReader.\n`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.\n\n```python\nfrom llama_index.readers.pdf_table import PDFTableReader\nfrom pathlib import Path\n\nreader = PDFTableReader()\npdf_path = Path(\"/path/to/pdf\")\ndocuments = reader.load_data(file=pdf_path, pages=\"80-90\")\n```\n\n## Example\n\nThis loader is designed to be used as a way to load data into [LlamaIndex](https://github.com/run-llama/llama_index/).\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "llama-index readers pdf_table integration",
    "version": "0.4.0",
    "project_urls": null,
    "split_keywords": [
        "pdf",
        " pdf table",
        " table"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "297d71b0b923ef6febb066a8c2f67a341a7b8e34a1e4f271b2b9d723cb73836a",
                "md5": "16b3a46319bf0696ea5020e7baaa7481",
                "sha256": "0f5e99a12eea96d85bc060d172737f4ab541d39baee8f1052b57497e39e58821"
            },
            "downloads": -1,
            "filename": "llama_index_readers_pdf_table-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "16b3a46319bf0696ea5020e7baaa7481",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 15083,
            "upload_time": "2025-07-30T20:53:45",
            "upload_time_iso_8601": "2025-07-30T20:53:45.966899Z",
            "url": "https://files.pythonhosted.org/packages/29/7d/71b0b923ef6febb066a8c2f67a341a7b8e34a1e4f271b2b9d723cb73836a/llama_index_readers_pdf_table-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3e05bb3dfbb2d54b38deb146c4cafd045059412f8870c46eb60fad0f0929134b",
                "md5": "7888ab650a08622d6f3148197b1363cd",
                "sha256": "7513648bfadfebeb98b555f051beff6d02cdeb471138443dfb9e0ab6886504d0"
            },
            "downloads": -1,
            "filename": "llama_index_readers_pdf_table-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7888ab650a08622d6f3148197b1363cd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 15598,
            "upload_time": "2025-07-30T20:53:46",
            "upload_time_iso_8601": "2025-07-30T20:53:46.828177Z",
            "url": "https://files.pythonhosted.org/packages/3e/05/bb3dfbb2d54b38deb146c4cafd045059412f8870c46eb60fad0f0929134b/llama_index_readers_pdf_table-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-30 20:53:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-pdf-table"
}
        
Elapsed time: 0.92985s