# Python PDF libraries

Python PDF libraries read, edit, and extract content from PDF files. A PDF stores text as characters placed at positions on a page, with no record of paragraphs or tables. These libraries pull text and tables out of invoices, reports, and research papers for search indexes and AI pipelines.

## Popularity

| Library | Monthly downloads | Stars | Last release | License |
| --- | --- | --- | --- | --- |
| [pypdf](#pypdf) | 126.0M | 10.3K | Nov 2026 | BSD-3-Clause |
| [PyMuPDF](#pymupdf) | 83.2M | 11.1K | Nov 2026 | AGPL-3.0 |
| [pypdfium2](#pypdfium2) | 61.9M | 857 | Nov 2026 | BSD-3-Clause |
| [pdfminer.six](#pdfminer-six) | 53.2M | 7.0K | Jan 2026 | MIT |
| [pdfplumber](#pdfplumber) | 40.7M | 10.9K | Jun 2026 | MIT |
| [docling](#docling) | 2.9M | 70.3K | Nov 2026 | MIT |
| [camelot](#camelot) | 721.6K | 3.8K | Jun 2026 | MIT |
| [liteparse](#liteparse) | 360.4K | 13.0K | Nov 2026 | Apache-2.0 |

Downloads: PyPI, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

[pypdf](#pypdf) has the most installs, while [docling](#docling) has the most GitHub stars.

## Capabilities

| Library | Extracts tables as rows | OCR for scanned pages | Retains layout and coordinates | Extracts images | Output formats |
| --- | --- | --- | --- | --- | --- |
| [pypdf](#pypdf) | Unsupported | Unsupported | Built-in | Via plugin | Text, PDF |
| [PyMuPDF](#pymupdf) | Built-in | Via plugin | Built-in | Built-in | JSON |
| [pypdfium2](#pypdfium2) | Unsupported | Unsupported | Built-in | Built-in | PDF |
| [pdfminer.six](#pdfminer-six) | Unsupported | Unsupported | Built-in | Via plugin | HTML, Text, XML |
| [pdfplumber](#pdfplumber) | Built-in | Unsupported | Built-in | Built-in | JSON, CSV, Text |
| [docling](#docling) | Built-in | Via plugin | Built-in | Built-in | Markdown |
| [camelot](#camelot) | Built-in | Via plugin | Built-in |  | Markdown, JSON |
| [liteparse](#liteparse) | Via plugin | Via plugin | Built-in | Built-in | Markdown, JSON |

## Libraries

### pypdf

[GitHub](https://github.com/py-pdf/pypdf) · [PyPI](https://pypi.org/project/pypdf/) · [Docs](https://pypdf.readthedocs.io/en/latest/)

pypdf is a PDF library written entirely in Python. Installing it needs no compiler or system packages. `PdfReader` opens a file, and calling `extract_text` on one of its pages returns that page's text. The same package splits, merges, crops, and rotates pages, reads metadata, and adds or removes passwords. Files encrypted with AES need the optional `pypdf[crypto]` extra.

- Downloads / mo: 126.0M
- Stars: 10.3K
- Last release: 7.0.0, Nov 2026
- License: BSD-3-Clause
- Capabilities: [From the pypdf docs](https://pypdf.readthedocs.io/en/latest/user/extract-text.html)

**Strengths**

- **Text and metadata in one call.** PdfReader gives each page's text and the document's title, author, and dates.
- **Reads form values.** Returns what was typed into fillable PDF forms.
- **Pure Python install.** pip install works anywhere, with no compiler or system packages.

**Watch out for**

- **Slower than PyMuPDF.** Extracts text more slowly and keeps little of the page layout.
- **No text from scanned pages.** Scanned pages need OCR software, such as Tesseract, first.

```sh
pip install pypdf
```

**run-llama/llama_index** (52.9K stars)

[run-llama/llama_index](https://github.com/run-llama/llama_index) extracts text from each page of a PDF with pypdf and returns one document per page or one for the whole file.

```python
def load_data(
    self,
    file: Union[Path, PurePosixPath],
    extra_info: Optional[Dict] = None,
    fs: Optional[AbstractFileSystem] = None,
) -> List[Document]:
    """Parse file."""
    # ...

    with fs.open(str(file), "rb") as fp:
        stream = fp if is_default_fs(fs) else io.BytesIO(fp.read())

        pdf = pypdf.PdfReader(stream)

        num_pages = len(pdf.pages)

        docs = []

        if self.return_full_document:
            metadata = {"file_name": file.name}
            # ...

            text = "\n".join(
                pdf.pages[page].extract_text() for page in range(num_pages)
            )

            docs.append(Document(text=text, metadata=metadata))

        else:
            for page in range(num_pages):
                page_text = pdf.pages[page].extract_text()
                page_label = pdf.page_labels[page]

                metadata = {"page_label": page_label, "file_name": file.name}
                # ...

                docs.append(Document(text=page_text, metadata=metadata))

        return docs
```

[base.py · load_data()](https://github.com/run-llama/llama_index/blob/fe107aab65e46d1d07c80663182691970417bbd9/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/docs/base.py#L40-L100) · pushed Nov 2026 · [More projects using pypdf →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pypdf%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**balapriyac/data-science-tutorials** (648 stars)

[balapriyac/data-science-tutorials](https://github.com/balapriyac/data-science-tutorials) extracts text from every page with PdfReader and labels each page's text with its page number.

```python
def extract_text_pypdf(pdf_path: Path) -> str:
    """Fallback text extraction using pypdf."""
    reader = PdfReader(pdf_path)
    parts  = []
    for i, page in enumerate(reader.pages):
        text = page.extract_text() or ""
        if text.strip():
            parts.append(f"--- Page {i + 1} ---\n{text}")
    return "\n\n".join(parts)
```

[pdf_extractor.py · extract_text_pypdf()](https://github.com/balapriyac/data-science-tutorials/blob/d5d3c7a42814d67bb8c2f1cb95a8e443721d64ff/useful-python-scripts-pdf-tasks/pdf_extractor.py#L31-L39) · pushed Nov 2026 · [More projects using pypdf →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pypdf%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from pypdf import PdfReader

reader = PdfReader("example.pdf")
number_of_pages = len(reader.pages)
page = reader.pages[0]
text = page.extract_text()
```

From [the README](https://github.com/py-pdf/pypdf/blob/main/README.md)

### PyMuPDF

[GitHub](https://github.com/pymupdf/PyMuPDF) · [PyPI](https://pypi.org/project/pymupdf/) · [Docs](https://pymupdf.readthedocs.io/?utm_source=github&utm_medium=referral&utm_campaign=pymupdf_github&utm_content=about&utm_term=docs)

PyMuPDF is the Python binding for MuPDF, a PDF rendering engine written in C. `pymupdf.open` loads a document, and each page's `get_text` method returns its text, or, with the `"dict"` option, every block and line with its font, color, and position. The same library renders pages to images, redacts, merges, and splits documents, and exports Markdown or JSON for LLM pipelines. Compared with [pypdf](#pypdf), PyMuPDF keeps word positions and also opens XPS, EPUB, and image files.

- Downloads / mo: 83.2M
- Stars: 11.1K
- Last release: 2.1, Nov 2026
- License: AGPL-3.0
- Runs on: ONNX Runtime
- Capabilities: [From the PyMuPDF docs](https://github.com/pymupdf/PyMuPDF/blob/main/docs/page.rst)

**Strengths**

- **Text with positions.** Returns each word with its coordinates, plus images and page renders.
- **Finds tables too.** page.find_tables() returns each table's rows without a second library.
- **Fast on large files.** About 0.1s per document in the py-pdf benchmark.

**Watch out for**

- **OCR engine installed separately.** Scanned pages need an OCR engine, either RapidOCR from pip or Tesseract as a system program. The README recommends RapidOCR.
- **Source build without a wheel.** On a platform with no prebuilt wheel, pip compiles the package, which needs a C and C++ toolchain.
- **Text can come out of order.** Default output follows file order, not always reading order.

```sh
pip install pymupdf
```

**eidolon-ai/eidolon** (493 stars)

[eidolon-ai/eidolon](https://github.com/eidolon-ai/eidolon) extracts the text of each PDF page with PyMuPDF and returns one document per page.

```python
def parse(self, blob: DataBlob) -> Iterable[Document]:
    if isinstance(blob.data, bytes):
        pdf_reader = pymupdf.open(stream=blob.data)
    elif not blob.data and blob.path:
        pdf_reader = pymupdf.open(blob.path)
    else:
        with blob.as_bytes() as data:
            pdf_reader = pymupdf.open(stream=data.read())
    if self.password:
        pdf_reader.authenticate(self.password)
    yield from [
        Document(
            page_content=page.get_text(),
            metadata={"source": blob.path, "page": page_number, "mime_type": blob.mimetype},
        )
        for page_number, page in enumerate(pdf_reader.pages())
    ]
```

[pdf_parsers.py · parse()](https://github.com/eidolon-ai/eidolon/blob/f38dba19b3b9f0a677e66063337f17c0511b40a4/sdk/eidolon_ai_sdk/agent/doc_manager/parsers/pdf_parsers.py#L67-L83) · pushed May 2026 · [More projects using PyMuPDF →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pymupdf%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**langchain-ai/langchain-community** (285 stars)

[langchain-ai/langchain-community](https://github.com/langchain-ai/langchain-community) finds tables on a PDF page with PyMuPDF's find_tables and returns them as Markdown, HTML or CSV.

```python
def _extract_tables_from_page(self, page: pymupdf.Page) -> str:
    # ...
    if self.extract_tables is None:
        return ""
    import pymupdf

    tables_list = list(
        pymupdf.table.find_tables(page, **(self.extract_tables_settings or {}))
    )
    if tables_list:
        if self.extract_tables == "markdown":
            return _JOIN_TABLES.join([table.to_markdown() for table in tables_list])
        elif self.extract_tables == "html":
            # ...
        elif self.extract_tables == "csv":
            return _JOIN_TABLES.join(
                [
                    table.to_pandas().to_csv(
                        header=False,
                        index=False,
                    )
                    for table in tables_list
                ]
            )
        else:
            raise ValueError(
                f"extract_tables {self.extract_tables} not implemented"
            )
    return ""
```

[pdf.py · _extract_tables_from_page()](https://github.com/langchain-ai/langchain-community/blob/f425a3ed1933173fb3694b81359d1519c4f82d36/libs/community/langchain_community/document_loaders/parsers/pdf.py#L1130-L1174) · pushed Jun 2026 · [More projects using PyMuPDF →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pymupdf%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
import pymupdf

doc = pymupdf.open("document.pdf")
for page in doc:
    print(page.get_text())
```

From [the README](https://github.com/pymupdf/PyMuPDF/blob/main/README.md)

### pypdfium2

[GitHub](https://github.com/pypdfium2-team/pypdfium2) · [PyPI](https://pypi.org/project/pypdfium2/) · [Docs](https://pypdfium2.readthedocs.io/)

pypdfium2 is a Python binding to PDFium, an open source library for rendering, inspecting, and editing PDFs. Prebuilt wheels for most platforms bundle PDFium itself. A page's `get_textpage` method loads its text layer: `get_text_bounded` then returns the text inside a rectangle, such as one field on an invoice, and `search` finds a string on the page. `render` turns a page into a bitmap that converts to a Pillow image or a NumPy array.

- Downloads / mo: 61.9M
- Stars: 857
- Last release: 5.15.1, Nov 2026
- License: BSD-3-Clause
- Capabilities: [From the pypdfium2 docs](https://pypdfium2-team.github.io/pypdfium2/_modules/pypdfium2/_helpers/textpage.html)

**Strengths**

- **Prebuilt binaries.** Wheels include PDFium for most platforms, so no compiler is needed.
- **Fastest plain text.** Ranked first in the py-pdf benchmark, at about 0.1s per document.
- **Reads one area of a page.** get_text_bounded() returns only the text inside a box, such as one invoice field.

**Watch out for**

- **Loses column layout.** Output doesn't keep the spacing that lines up columns.
- **System PDFium elsewhere.** On a platform without a prebuilt wheel, setup looks for a system copy of PDFium or builds PDFium from source.

```sh
pip install pypdfium2
```

**invoice-x/invoice2data** (2.2K stars)

[invoice-x/invoice2data](https://github.com/invoice-x/invoice2data) extracts text from a page range with PDFium's get_text_bounded, or from a cropped region of each page.

```python
def to_text(
    path: str,
    area_details: dict[str, Any] | None = None,
    pages: tuple[int, int] | None = None,
    **kwargs: Any,
) -> str:
    # ...
    import pypdfium2

    document = pypdfium2.PdfDocument(path)
    try:
        if area_details is not None:
            extracted_pages = _crop_pages(document, area_details)
        else:
            first, last = pages or (1, len(document))
            extracted_pages = [
                document[index].get_textpage().get_text_bounded()
                for index in range(first - 1, min(last, len(document)))
            ]
    finally:
        document.close()
    logger.debug("Text extraction made with pypdfium2")
    return _post_process("\n".join(extracted_pages))
```

[pdfium.py · to_text()](https://github.com/invoice-x/invoice2data/blob/182f21954613f85a7a41ed6340a79844498ef503/src/invoice2data/input/pdfium.py#L35-L70) · pushed Nov 2026 · [More projects using pypdfium2 →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pypdfium2%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**freedmand/semantra-python** (2.7K stars)

[freedmand/semantra-python](https://github.com/freedmand/semantra-python) extracts each page's text through PDFium's text page API and records page sizes and character offsets for later lookup.

```python
def get_pdf_content(md5, filename, semantra_dir, force, silent):
    converted_txt = os.path.join(semantra_dir, get_converted_pdf_txt_filename(md5))
    position_index = os.path.join(semantra_dir, get_pdf_positions_filename(md5))

    pdf = pdfium.PdfDocument(filename)
    n_pages = len(pdf)

    if force or not os.path.exists(converted_txt) or not os.path.exists(position_index):
        positions = []
        position = 0
        # newline="" ensures pdfium's \r is preserved
        with open(
            converted_txt, "w", newline="", encoding="utf-8", errors="ignore"
        ) as f:
            for page_index in tqdm(
                range(n_pages),
                desc="Extracting PDF contents",
                leave=False,
                disable=silent,
            ):
                page = pdf[page_index]
                page_width, page_height = page.get_size()
                textpage = page.get_textpage()
                pagetext = textpage.get_text_range()

                # ...
                position += f.write(pagetext)
                position += f.write(LINE_FEED)
        # ...
        return PDFContent(rawtext, filename, positions)
    # ...
```

[pdf.py · get_pdf_content()](https://github.com/freedmand/semantra-python/blob/f1f5acbc19909f619a7f11dcbf99deed2b86fd91/src/semantra/pdf.py#L49-L98) · pushed Aug 2024 · [More projects using pypdfium2 →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pypdfium2%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
import pypdfium2 as pdfium

pdf = pdfium.PdfDocument("./path/to/document.pdf")
page = pdf[0]  # load a page

# Load a text page helper
textpage = page.get_textpage()

# Extract text from the whole page
text_all = textpage.get_text_bounded()
```

From [the README](https://github.com/pypdfium2-team/pypdfium2/blob/de3653ad0b72ef2f960e65cc098602ef71d23e23/README.md)

### pdfminer.six

[GitHub](https://github.com/pdfminer/pdfminer.six) · [PyPI](https://pypi.org/project/pdfminer.six/) · [Docs](https://pdfminersix.readthedocs.io)

pdfminer.six is a community-maintained fork of PDFMiner, written entirely in Python, that reads text directly from the instructions inside a PDF file. `extract_text` from `pdfminer.high_level` returns a file's text in one call, and the layout analysis underneath reports the exact position, font, and color of each piece of text. Output formats include plain text, HTML, and hOCR, an OCR layout format, and the parser handles Chinese, Japanese, and Korean, including vertical writing. [pdfplumber](#pdfplumber) builds its table extraction on this library.

- Downloads / mo: 53.2M
- Stars: 7.0K
- Last release: 20260107, Jan 2026
- License: MIT
- Capabilities: [From the pdfminer.six docs](https://pdfminersix.readthedocs.io/en/latest/topic/converting_pdf_to_text.html)

**Strengths**

- **Every character's position.** Gives the position of each character and text box, for custom layout code.
- **Reads Chinese, Japanese, and Korean.** Handles CJK text, including vertical writing.
- **Exports HTML.** Writes pages as text, HTML, or hOCR, an OCR layout format.

**Watch out for**

- **More code to write.** Joining characters into lines, columns, and tables takes custom code.
- **Slow on large files.** About 3.5s per document in the py-pdf benchmark, against 0.1s for PyMuPDF.
- **Images need an extra.** Extracting embedded images needs the `pdfminer.six[image]` extra.

```sh
pip install pdfminer.six
```

**saulpw/aipl** (120 stars)

[saulpw/aipl](https://github.com/saulpw/aipl) extracts text from PDF bytes held in memory with pdfminer.six's extract_text.

```python
@defop('pdf-extract', 0, 0)
def op_pdf_extract(aipl, pdfdata:bytes) -> str:
    'Extract contents of pdf to value.'
    from pdfminer.high_level import extract_text
    from io import BytesIO
    s = BytesIO(pdfdata)
    return extract_text(s)
```

[pdf.py · op_pdf_extract()](https://github.com/saulpw/aipl/blob/693dae4fbdb1aaeb743d06551a3e0431e659dd1a/aipl/ops/pdf.py#L4-L10) · pushed May 2026 · [More projects using pdfminer.six →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pdfminer.six%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from pdfminer.high_level import extract_text

text = extract_text("example.pdf")
print(text)
```

From [the README](https://github.com/pdfminer/pdfminer.six/blob/a18de2a9c479b4c847538500017b449ddaec177e/README.md)

### pdfplumber

[GitHub](https://github.com/jsvine/pdfplumber) · [PyPI](https://pypi.org/project/pdfplumber/)

pdfplumber opens a PDF and reports every character, line, and rectangle on each page with its position. `extract_tables` returns each table on a page as rows of cells, and `crop` limits any call to one area, such as the transaction list on a bank statement. `to_image` draws what the library found onto a picture of the page, which helps when tuning the table settings. The library is built on [pdfminer.six](#pdfminer-six).

- Downloads / mo: 40.7M
- Stars: 10.9K
- Last release: 0.11.10, Jun 2026
- License: MIT
- Capabilities: [From the pdfplumber docs](https://pypi.org/project/pdfplumber/)

**Strengths**

- **Tables as rows.** extract_tables() returns each table as a list of rows.
- **Reads one area of a page.** Crop to a box to read one section, such as a statement's transactions.
- **Shows what it found.** Draws the detected text, lines, and tables on a page image for debugging.

**Watch out for**

- **Merges two-column text.** Crop each column first, or lines from both columns run together.
- **No OCR for scans.** Reads the text layer of machine-generated PDFs, so scanned pages need OCR first.
- **Slowest at plain text.** About 5.6s per document, the slowest in the py-pdf benchmark.

```sh
pip install pdfplumber
```

**balapriyac/data-science-tutorials** (648 stars)

[balapriyac/data-science-tutorials](https://github.com/balapriyac/data-science-tutorials) extracts every table in a PDF with pdfplumber's extract_tables and turns each one into a pandas DataFrame.

```python
def extract_tables(pdf_path: Path) -> list[dict]:
    """Extract all tables from a PDF. Returns list of {page, table_index, df}."""
    results = []

    table_settings = {
        "vertical_strategy":   "lines",
        "horizontal_strategy": "lines",
        "snap_tolerance":      3,
    }

    with pdfplumber.open(pdf_path) as pdf:
        for page_num, page in enumerate(pdf.pages, 1):
            # Try structured line-based detection first
            tables = page.extract_tables(table_settings)
            if not tables:
                # Fall back to text-based detection
                tables = page.extract_tables()

            for t_idx, table in enumerate(tables):
                if not table or len(table) < 2:
                    continue
                # ...

                df = pd.DataFrame(rows, columns=header)
                results.append({
                    "page":        page_num,
                    "table_index": t_idx + 1,
                    "df":          df,
                })

    return results
```

[pdf_extractor.py · extract_tables()](https://github.com/balapriyac/data-science-tutorials/blob/d5d3c7a42814d67bb8c2f1cb95a8e443721d64ff/useful-python-scripts-pdf-tasks/pdf_extractor.py#L59-L101) · pushed Nov 2026 · [More projects using pdfplumber →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pdfplumber%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**langchain-ai/langchain-community** (285 stars)

[langchain-ai/langchain-community](https://github.com/langchain-ai/langchain-community) extracts text from each PDF page with pdfplumber and attaches page numbers and file metadata.

```python
def lazy_parse(self, blob: Blob) -> Iterator[Document]:
    """Lazily parse the blob."""
    import pdfplumber

    with blob.as_bytes_io() as file_path:
        doc = pdfplumber.open(file_path)  # open document

        yield from [
            Document(
                page_content=self._process_page_content(page)
                + "\n"
                + self._extract_images_from_page(page),
                metadata=dict(
                    {
                        "source": blob.source,
                        "file_path": blob.source,
                        "page": page.page_number - 1,
                        "total_pages": len(doc.pages),
                    },
                    **{
                        k: doc.metadata[k]
                        for k in doc.metadata
                        if type(doc.metadata[k]) in [str, int]
                    },
                ),
            )
            for page in doc.pages
        ]
```

[pdf.py · lazy_parse()](https://github.com/langchain-ai/langchain-community/blob/f425a3ed1933173fb3694b81359d1519c4f82d36/libs/community/langchain_community/document_loaders/parsers/pdf.py#L1419-L1446) · pushed Jun 2026 · [More projects using pdfplumber →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pdfplumber%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
import pdfplumber

with pdfplumber.open("path/to/file.pdf") as pdf:
    first_page = pdf.pages[0]
    print(first_page.chars[0])
```

From [the README](https://github.com/jsvine/pdfplumber/blob/4c64b92d5caccd71c645e98e0fabb0c4dba7ff45/README.md)

### docling

[GitHub](https://github.com/docling-project/docling) · [PyPI](https://pypi.org/project/docling/) · [Docs](https://docling-project.github.io/docling)

Docling converts PDFs, Office files, HTML, images, audio, and other formats into one document model, `DoclingDocument`, that records page layout, reading order, tables, formulas, and code. `DocumentConverter` runs the conversion from Python. From a terminal, the `docling` command does the same. Exports include Markdown, HTML, and lossless JSON, and integrations exist for LangChain, LlamaIndex, Crew AI, and Haystack. Scanned pages go through OCR. Every step runs on the local machine.

- Downloads / mo: 2.9M
- Stars: 70.3K
- Last release: 2.149.0, Nov 2026
- License: MIT
- Capabilities: [From the docling docs](https://docling-project.github.io/docling/_generated/examples/export_tables/)

**Strengths**

- **Keeps reading order and tables.** Detects layout, tables, and formulas, and runs OCR on scanned pages.
- **Exports Markdown or JSON.** Writes Markdown, HTML, or JSON, ready to split into chunks for an LLM.

**Watch out for**

- **GPU speeds up models.** The layout and table models run on the CPU unless the accelerator options select a CUDA GPU.
- **Slower than plain extractors.** Runs models on every page, so it takes longer than pypdf.
- **Large install.** The layout and table models come with the package, which can exceed a size-limited serverless function.

```sh
pip install docling
```

**run-llama/llama_index** (52.9K stars)

[run-llama/llama_index](https://github.com/run-llama/llama_index) converts PDFs with Docling's DocumentConverter and exports each one as Markdown or JSON text.

```python
def lazy_load_data(
    self,
    file_path: str | Path | Iterable[str] | Iterable[Path],
    extra_info: dict | None = None,
    fs: Optional[AbstractFileSystem] = None,
) -> Iterable[LIDocument]:
    # ...
    file_paths = (
        file_path
        if isinstance(file_path, Iterable) and not isinstance(file_path, str)
        else [file_path]
    )

    for source in file_paths:
        dl_doc = self.doc_converter.convert(source).document
        text: str
        if self.export_type == self.ExportType.MARKDOWN:
            text = dl_doc.export_to_markdown(**self.md_export_kwargs)
        elif self.export_type == self.ExportType.JSON:
            text = json.dumps(dl_doc.export_to_dict())
        else:
            raise ValueError(f"Unexpected export type: {self.export_type}")
        li_doc = LIDocument(
            doc_id=self.id_func(doc=dl_doc, file_path=source),
            text=text,
        )
        li_doc.metadata = extra_info or {}
        yield li_doc
```

[base.py · lazy_load_data()](https://github.com/run-llama/llama_index/blob/fe107aab65e46d1d07c80663182691970417bbd9/llama-index-integrations/readers/llama-index-readers-docling/llama_index/readers/docling/base.py#L46-L83) · pushed Nov 2026 · [More projects using docling →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20docling%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**8treenet/goraven** (846 stars)

[8treenet/goraven](https://github.com/8treenet/goraven) converts a document with Docling and exports it as Markdown or plain text, trimmed to a character limit.

```python
def read_document(input_path: str, fmt: str, max_chars: int, pages_str: str | None) -> str:
    """Convert document via docling and extract content."""
    converter = build_converter()
    result = converter.convert(input_path)
    doc = result.document

    if fmt == "markdown":
        content = doc.export_to_markdown()
    else:
        content = doc.export_to_text()

    # ...

    if max_chars > 0 and len(content) > max_chars:
        content = content[:max_chars] + f"\n\n... [truncated, total {len(content)} chars]"

    return content
```

[read.py · read_document()](https://github.com/8treenet/goraven/blob/a883ebdd1bba1b25bece6ccabec09ea060dd0d90/scripts/docling/read.py#L91-L122) · pushed Nov 2026 · [More projects using docling →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20docling%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from docling.document_converter import DocumentConverter

source = "https://arxiv.org/pdf/2408.09869"  # a document via a local path or URL
converter = DocumentConverter()
result = converter.convert(source)
print(result.document.export_to_markdown())  # output: "## Docling Technical Report[...]"
```

From [the README](https://github.com/docling-project/docling/blob/main/README.md)

### camelot

[GitHub](https://github.com/camelot-dev/camelot) · [PyPI](https://pypi.org/project/camelot-py/) · [Docs](https://camelot-py.readthedocs.io)

Camelot extracts tables from PDFs and returns each one as a pandas DataFrame. `camelot.read_pdf` takes a file path, URL, or bytes and picks a parser through its `flavor` argument: `lattice` follows ruled lines, `stream` uses the whitespace between columns, and `auto` chooses one. Each table comes with accuracy and whitespace scores and exports to CSV, JSON, Excel, HTML, Markdown, or SQLite. The default install bundles PDFium, so no system packages are needed.

- Downloads / mo: 721.6K
- Stars: 3.8K
- Last release: 2.0.0, Jun 2026
- License: MIT
- Capabilities: [From the camelot docs](https://camelot-py.readthedocs.io/en/latest/api.html)

**Strengths**

- **Tables as DataFrames.** Each table comes back as a pandas DataFrame and exports to CSV or Excel.
- **Ruled and borderless tables.** Use lattice for tables with lines and stream for tables without them.

**Watch out for**

- **Struggles with merged cells.** Merged or multi-line cells don't fit a rectangular table.
- **Scans need extras.** The built-in parsers need selectable text. Scanned PDFs need the `camelot-py[ml,ocr]` extras and `flavor="ml"`, a neural table model with OCR.

```sh
pip install camelot-py
```

**run-llama/llama_index** (52.9K stars)

[run-llama/llama_index](https://github.com/run-llama/llama_index) extracts tables from chosen PDF pages with camelot.read_pdf and turns each table into a text document.

```python
def load_data(
    self, file: Path, pages: str = "1", extra_info: Optional[Dict] = None
) -> List[Document]:
    # ...
    import camelot

    results = []
    tables = camelot.read_pdf(filepath=str(file), pages=pages)

    for table in tables:
        document = self._dataframe_to_document(df=table.df, extra_info=extra_info)
        results.append(document)

    return results
```

[base.py · load_data()](https://github.com/run-llama/llama_index/blob/fe107aab65e46d1d07c80663182691970417bbd9/llama-index-integrations/readers/llama-index-readers-pdf-table/llama_index/readers/pdf_table/base.py#L32-L56) · pushed Nov 2026 · [More projects using camelot →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20camelot-py%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**chapmanjacobd/library** (486 stars)

[chapmanjacobd/library](https://github.com/chapmanjacobd/library) reads every table in a PDF with camelot.read_pdf and cleans each DataFrame's rows and column names.

```python
def _read_pdf_tables(path, start_row, end_row):
    import pandas as pd
    import camelot

    if path.startswith(("http://", "https://", "ftp://")) and " " in path:
        path = web.url_encode(path)

    dataframes = []
    for table in camelot.read_pdf(path, pages="all", suppress_stdout=False):  # type: ignore
        dataframe = table.df
        if start_row:
            dataframe = dataframe.iloc[start_row:]
        if end_row:
            dataframe = dataframe.iloc[:end_row]
        if isinstance(dataframe.columns, pd.RangeIndex):
            dataframe.columns = dataframe.iloc[0]
            dataframe = dataframe.iloc[1:]
        dataframe.columns = [" ".join(column.replace("\n", "").split()) for column in dataframe.columns]
        dataframes.append(NDF(None, dataframe))
    return dataframes
```

[file_utils.py · _read_pdf_tables()](https://github.com/chapmanjacobd/library/blob/8d3b11a16a82a7ee539b6bee63d860221e4d6ae5/library/utils/file_utils.py#L394-L413) · pushed Nov 2026 · [More projects using camelot →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20camelot-py%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
import camelot
tables = camelot.read_pdf('foo.pdf')
tables
tables.export('foo.csv', f='csv', compress=True) # json, excel, html, markdown, sqlite
tables[0]
tables[0].parsing_report
tables[0].to_csv('foo.csv') # to_json, to_excel, to_html, to_markdown, to_sqlite
tables[0].df # get a pandas DataFrame!
```

From [the docs](https://github.com/camelot-dev/camelot/blob/40497a3caa35c26b237ea78abb7f5d3b153ffaa7/docs/index.rst)

### liteparse

[GitHub](https://github.com/run-llama/liteparse) · [PyPI](https://pypi.org/project/liteparse/) · [Docs](https://developers.llamaindex.ai/liteparse/)

LiteParse parses PDFs on the local machine into text with bounding boxes, using PDFium for the text layer and a bundled copy of Tesseract for scanned pages. The core is written in Rust, with bindings for Python, Node.js, and the browser through WebAssembly. Output comes as Markdown, JSON, or layout-preserving text, and the parser also renders page screenshots for LLM agents. Other OCR engines, such as EasyOCR or PaddleOCR, plug in over HTTP.

- Downloads / mo: 360.4K
- Stars: 13.0K
- Last release: 2.18.0, Nov 2026
- License: Apache-2.0
- Capabilities: [From the liteparse docs](https://developers.llamaindex.ai/liteparse/guides/extraction/index.md)

**Strengths**

- **Text with positions.** Returns text with bounding boxes, layout-kept text, or page screenshots.
- **Fast on large files.** Parses about two to five milliseconds per page.
- **OCR included.** Tesseract ships inside the package, so scanned pages work with no setup.

**Watch out for**

- **Flattens complex tables.** Tables with multi-row headers come out as aligned text, not rows.
- **Complex documents.** The README points dense tables, multi-column layouts, charts, handwriting, and scans to LlamaParse, the hosted parser from the same team.

```sh
pip install liteparse
```

**agent0ai/agent-zero** (19.8K stars)

[agent0ai/agent-zero](https://github.com/agent0ai/agent-zero) extracts text from a fetched document with LiteParse and raises an error when no text comes back.

```python
def _parse_in_process(self, document: FetchedDocument, config: dict) -> str:
    try:
        from liteparse import LiteParse
    except Exception as e:
        raise RuntimeError("LiteParse is not installed") from e

    parser = LiteParse(**self._liteparse_kwargs(config))
    with document.local_file() as file_path:
        result = parser.parse(file_path)

    text = getattr(result, "text", "") or ""
    if not text.strip():
        raise ValueError("LiteParse returned no text")
    return text
```

[liteparse.py · _parse_in_process()](https://github.com/agent0ai/agent-zero/blob/bc2d447dddf45e7b4007a1c728537caa6f4e3283/plugins/_document_query/helpers/parsers/liteparse.py#L53-L66) · pushed Nov 2026 · [More projects using liteparse →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20liteparse%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**feyninc/chonkie** (4.8K stars)

[feyninc/chonkie](https://github.com/feyninc/chonkie) extracts text from a document file with LiteParse and wraps it in a Document.

```python
def process(self, path: str | os.PathLike) -> Document:
    # ...
    p = Path(path)
    if not p.exists():
        raise FileNotFoundError(f"File not found: {path}")

    suffix = p.suffix.lower()
    if suffix not in self.SUPPORTED_TYPES:
        raise ValueError(
            f"Unsupported file type: {suffix}. Supported types: {sorted(self.SUPPORTED_TYPES)}"
        )

    logger.debug(f"Processing file with LiteParse: {path}")
    result = self.parser.parse(str(p))
    content = result.text if result and result.text is not None else ""

    logger.info(
        f"LiteParse processing complete: extracted {len(content)} characters from {path}"
    )

    doc = Document(content=content)
    self._set_source_filename(doc, path)
    return doc
```

[liteparse.py · process()](https://github.com/feyninc/chonkie/blob/96a82afb4bfbfdffa64481d5b44ccad9565baaa8/src/chonkie/chef/liteparse.py#L144-L174) · pushed Nov 2026 · [More projects using liteparse →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20liteparse%20for%20extracting%20text%20and%20tables%20from%20PDF%20files&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from liteparse import LiteParse

parser = LiteParse()
result = parser.parse("document.pdf")
print(result.text)
print(f"Source document pages: {result.total_pages}")

# Access structured data
for page in result.pages:
    print(f"Page {page.page_num}: {len(page.text_items)} text items")
```

From [the README](https://github.com/run-llama/liteparse/blob/bc1b995e99f8995a06a43b5305b89b275661e801/packages/python/README.md)

## FAQ

### What is the best Python library for extracting data from a PDF?

[PyMuPDF](#pymupdf) is the best first library to try: it returns text with word positions, finds tables, and renders pages, and it averaged 0.1s per document in the py-pdf benchmark. [pypdf](#pypdf) is the easiest install, [pdfplumber](#pdfplumber) and [camelot](#camelot) are stronger on tables, and [docling](#docling) turns whole documents into Markdown.

### What is the simplest way to extract text from a PDF in Python?

Open the file with [pypdf](#pypdf)'s PdfReader and call extract_text() on each page, after a plain pip install pypdf. [pdfminer.six](#pdfminer-six) does the same for a whole file with one call, extract_text("file.pdf"). Neither library reads scanned pages, which need OCR first.

### Which Python library reads scanned PDFs with OCR?

[liteparse](#liteparse) is the easiest, with Tesseract, an open-source OCR engine, bundled inside the package. [docling](#docling) runs OCR as part of its layout pipeline, and [PyMuPDF](#pymupdf) reads scanned pages once Tesseract is installed separately. [pypdf](#pypdf), [pdfminer.six](#pdfminer-six), [pdfplumber](#pdfplumber), and pypdfium2 return little or no text from a scanned page.

### Which Python library extracts tables from a PDF?

[camelot](#camelot) returns each table as a pandas DataFrame and exports it to CSV or Excel. [pdfplumber](#pdfplumber)'s extract_tables() returns each table as a list of rows, and [PyMuPDF](#pymupdf)'s page.find_tables() does the same without a second library. camelot needs selectable text, so a scanned table needs OCR first. See [Capabilities](#capabilities).

### Which Python library converts a PDF to Markdown?

[docling](#docling) converts a whole PDF to Markdown, HTML, or JSON with headings, reading order, and tables kept, ready to split into chunks for an LLM. [liteparse](#liteparse) also writes Markdown, and [camelot](#camelot) exports single tables to Markdown.

### Is pdfplumber better than PyMuPDF?

For tables and fine layout control, yes; for speed, no. [pdfplumber](#pdfplumber) crops a page to one area and draws what it detected for debugging, while [PyMuPDF](#pymupdf) averaged 0.1s per document against 5.6s for pdfplumber in the py-pdf benchmark. Both return text with positions.

### What is the difference between pypdf and PyMuPDF?

[PyMuPDF](#pymupdf) extracts text faster and keeps more of the layout, at 0.1s per document against 1.8s for [pypdf](#pypdf) in the py-pdf benchmark. pypdf is pure Python, so it installs with no compiler, and it uses the BSD-3-Clause license, while PyMuPDF uses AGPL-3.0.

## How this page was built

Data checked Nov 10, 2026.

Reproduce it with the Exa API:

```json
{
  "endpoint": "/search",
  "body": {
    "query": "open source Python libraries for extracting text and tables from PDF files",
    "numResults": 20,
    "type": "auto",
    "includeDomains": [
      "github.com"
    ]
  }
}
```

The other calls behind this page:

```
POST /search
Query: Python PDF extraction library package
Within: github.com
```

```
POST /contents
Reads: https://github.com/py-pdf/pypdf, https://pypdf.readthedocs.io/en/latest/, https://pypi.org/project/pypdf/
```

```
POST /answer
Query: Can the Python library pypdf (pypdf on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pypdf (pypdf on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pypdf (pypdf on PyPI) return text positions, bounding boxes, or reading order for PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pypdf (pypdf on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library pypdf (pypdf) return or write when extracting from PDFs? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses pypdf for extracting text and tables from PDF files, application code
Within: github.com
```

```
POST /search
Query: open source Python app whose code calls pypdf to pull text, tables, and images out of PDF files for a program to use
Within: github.com
```

```
POST /contents
Reads: https://github.com/linxuan-sys/opencode-skills-chinese/blob/9c21fafd4ab024dd6aab5d050f52baae6cc03217/pdf/scripts/fill_pdf_form_with_annotations.py
```

```
POST /contents
Reads: https://github.com/appautomaton/document-SKILLs/blob/48ee14dc3f65b95154e201d759f677d780d96f9e/pdf/scripts/flatten_form.py
```

```
POST /contents
Reads: https://github.com/pymupdf/PyMuPDF, https://pymupdf.readthedocs.io/?utm_source=github&utm_medium=referral&utm_campaign=pymupdf_github&utm_content=about&utm_term=docs, https://pypi.org/project/pymupdf/
```

```
POST /answer
Query: Can the Python library PyMuPDF (pymupdf on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library PyMuPDF (pymupdf on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library PyMuPDF (pymupdf on PyPI) return text positions, bounding boxes, or reading order for PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library PyMuPDF (pymupdf on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library PyMuPDF (pymupdf) return or write when extracting from PDFs? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses pymupdf for extracting text and tables from PDF files, application code
Within: github.com
```

```
POST /search
Query: open source Python app whose code calls pymupdf to pull text, tables, and images out of PDF files for a program to use
Within: github.com
```

```
POST /contents
Reads: https://github.com/interviewstreet/hiring-agent/blob/dc9c8dfdcfcce56021618bde72af3f2f67204da9/pymupdf_rag.py
```

```
POST /contents
Reads: https://github.com/eidolon-ai/eidolon/blob/f38dba19b3b9f0a677e66063337f17c0511b40a4/sdk/eidolon_ai_sdk/agent/doc_manager/parsers/pdf_parsers.py
```

```
POST /contents
Reads: https://github.com/pypdfium2-team/pypdfium2, https://pypdfium2.readthedocs.io/, https://pypi.org/project/pypdfium2/
```

```
POST /answer
Query: Can the Python library pypdfium2 (pypdfium2 on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pypdfium2 (pypdfium2 on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pypdfium2 (pypdfium2 on PyPI) return text positions, bounding boxes, or reading order for PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pypdfium2 (pypdfium2 on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library pypdfium2 (pypdfium2) return or write when extracting from PDFs? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses pypdfium2 for extracting text and tables from PDF files, application code
Within: github.com
```

```
POST /search
Query: open source Python app whose code calls pypdfium2 to pull text, tables, and images out of PDF files for a program to use
Within: github.com
```

```
POST /contents
Reads: https://github.com/docling-project/docling/blob/3df6c9318fc6d91fde424c90a28fc7d7e5f080dc/docling/backend/pypdfium2_backend.py
```

```
POST /contents
Reads: https://github.com/datalab-to/marker/blob/fc3c3ba277c15dcb20e8abef1d227d59cd8058d4/marker/providers/pdf.py
```

```
POST /contents
Reads: https://github.com/onyx-dot-app/onyx/blob/b8df217324a60909164a3a93e60748f6f8a0feb2/backend/onyx/file_processing/extract_file_text.py
```

```
POST /contents
Reads: https://github.com/Paper2Poster/Paper2Poster/blob/dcd7610cecfbc44d3e924b7ab21aa61af901462c/demo/app.py
```

```
POST /contents
Reads: https://github.com/NVIDIA/NeMo-Retriever/blob/02fbb5e2e06a020ebe7ddaa392ad4c964180da45/nemo_retriever/src/nemo_retriever/operators/extract/pdf/split.py
```

```
POST /contents
Reads: https://github.com/pdfminer/pdfminer.six, https://pdfminersix.readthedocs.io, https://pypi.org/project/pdfminer.six/
```

```
POST /answer
Query: Can the Python library pdfminer.six (pdfminer.six on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pdfminer.six (pdfminer.six on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pdfminer.six (pdfminer.six on PyPI) return text positions, bounding boxes, or reading order for PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pdfminer.six (pdfminer.six on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library pdfminer.six (pdfminer.six) return or write when extracting from PDFs? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses pdfminer.six for extracting text and tables from PDF files, application code
Within: github.com
```

```
POST /search
Query: open source Python app whose code calls pdfminer.six to pull text, tables, and images out of PDF files for a program to use
Within: github.com
```

```
POST /contents
Reads: https://github.com/jsvine/pdfplumber, https://pypi.org/project/pdfplumber/
```

```
POST /answer
Query: Can the Python library pdfplumber (pdfplumber on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pdfplumber (pdfplumber on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pdfplumber (pdfplumber on PyPI) return text positions, bounding boxes, or reading order for PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pdfplumber (pdfplumber on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library pdfplumber (pdfplumber) return or write when extracting from PDFs? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses pdfplumber for extracting text and tables from PDF files, application code
Within: github.com
```

```
POST /search
Query: open source Python app whose code calls pdfplumber to pull text, tables, and images out of PDF files for a program to use
Within: github.com
```

```
POST /contents
Reads: https://github.com/NVIDIA/GenerativeAIExamples/blob/0be681f3ca01137823e3263a777700ffea48942f/RAG/examples/advanced_rag/multimodal_rag/vectorstore/custom_powerpoint_parser.py
```

```
POST /contents
Reads: https://github.com/pipeshub-ai/pipeshub-ai/blob/2404031e0eee7c1b1488342c19f8348cb9e806b7/backend/python/app/modules/parsers/pdf/layout_pages.py
```

```
POST /contents
Reads: https://github.com/docling-project/docling, https://docling-project.github.io/docling, https://pypi.org/project/docling/
```

```
POST /answer
Query: Can the Python library docling (docling on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library docling (docling on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library docling (docling on PyPI) return text positions, bounding boxes, or reading order for PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library docling (docling on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library docling (docling) return or write when extracting from PDFs? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses docling for extracting text and tables from PDF files, application code
Within: github.com
```

```
POST /search
Query: open source Python app whose code calls docling to pull text, tables, and images out of PDF files for a program to use
Within: github.com
```

```
POST /contents
Reads: https://github.com/IlyaRice/RAG-Challenge-2/blob/bc1d11f91c68e7fb08a303b28531f64d5e710095/src/pdf_parsing.py
```

```
POST /contents
Reads: https://github.com/cocoindex-io/cocoindex/blob/57ea82a87bea41a515e987e387849139702cf1da/examples/pdf_embedding/main.py
```

```
POST /contents
Reads: https://github.com/camelot-dev/camelot, https://camelot-py.readthedocs.io, https://pypi.org/project/camelot-py/
```

```
POST /answer
Query: Can the Python library camelot (camelot-py on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library camelot (camelot-py on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library camelot (camelot-py on PyPI) return text positions, bounding boxes, or reading order for PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library camelot (camelot-py on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library camelot (camelot-py) return or write when extracting from PDFs? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses camelot-py for extracting text and tables from PDF files, application code
Within: github.com
```

```
POST /search
Query: open source Python app whose code calls camelot-py to pull text, tables, and images out of PDF files for a program to use
Within: github.com
```

```
POST /contents
Reads: https://github.com/genieincodebottle/parsemypdf/blob/6225465811795585d69b5b741e35504967a4d48b/pdf_parser_app.py
```

```
POST /contents
Reads: https://github.com/djay/covidthailand/blob/917c93ab7fc244bb315c307315bf78b425cbab03/utils_scraping.py
```

```
POST /contents
Reads: https://github.com/run-llama/liteparse, https://developers.llamaindex.ai/liteparse/, https://pypi.org/project/liteparse/
```

```
POST /answer
Query: Can the Python library liteparse (liteparse on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library liteparse (liteparse on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library liteparse (liteparse on PyPI) return text positions, bounding boxes, or reading order for PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library liteparse (liteparse on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library liteparse (liteparse) return or write when extracting from PDFs? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses liteparse for extracting text and tables from PDF files, application code
Within: github.com
```

```
POST /search
Query: open source Python app whose code calls liteparse to pull text, tables, and images out of PDF files for a program to use
Within: github.com
```

```
POST /contents
Reads: https://github.com/agent0ai/agent-zero/blob/bc2d447dddf45e7b4007a1c728537caa6f4e3283/plugins/_document_query/helpers/parsers/liteparse.py
```

```
POST /contents
Reads: https://github.com/Arindam200/awesome-ai-apps/blob/5d6bdb9507b8c672307a3897464500c1263bd575/rag_apps/liteparse_invoice_auditor/app.py
```

```
POST /contents
Reads: https://github.com/neuml/txtai/blob/ae898e69055da572577467ab37b312cde70bbe18/src/python/txtai/pipeline/data/filetohtml.py
```

```
POST /contents
Reads: https://github.com/feyninc/chonkie/blob/96a82afb4bfbfdffa64481d5b44ccad9565baaa8/src/chonkie/chef/liteparse.py
```

Docs: https://exa.ai/docs/reference/search
