{
  "id": "task_libraries:pdf/python",
  "path": "/exapedia/python-pdf-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python PDF libraries",
  "answer": [
    {
      "t": "text",
      "text": "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."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python PDF libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#pypdf",
                  "label": [
                    {
                      "t": "text",
                      "text": "pypdf"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F1"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F2"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F5"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F3"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pymupdf",
                  "label": [
                    {
                      "t": "text",
                      "text": "PyMuPDF"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F24"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F25"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F28"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F26"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pypdfium2",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F59"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F61"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F62"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pdfminer-six",
                  "label": [
                    {
                      "t": "text",
                      "text": "pdfminer.six"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F86"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F87"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F90"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F88"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pdfplumber",
                  "label": [
                    {
                      "t": "text",
                      "text": "pdfplumber"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F107"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F108"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F111"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F109"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#docling",
                  "label": [
                    {
                      "t": "text",
                      "text": "docling"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#camelot",
                  "label": [
                    {
                      "t": "text",
                      "text": "camelot"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#liteparse",
                  "label": [
                    {
                      "t": "text",
                      "text": "liteparse"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#pypdf",
          "label": [
            {
              "t": "text",
              "text": "pypdf"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most installs, while "
        },
        {
          "t": "link",
          "href": "#docling",
          "label": [
            {
              "t": "text",
              "text": "docling"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most GitHub stars."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Extracts tables as rows",
            "OCR for scanned pages",
            "Retains layout and coordinates",
            "Extracts images",
            "Output formats"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#pypdf",
                  "label": [
                    {
                      "t": "text",
                      "text": "pypdf"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F6"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F7"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F8"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F9"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F10"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pymupdf",
                  "label": [
                    {
                      "t": "text",
                      "text": "PyMuPDF"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F30"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F31"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F32"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F33"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F34"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pypdfium2",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F59"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pdfminer-six",
                  "label": [
                    {
                      "t": "text",
                      "text": "pdfminer.six"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F93"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F94"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F95"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pdfplumber",
                  "label": [
                    {
                      "t": "text",
                      "text": "pdfplumber"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F112"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F113"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F114"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F115"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F116"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#docling",
                  "label": [
                    {
                      "t": "text",
                      "text": "docling"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#camelot",
                  "label": [
                    {
                      "t": "text",
                      "text": "camelot"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              [],
              [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#liteparse",
                  "label": [
                    {
                      "t": "text",
                      "text": "liteparse"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "pypdf",
          "name": [
            {
              "t": "text",
              "text": "pypdf"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/py-pdf/pypdf"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pypdf/"
            },
            {
              "label": "Docs",
              "href": "https://pypdf.readthedocs.io/en/latest/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "pypdf is a PDF library written entirely in Python. Installing it needs no compiler or system packages. "
            },
            {
              "t": "code",
              "text": "PdfReader"
            },
            {
              "t": "text",
              "text": " opens a file, and calling "
            },
            {
              "t": "code",
              "text": "extract_text"
            },
            {
              "t": "text",
              "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 "
            },
            {
              "t": "code",
              "text": "pypdf[crypto]"
            },
            {
              "t": "text",
              "text": " extra."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F1"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F2"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F4"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F3"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypdf.readthedocs.io/en/latest/user/extract-text.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "pypdf"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F248"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F21"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F22"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/run-llama/llama_index",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F252"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "extracts text from each page of a PDF with pypdf and returns one document per page or one for the whole file."
                }
              ],
              "language": "python",
              "code": "def load_data(\n    self,\n    file: Union[Path, PurePosixPath],\n    extra_info: Optional[Dict] = None,\n    fs: Optional[AbstractFileSystem] = None,\n) -> List[Document]:\n    \"\"\"Parse file.\"\"\"\n    # ...\n\n    with fs.open(str(file), \"rb\") as fp:\n        stream = fp if is_default_fs(fs) else io.BytesIO(fp.read())\n\n        pdf = pypdf.PdfReader(stream)\n\n        num_pages = len(pdf.pages)\n\n        docs = []\n\n        if self.return_full_document:\n            metadata = {\"file_name\": file.name}\n            # ...\n\n            text = \"\\n\".join(\n                pdf.pages[page].extract_text() for page in range(num_pages)\n            )\n\n            docs.append(Document(text=text, metadata=metadata))\n\n        else:\n            for page in range(num_pages):\n                page_text = pdf.pages[page].extract_text()\n                page_label = pdf.page_labels[page]\n\n                metadata = {\"page_label\": page_label, \"file_name\": file.name}\n                # ...\n\n                docs.append(Document(text=page_text, metadata=metadata))\n\n        return docs",
              "prov": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F255"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "pypdf"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/balapriyac/data-science-tutorials",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F257"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "extracts text from every page with PdfReader and labels each page's text with its page number."
                }
              ],
              "language": "python",
              "code": "def extract_text_pypdf(pdf_path: Path) -> str:\n    \"\"\"Fallback text extraction using pypdf.\"\"\"\n    reader = PdfReader(pdf_path)\n    parts  = []\n    for i, page in enumerate(reader.pages):\n        text = page.extract_text() or \"\"\n        if text.strip():\n            parts.append(f\"--- Page {i + 1} ---\\n{text}\")\n    return \"\\n\\n\".join(parts)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/balapriyac/data-science-tutorials/blob/d5d3c7a42814d67bb8c2f1cb95a8e443721d64ff/useful-python-scripts-pdf-tasks/pdf_extractor.py#L31-L39",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F260"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "pypdf"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from pypdf import PdfReader\n\nreader = PdfReader(\"example.pdf\")\nnumber_of_pages = len(reader.pages)\npage = reader.pages[0]\ntext = page.extract_text()",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/py-pdf/pypdf/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F11"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pymupdf",
          "name": [
            {
              "t": "text",
              "text": "PyMuPDF"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pymupdf/PyMuPDF"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pymupdf/"
            },
            {
              "label": "Docs",
              "href": "https://pymupdf.readthedocs.io/?utm_source=github&utm_medium=referral&utm_campaign=pymupdf_github&utm_content=about&utm_term=docs"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "PyMuPDF is the Python binding for MuPDF, a PDF rendering engine written in C. "
            },
            {
              "t": "code",
              "text": "pymupdf.open"
            },
            {
              "t": "text",
              "text": " loads a document, and each page's "
            },
            {
              "t": "code",
              "text": "get_text"
            },
            {
              "t": "text",
              "text": " method returns its text, or, with the "
            },
            {
              "t": "code",
              "text": "\"dict\""
            },
            {
              "t": "text",
              "text": " 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 "
            },
            {
              "t": "link",
              "href": "#pypdf",
              "label": [
                {
                  "t": "text",
                  "text": "pypdf"
                }
              ]
            },
            {
              "t": "text",
              "text": ", PyMuPDF keeps word positions and also opens XPS, EPUB, and image files."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F24"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F25"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F27"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F26"
                }
              ]
            },
            {
              "label": "Runs on",
              "value": [
                {
                  "t": "fact",
                  "fact": "F29"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/pymupdf/PyMuPDF/blob/main/docs/page.rst",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "PyMuPDF"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F261"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F262"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "OCR engine installed separately"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Scanned pages need an OCR engine, either RapidOCR from pip or Tesseract as a system program. The README recommends RapidOCR."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Source build without a wheel"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "On a platform with no prebuilt wheel, pip compiles the package, which needs a C and C++ toolchain."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/eidolon-ai/eidolon",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F268"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "extracts the text of each PDF page with PyMuPDF and returns one document per page."
                }
              ],
              "language": "python",
              "code": "def parse(self, blob: DataBlob) -> Iterable[Document]:\n    if isinstance(blob.data, bytes):\n        pdf_reader = pymupdf.open(stream=blob.data)\n    elif not blob.data and blob.path:\n        pdf_reader = pymupdf.open(blob.path)\n    else:\n        with blob.as_bytes() as data:\n            pdf_reader = pymupdf.open(stream=data.read())\n    if self.password:\n        pdf_reader.authenticate(self.password)\n    yield from [\n        Document(\n            page_content=page.get_text(),\n            metadata={\"source\": blob.path, \"page\": page_number, \"mime_type\": blob.mimetype},\n        )\n        for page_number, page in enumerate(pdf_reader.pages())\n    ]",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/eidolon-ai/eidolon/blob/f38dba19b3b9f0a677e66063337f17c0511b40a4/sdk/eidolon_ai_sdk/agent/doc_manager/parsers/pdf_parsers.py#L67-L83",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F271"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F270"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "PyMuPDF"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F273"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F274"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/langchain-ai/langchain-community",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F273"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "finds tables on a PDF page with PyMuPDF's find_tables and returns them as Markdown, HTML or CSV."
                }
              ],
              "language": "python",
              "code": "def _extract_tables_from_page(self, page: pymupdf.Page) -> str:\n    # ...\n    if self.extract_tables is None:\n        return \"\"\n    import pymupdf\n\n    tables_list = list(\n        pymupdf.table.find_tables(page, **(self.extract_tables_settings or {}))\n    )\n    if tables_list:\n        if self.extract_tables == \"markdown\":\n            return _JOIN_TABLES.join([table.to_markdown() for table in tables_list])\n        elif self.extract_tables == \"html\":\n            # ...\n        elif self.extract_tables == \"csv\":\n            return _JOIN_TABLES.join(\n                [\n                    table.to_pandas().to_csv(\n                        header=False,\n                        index=False,\n                    )\n                    for table in tables_list\n                ]\n            )\n        else:\n            raise ValueError(\n                f\"extract_tables {self.extract_tables} not implemented\"\n            )\n    return \"\"",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/langchain-ai/langchain-community/blob/f425a3ed1933173fb3694b81359d1519c4f82d36/libs/community/langchain_community/document_loaders/parsers/pdf.py#L1130-L1174",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F276"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F275"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "PyMuPDF"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import pymupdf\n\ndoc = pymupdf.open(\"document.pdf\")\nfor page in doc:\n    print(page.get_text())",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/pymupdf/PyMuPDF/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F36"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pypdfium2",
          "name": [
            {
              "t": "fact",
              "fact": "F59"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pypdfium2-team/pypdfium2"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pypdfium2/"
            },
            {
              "label": "Docs",
              "href": "https://pypdfium2.readthedocs.io/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F59"
            },
            {
              "t": "text",
              "text": " 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 "
            },
            {
              "t": "code",
              "text": "get_textpage"
            },
            {
              "t": "text",
              "text": " method loads its text layer: "
            },
            {
              "t": "code",
              "text": "get_text_bounded"
            },
            {
              "t": "text",
              "text": " then returns the text inside a rectangle, such as one field on an invoice, and "
            },
            {
              "t": "code",
              "text": "search"
            },
            {
              "t": "text",
              "text": " finds a string on the page. "
            },
            {
              "t": "code",
              "text": "render"
            },
            {
              "t": "text",
              "text": " turns a page into a bitmap that converts to a Pillow image or a NumPy array."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F61"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F62"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypdfium2-team.github.io/pypdfium2/_modules/pypdfium2/_helpers/textpage.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F59"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F73"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F74"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F277"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F278"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F279"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F280"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F281"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F282"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "System PDFium elsewhere"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "On a platform without a prebuilt wheel, setup looks for a system copy of PDFium or builds PDFium from source."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F284"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F285"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/invoice-x/invoice2data",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F284"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "extracts text from a page range with PDFium's get_text_bounded, or from a cropped region of each page."
                }
              ],
              "language": "python",
              "code": "def to_text(\n    path: str,\n    area_details: dict[str, Any] | None = None,\n    pages: tuple[int, int] | None = None,\n    **kwargs: Any,\n) -> str:\n    # ...\n    import pypdfium2\n\n    document = pypdfium2.PdfDocument(path)\n    try:\n        if area_details is not None:\n            extracted_pages = _crop_pages(document, area_details)\n        else:\n            first, last = pages or (1, len(document))\n            extracted_pages = [\n                document[index].get_textpage().get_text_bounded()\n                for index in range(first - 1, min(last, len(document)))\n            ]\n    finally:\n        document.close()\n    logger.debug(\"Text extraction made with pypdfium2\")\n    return _post_process(\"\\n\".join(extracted_pages))",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/invoice-x/invoice2data/blob/182f21954613f85a7a41ed6340a79844498ef503/src/invoice2data/input/pdfium.py#L35-L70",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F287"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F286"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F59"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F289"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F290"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/freedmand/semantra-python",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F289"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "extracts each page's text through PDFium's text page API and records page sizes and character offsets for later lookup."
                }
              ],
              "language": "python",
              "code": "def get_pdf_content(md5, filename, semantra_dir, force, silent):\n    converted_txt = os.path.join(semantra_dir, get_converted_pdf_txt_filename(md5))\n    position_index = os.path.join(semantra_dir, get_pdf_positions_filename(md5))\n\n    pdf = pdfium.PdfDocument(filename)\n    n_pages = len(pdf)\n\n    if force or not os.path.exists(converted_txt) or not os.path.exists(position_index):\n        positions = []\n        position = 0\n        # newline=\"\" ensures pdfium's \\r is preserved\n        with open(\n            converted_txt, \"w\", newline=\"\", encoding=\"utf-8\", errors=\"ignore\"\n        ) as f:\n            for page_index in tqdm(\n                range(n_pages),\n                desc=\"Extracting PDF contents\",\n                leave=False,\n                disable=silent,\n            ):\n                page = pdf[page_index]\n                page_width, page_height = page.get_size()\n                textpage = page.get_textpage()\n                pagetext = textpage.get_text_range()\n\n                # ...\n                position += f.write(pagetext)\n                position += f.write(LINE_FEED)\n        # ...\n        return PDFContent(rawtext, filename, positions)\n    # ...",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/freedmand/semantra-python/blob/f1f5acbc19909f619a7f11dcbf99deed2b86fd91/src/semantra/pdf.py#L49-L98",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F292"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F291"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F59"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import pypdfium2 as pdfium\n\npdf = pdfium.PdfDocument(\"./path/to/document.pdf\")\npage = pdf[0]  # load a page\n\n# Load a text page helper\ntextpage = page.get_textpage()\n\n# Extract text from the whole page\ntext_all = textpage.get_text_bounded()",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/pypdfium2-team/pypdfium2/blob/de3653ad0b72ef2f960e65cc098602ef71d23e23/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F71"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pdfminer-six",
          "name": [
            {
              "t": "text",
              "text": "pdfminer.six"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pdfminer/pdfminer.six"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pdfminer.six/"
            },
            {
              "label": "Docs",
              "href": "https://pdfminersix.readthedocs.io"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "pdfminer.six is a community-maintained fork of PDFMiner, written entirely in Python, that reads text directly from the instructions inside a PDF file. "
            },
            {
              "t": "code",
              "text": "extract_text"
            },
            {
              "t": "text",
              "text": " from "
            },
            {
              "t": "code",
              "text": "pdfminer.high_level"
            },
            {
              "t": "text",
              "text": " 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. "
            },
            {
              "t": "link",
              "href": "#pdfplumber",
              "label": [
                {
                  "t": "text",
                  "text": "pdfplumber"
                }
              ]
            },
            {
              "t": "text",
              "text": " builds its table extraction on this library."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F86"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F87"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F89"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F88"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pdfminersix.readthedocs.io/en/latest/topic/converting_pdf_to_text.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "pdfminer.six"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F99"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F100"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F293"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F294"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F295"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F296"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F105"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F106"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F297"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F298"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Images need an extra"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Extracting embedded images needs the "
                },
                {
                  "t": "code",
                  "text": "pdfminer.six[image]"
                },
                {
                  "t": "text",
                  "text": " extra."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F305"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F306"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/saulpw/aipl",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F305"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "extracts text from PDF bytes held in memory with pdfminer.six's extract_text."
                }
              ],
              "language": "python",
              "code": "@defop('pdf-extract', 0, 0)\ndef op_pdf_extract(aipl, pdfdata:bytes) -> str:\n    'Extract contents of pdf to value.'\n    from pdfminer.high_level import extract_text\n    from io import BytesIO\n    s = BytesIO(pdfdata)\n    return extract_text(s)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/saulpw/aipl/blob/693dae4fbdb1aaeb743d06551a3e0431e659dd1a/aipl/ops/pdf.py#L4-L10",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F308"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F307"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "pdfminer.six"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from pdfminer.high_level import extract_text\n\ntext = extract_text(\"example.pdf\")\nprint(text)",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/pdfminer/pdfminer.six/blob/a18de2a9c479b4c847538500017b449ddaec177e/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F97"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pdfplumber",
          "name": [
            {
              "t": "text",
              "text": "pdfplumber"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/jsvine/pdfplumber"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pdfplumber/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "pdfplumber opens a PDF and reports every character, line, and rectangle on each page with its position. "
            },
            {
              "t": "code",
              "text": "extract_tables"
            },
            {
              "t": "text",
              "text": " returns each table on a page as rows of cells, and "
            },
            {
              "t": "code",
              "text": "crop"
            },
            {
              "t": "text",
              "text": " limits any call to one area, such as the transaction list on a bank statement. "
            },
            {
              "t": "code",
              "text": "to_image"
            },
            {
              "t": "text",
              "text": " draws what the library found onto a picture of the page, which helps when tuning the table settings. The library is built on "
            },
            {
              "t": "link",
              "href": "#pdfminer-six",
              "label": [
                {
                  "t": "text",
                  "text": "pdfminer.six"
                }
              ]
            },
            {
              "t": "text",
              "text": "."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F107"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F108"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F110"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F109"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/pdfplumber/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "pdfplumber"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F124"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F125"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F309"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F310"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F311"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F312"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F313"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F314"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F315"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F316"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F318"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F319"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/balapriyac/data-science-tutorials",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F318"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "extracts every table in a PDF with pdfplumber's extract_tables and turns each one into a pandas DataFrame."
                }
              ],
              "language": "python",
              "code": "def extract_tables(pdf_path: Path) -> list[dict]:\n    \"\"\"Extract all tables from a PDF. Returns list of {page, table_index, df}.\"\"\"\n    results = []\n\n    table_settings = {\n        \"vertical_strategy\":   \"lines\",\n        \"horizontal_strategy\": \"lines\",\n        \"snap_tolerance\":      3,\n    }\n\n    with pdfplumber.open(pdf_path) as pdf:\n        for page_num, page in enumerate(pdf.pages, 1):\n            # Try structured line-based detection first\n            tables = page.extract_tables(table_settings)\n            if not tables:\n                # Fall back to text-based detection\n                tables = page.extract_tables()\n\n            for t_idx, table in enumerate(tables):\n                if not table or len(table) < 2:\n                    continue\n                # ...\n\n                df = pd.DataFrame(rows, columns=header)\n                results.append({\n                    \"page\":        page_num,\n                    \"table_index\": t_idx + 1,\n                    \"df\":          df,\n                })\n\n    return results",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/balapriyac/data-science-tutorials/blob/d5d3c7a42814d67bb8c2f1cb95a8e443721d64ff/useful-python-scripts-pdf-tasks/pdf_extractor.py#L59-L101",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F321"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F320"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "pdfplumber"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F323"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F324"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/langchain-ai/langchain-community",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F323"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "extracts text from each PDF page with pdfplumber and attaches page numbers and file metadata."
                }
              ],
              "language": "python",
              "code": "def lazy_parse(self, blob: Blob) -> Iterator[Document]:\n    \"\"\"Lazily parse the blob.\"\"\"\n    import pdfplumber\n\n    with blob.as_bytes_io() as file_path:\n        doc = pdfplumber.open(file_path)  # open document\n\n        yield from [\n            Document(\n                page_content=self._process_page_content(page)\n                + \"\\n\"\n                + self._extract_images_from_page(page),\n                metadata=dict(\n                    {\n                        \"source\": blob.source,\n                        \"file_path\": blob.source,\n                        \"page\": page.page_number - 1,\n                        \"total_pages\": len(doc.pages),\n                    },\n                    **{\n                        k: doc.metadata[k]\n                        for k in doc.metadata\n                        if type(doc.metadata[k]) in [str, int]\n                    },\n                ),\n            )\n            for page in doc.pages\n        ]",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/langchain-ai/langchain-community/blob/f425a3ed1933173fb3694b81359d1519c4f82d36/libs/community/langchain_community/document_loaders/parsers/pdf.py#L1419-L1446",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F326"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F325"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "pdfplumber"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import pdfplumber\n\nwith pdfplumber.open(\"path/to/file.pdf\") as pdf:\n    first_page = pdf.pages[0]\n    print(first_page.chars[0])",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/jsvine/pdfplumber/blob/4c64b92d5caccd71c645e98e0fabb0c4dba7ff45/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F118"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "docling",
          "name": [
            {
              "t": "text",
              "text": "docling"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/docling-project/docling"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/docling/"
            },
            {
              "label": "Docs",
              "href": "https://docling-project.github.io/docling"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Docling converts PDFs, Office files, HTML, images, audio, and other formats into one document model, "
            },
            {
              "t": "code",
              "text": "DoclingDocument"
            },
            {
              "t": "text",
              "text": ", that records page layout, reading order, tables, formulas, and code. "
            },
            {
              "t": "code",
              "text": "DocumentConverter"
            },
            {
              "t": "text",
              "text": " runs the conversion from Python. From a terminal, the "
            },
            {
              "t": "code",
              "text": "docling"
            },
            {
              "t": "text",
              "text": " 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."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docling-project.github.io/docling/_generated/examples/export_tables/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "docling"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F327"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F328"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F329"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F330"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F332"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F333"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/run-llama/llama_index",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F332"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "converts PDFs with Docling's DocumentConverter and exports each one as Markdown or JSON text."
                }
              ],
              "language": "python",
              "code": "def lazy_load_data(\n    self,\n    file_path: str | Path | Iterable[str] | Iterable[Path],\n    extra_info: dict | None = None,\n    fs: Optional[AbstractFileSystem] = None,\n) -> Iterable[LIDocument]:\n    # ...\n    file_paths = (\n        file_path\n        if isinstance(file_path, Iterable) and not isinstance(file_path, str)\n        else [file_path]\n    )\n\n    for source in file_paths:\n        dl_doc = self.doc_converter.convert(source).document\n        text: str\n        if self.export_type == self.ExportType.MARKDOWN:\n            text = dl_doc.export_to_markdown(**self.md_export_kwargs)\n        elif self.export_type == self.ExportType.JSON:\n            text = json.dumps(dl_doc.export_to_dict())\n        else:\n            raise ValueError(f\"Unexpected export type: {self.export_type}\")\n        li_doc = LIDocument(\n            doc_id=self.id_func(doc=dl_doc, file_path=source),\n            text=text,\n        )\n        li_doc.metadata = extra_info or {}\n        yield li_doc",
              "prov": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F335"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F334"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "docling"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F337"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F338"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/8treenet/goraven",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F337"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "converts a document with Docling and exports it as Markdown or plain text, trimmed to a character limit."
                }
              ],
              "language": "python",
              "code": "def read_document(input_path: str, fmt: str, max_chars: int, pages_str: str | None) -> str:\n    \"\"\"Convert document via docling and extract content.\"\"\"\n    converter = build_converter()\n    result = converter.convert(input_path)\n    doc = result.document\n\n    if fmt == \"markdown\":\n        content = doc.export_to_markdown()\n    else:\n        content = doc.export_to_text()\n\n    # ...\n\n    if max_chars > 0 and len(content) > max_chars:\n        content = content[:max_chars] + f\"\\n\\n... [truncated, total {len(content)} chars]\"\n\n    return content",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/8treenet/goraven/blob/a883ebdd1bba1b25bece6ccabec09ea060dd0d90/scripts/docling/read.py#L91-L122",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F340"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F339"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "docling"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from docling.document_converter import DocumentConverter\n\nsource = \"https://arxiv.org/pdf/2408.09869\"  # a document via a local path or URL\nconverter = DocumentConverter()\nresult = converter.convert(source)\nprint(result.document.export_to_markdown())  # output: \"## Docling Technical Report[...]\"",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/docling-project/docling/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F151"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "camelot",
          "name": [
            {
              "t": "text",
              "text": "camelot"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/camelot-dev/camelot"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/camelot-py/"
            },
            {
              "label": "Docs",
              "href": "https://camelot-py.readthedocs.io"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Camelot extracts tables from PDFs and returns each one as a pandas DataFrame. "
            },
            {
              "t": "code",
              "text": "camelot.read_pdf"
            },
            {
              "t": "text",
              "text": " takes a file path, URL, or bytes and picks a parser through its "
            },
            {
              "t": "code",
              "text": "flavor"
            },
            {
              "t": "text",
              "text": " argument: "
            },
            {
              "t": "code",
              "text": "lattice"
            },
            {
              "t": "text",
              "text": " follows ruled lines, "
            },
            {
              "t": "code",
              "text": "stream"
            },
            {
              "t": "text",
              "text": " uses the whitespace between columns, and "
            },
            {
              "t": "code",
              "text": "auto"
            },
            {
              "t": "text",
              "text": " 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."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://camelot-py.readthedocs.io/en/latest/api.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "camelot"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Scans need extras"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "The built-in parsers need selectable text. Scanned PDFs need the "
                },
                {
                  "t": "code",
                  "text": "camelot-py[ml,ocr]"
                },
                {
                  "t": "text",
                  "text": " extras and "
                },
                {
                  "t": "code",
                  "text": "flavor=\"ml\""
                },
                {
                  "t": "text",
                  "text": ", a neural table model with OCR."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F344"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F345"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/run-llama/llama_index",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F344"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "extracts tables from chosen PDF pages with camelot.read_pdf and turns each table into a text document."
                }
              ],
              "language": "python",
              "code": "def load_data(\n    self, file: Path, pages: str = \"1\", extra_info: Optional[Dict] = None\n) -> List[Document]:\n    # ...\n    import camelot\n\n    results = []\n    tables = camelot.read_pdf(filepath=str(file), pages=pages)\n\n    for table in tables:\n        document = self._dataframe_to_document(df=table.df, extra_info=extra_info)\n        results.append(document)\n\n    return results",
              "prov": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F347"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F346"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "camelot"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F349"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F350"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/chapmanjacobd/library",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F349"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "reads every table in a PDF with camelot.read_pdf and cleans each DataFrame's rows and column names."
                }
              ],
              "language": "python",
              "code": "def _read_pdf_tables(path, start_row, end_row):\n    import pandas as pd\n    import camelot\n\n    if path.startswith((\"http://\", \"https://\", \"ftp://\")) and \" \" in path:\n        path = web.url_encode(path)\n\n    dataframes = []\n    for table in camelot.read_pdf(path, pages=\"all\", suppress_stdout=False):  # type: ignore\n        dataframe = table.df\n        if start_row:\n            dataframe = dataframe.iloc[start_row:]\n        if end_row:\n            dataframe = dataframe.iloc[:end_row]\n        if isinstance(dataframe.columns, pd.RangeIndex):\n            dataframe.columns = dataframe.iloc[0]\n            dataframe = dataframe.iloc[1:]\n        dataframe.columns = [\" \".join(column.replace(\"\\n\", \"\").split()) for column in dataframe.columns]\n        dataframes.append(NDF(None, dataframe))\n    return dataframes",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/chapmanjacobd/library/blob/8d3b11a16a82a7ee539b6bee63d860221e4d6ae5/library/utils/file_utils.py#L394-L413",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F352"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F351"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "camelot"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import camelot\ntables = camelot.read_pdf('foo.pdf')\ntables\ntables.export('foo.csv', f='csv', compress=True) # json, excel, html, markdown, sqlite\ntables[0]\ntables[0].parsing_report\ntables[0].to_csv('foo.csv') # to_json, to_excel, to_html, to_markdown, to_sqlite\ntables[0].df # get a pandas DataFrame!",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/camelot-dev/camelot/blob/40497a3caa35c26b237ea78abb7f5d3b153ffaa7/docs/index.rst",
                  "label": [
                    {
                      "t": "text",
                      "text": "the docs"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F181"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "liteparse",
          "name": [
            {
              "t": "text",
              "text": "liteparse"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/run-llama/liteparse"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/liteparse/"
            },
            {
              "label": "Docs",
              "href": "https://developers.llamaindex.ai/liteparse/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "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."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://developers.llamaindex.ai/liteparse/guides/extraction/index.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "liteparse"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F353"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F354"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F355"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F356"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Complex documents"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "The README points dense tables, multi-column layouts, charts, handwriting, and scans to LlamaParse, the hosted parser from the same team."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F358"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F359"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/agent0ai/agent-zero",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F358"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "extracts text from a fetched document with LiteParse and raises an error when no text comes back."
                }
              ],
              "language": "python",
              "code": "def _parse_in_process(self, document: FetchedDocument, config: dict) -> str:\n    try:\n        from liteparse import LiteParse\n    except Exception as e:\n        raise RuntimeError(\"LiteParse is not installed\") from e\n\n    parser = LiteParse(**self._liteparse_kwargs(config))\n    with document.local_file() as file_path:\n        result = parser.parse(file_path)\n\n    text = getattr(result, \"text\", \"\") or \"\"\n    if not text.strip():\n        raise ValueError(\"LiteParse returned no text\")\n    return text",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/agent0ai/agent-zero/blob/bc2d447dddf45e7b4007a1c728537caa6f4e3283/plugins/_document_query/helpers/parsers/liteparse.py#L53-L66",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F361"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F360"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "liteparse"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F363"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F364"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/feyninc/chonkie",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F363"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "extracts text from a document file with LiteParse and wraps it in a Document."
                }
              ],
              "language": "python",
              "code": "def process(self, path: str | os.PathLike) -> Document:\n    # ...\n    p = Path(path)\n    if not p.exists():\n        raise FileNotFoundError(f\"File not found: {path}\")\n\n    suffix = p.suffix.lower()\n    if suffix not in self.SUPPORTED_TYPES:\n        raise ValueError(\n            f\"Unsupported file type: {suffix}. Supported types: {sorted(self.SUPPORTED_TYPES)}\"\n        )\n\n    logger.debug(f\"Processing file with LiteParse: {path}\")\n    result = self.parser.parse(str(p))\n    content = result.text if result and result.text is not None else \"\"\n\n    logger.info(\n        f\"LiteParse processing complete: extracted {len(content)} characters from {path}\"\n    )\n\n    doc = Document(content=content)\n    self._set_source_filename(doc, path)\n    return doc",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/feyninc/chonkie/blob/96a82afb4bfbfdffa64481d5b44ccad9565baaa8/src/chonkie/chef/liteparse.py#L144-L174",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F366"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F365"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "liteparse"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from liteparse import LiteParse\n\nparser = LiteParse()\nresult = parser.parse(\"document.pdf\")\nprint(result.text)\nprint(f\"Source document pages: {result.total_pages}\")\n\n# Access structured data\nfor page in result.pages:\n    print(f\"Page {page.page_num}: {len(page.text_items)} text items\")",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/run-llama/liteparse/blob/bc1b995e99f8995a06a43b5305b89b275661e801/packages/python/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F202"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "What is the best Python library for extracting data from a PDF?",
      "a": [
        {
          "t": "link",
          "href": "#pymupdf",
          "label": [
            {
              "t": "text",
              "text": "PyMuPDF"
            }
          ]
        },
        {
          "t": "text",
          "text": " is the best first library to try: it returns text with word positions, finds tables, and renders pages, and it averaged "
        },
        {
          "t": "fact",
          "fact": "F370"
        },
        {
          "t": "text",
          "text": " per document in the py-pdf benchmark. "
        },
        {
          "t": "link",
          "href": "#pypdf",
          "label": [
            {
              "t": "text",
              "text": "pypdf"
            }
          ]
        },
        {
          "t": "text",
          "text": " is the easiest install, "
        },
        {
          "t": "link",
          "href": "#pdfplumber",
          "label": [
            {
              "t": "text",
              "text": "pdfplumber"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#camelot",
          "label": [
            {
              "t": "text",
              "text": "camelot"
            }
          ]
        },
        {
          "t": "text",
          "text": " are stronger on tables, and "
        },
        {
          "t": "link",
          "href": "#docling",
          "label": [
            {
              "t": "text",
              "text": "docling"
            }
          ]
        },
        {
          "t": "text",
          "text": " turns whole documents into Markdown."
        }
      ]
    },
    {
      "q": "What is the simplest way to extract text from a PDF in Python?",
      "a": [
        {
          "t": "text",
          "text": "Open the file with "
        },
        {
          "t": "link",
          "href": "#pypdf",
          "label": [
            {
              "t": "text",
              "text": "pypdf"
            }
          ]
        },
        {
          "t": "text",
          "text": "'s PdfReader and call extract_text() on each page, after a plain pip install pypdf. "
        },
        {
          "t": "link",
          "href": "#pdfminer-six",
          "label": [
            {
              "t": "text",
              "text": "pdfminer.six"
            }
          ]
        },
        {
          "t": "text",
          "text": " does the same for a whole file with one call, extract_text(\"file.pdf\"). Neither library reads scanned pages, which need OCR first."
        }
      ]
    },
    {
      "q": "Which Python library reads scanned PDFs with OCR?",
      "a": [
        {
          "t": "link",
          "href": "#liteparse",
          "label": [
            {
              "t": "text",
              "text": "liteparse"
            }
          ]
        },
        {
          "t": "text",
          "text": " is the easiest, with Tesseract, an open-source OCR engine, bundled inside the package. "
        },
        {
          "t": "link",
          "href": "#docling",
          "label": [
            {
              "t": "text",
              "text": "docling"
            }
          ]
        },
        {
          "t": "text",
          "text": " runs OCR as part of its layout pipeline, and "
        },
        {
          "t": "link",
          "href": "#pymupdf",
          "label": [
            {
              "t": "text",
              "text": "PyMuPDF"
            }
          ]
        },
        {
          "t": "text",
          "text": " reads scanned pages once Tesseract is installed separately. "
        },
        {
          "t": "link",
          "href": "#pypdf",
          "label": [
            {
              "t": "text",
              "text": "pypdf"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#pdfminer-six",
          "label": [
            {
              "t": "text",
              "text": "pdfminer.six"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#pdfplumber",
          "label": [
            {
              "t": "text",
              "text": "pdfplumber"
            }
          ]
        },
        {
          "t": "text",
          "text": ", and "
        },
        {
          "t": "fact",
          "fact": "F59"
        },
        {
          "t": "text",
          "text": " return little or no text from a scanned page."
        }
      ]
    },
    {
      "q": "Which Python library extracts tables from a PDF?",
      "a": [
        {
          "t": "link",
          "href": "#camelot",
          "label": [
            {
              "t": "text",
              "text": "camelot"
            }
          ]
        },
        {
          "t": "text",
          "text": " returns each table as a pandas DataFrame and exports it to CSV or Excel. "
        },
        {
          "t": "link",
          "href": "#pdfplumber",
          "label": [
            {
              "t": "text",
              "text": "pdfplumber"
            }
          ]
        },
        {
          "t": "text",
          "text": "'s extract_tables() returns each table as a list of rows, and "
        },
        {
          "t": "link",
          "href": "#pymupdf",
          "label": [
            {
              "t": "text",
              "text": "PyMuPDF"
            }
          ]
        },
        {
          "t": "text",
          "text": "'s page.find_tables() does the same without a second library. camelot needs selectable text, so a scanned table needs OCR first. See "
        },
        {
          "t": "link",
          "href": "#capabilities",
          "label": [
            {
              "t": "text",
              "text": "Capabilities"
            }
          ]
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "q": "Which Python library converts a PDF to Markdown?",
      "a": [
        {
          "t": "link",
          "href": "#docling",
          "label": [
            {
              "t": "text",
              "text": "docling"
            }
          ]
        },
        {
          "t": "text",
          "text": " converts a whole PDF to Markdown, HTML, or JSON with headings, reading order, and tables kept, ready to split into chunks for an LLM. "
        },
        {
          "t": "link",
          "href": "#liteparse",
          "label": [
            {
              "t": "text",
              "text": "liteparse"
            }
          ]
        },
        {
          "t": "text",
          "text": " also writes Markdown, and "
        },
        {
          "t": "link",
          "href": "#camelot",
          "label": [
            {
              "t": "text",
              "text": "camelot"
            }
          ]
        },
        {
          "t": "text",
          "text": " exports single tables to Markdown."
        }
      ]
    },
    {
      "q": "Is pdfplumber better than PyMuPDF?",
      "a": [
        {
          "t": "text",
          "text": "For tables and fine layout control, yes; for speed, no. "
        },
        {
          "t": "link",
          "href": "#pdfplumber",
          "label": [
            {
              "t": "text",
              "text": "pdfplumber"
            }
          ]
        },
        {
          "t": "text",
          "text": " crops a page to one area and draws what it detected for debugging, while "
        },
        {
          "t": "link",
          "href": "#pymupdf",
          "label": [
            {
              "t": "text",
              "text": "PyMuPDF"
            }
          ]
        },
        {
          "t": "text",
          "text": " averaged "
        },
        {
          "t": "fact",
          "fact": "F371"
        },
        {
          "t": "text",
          "text": " per document against "
        },
        {
          "t": "fact",
          "fact": "F372"
        },
        {
          "t": "text",
          "text": " for pdfplumber in the py-pdf benchmark. Both return text with positions."
        }
      ]
    },
    {
      "q": "What is the difference between pypdf and PyMuPDF?",
      "a": [
        {
          "t": "link",
          "href": "#pymupdf",
          "label": [
            {
              "t": "text",
              "text": "PyMuPDF"
            }
          ]
        },
        {
          "t": "text",
          "text": " extracts text faster and keeps more of the layout, at "
        },
        {
          "t": "fact",
          "fact": "F373"
        },
        {
          "t": "text",
          "text": " per document against "
        },
        {
          "t": "fact",
          "fact": "F374"
        },
        {
          "t": "text",
          "text": " for "
        },
        {
          "t": "link",
          "href": "#pypdf",
          "label": [
            {
              "t": "text",
              "text": "pypdf"
            }
          ]
        },
        {
          "t": "text",
          "text": " in the py-pdf benchmark. pypdf is pure Python, so it installs with no compiler, and it uses the "
        },
        {
          "t": "fact",
          "fact": "F3"
        },
        {
          "t": "text",
          "text": " license, while PyMuPDF uses "
        },
        {
          "t": "fact",
          "fact": "F26"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Monthly downloads, pypdf",
      "display": "126.0M",
      "asOf": "2026-11-10"
    },
    "F2": {
      "label": "GitHub stars, py-pdf/pypdf",
      "display": "10.3K",
      "asOf": "2026-11-10"
    },
    "F3": {
      "label": "License, py-pdf/pypdf",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-10"
    },
    "F4": {
      "label": "Latest release, pypdf",
      "display": "7.0.0, Nov 2026",
      "asOf": "2026-11-06"
    },
    "F5": {
      "label": "Latest release date, pypdf",
      "display": "Nov 2026",
      "asOf": "2026-11-06"
    },
    "F6": {
      "label": "Extracts tables as rows, pypdf",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F7": {
      "label": "OCR for scanned pages, pypdf",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F8": {
      "label": "Retains layout and coordinates, pypdf",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F9": {
      "label": "Extracts images, pypdf",
      "display": "Via plugin",
      "asOf": "2026-11-10"
    },
    "F10": {
      "label": "Output formats, pypdf",
      "display": "Text, PDF",
      "asOf": "2026-11-10"
    },
    "F11": {
      "label": "Install, pypdf",
      "display": "pip install pypdf",
      "asOf": "2026-11-10"
    },
    "F12": {
      "label": "What it is, pypdf",
      "display": "pypdf is a pure-Python library that reads, splits and merges PDFs, and extracts their text, metadata and form values.",
      "asOf": "2026-11-10"
    },
    "F13": {
      "label": "Strength lead, pypdf",
      "display": "Self-hosted python library",
      "asOf": "2026-11-10"
    },
    "F14": {
      "label": "Strength, pypdf",
      "display": "As a self-hosted Python library, pypdf offers control over where PDFs are processed and includes streaming support for processing data.",
      "asOf": "2026-11-10"
    },
    "F15": {
      "label": "Strength lead, pypdf",
      "display": "Text and metadata in one call",
      "asOf": "2026-11-10"
    },
    "F16": {
      "label": "Strength, pypdf",
      "display": "PdfReader gives each page's text and the document's title, author, and dates.",
      "asOf": "2026-11-10"
    },
    "F17": {
      "label": "Strength lead, pypdf",
      "display": "Reads form values",
      "asOf": "2026-11-10"
    },
    "F18": {
      "label": "Strength, pypdf",
      "display": "Returns what was typed into fillable PDF forms.",
      "asOf": "2026-11-10"
    },
    "F19": {
      "label": "Caution lead, pypdf",
      "display": "Focus on python library",
      "asOf": "2026-11-10"
    },
    "F20": {
      "label": "Caution, pypdf",
      "display": "Requires developers to work with a Python library rather than a hosted service.",
      "asOf": "2026-11-10"
    },
    "F21": {
      "label": "Caution lead, pypdf",
      "display": "Slower than PyMuPDF",
      "asOf": "2026-11-10"
    },
    "F22": {
      "label": "Caution, pypdf",
      "display": "Extracts text more slowly and keeps little of the page layout.",
      "asOf": "2026-11-10"
    },
    "F23": {
      "label": "Quickstart, pypdf",
      "display": "from pypdf import PdfReader\n\nreader = PdfReader(\"example.pdf\")\nnumber_of_pages = len(reader.pages)\npage = reader.pages[0]\ntext = page.extract_text()",
      "asOf": "2026-11-10"
    },
    "F24": {
      "label": "Monthly downloads, pymupdf",
      "display": "83.2M",
      "asOf": "2026-11-10"
    },
    "F25": {
      "label": "GitHub stars, pymupdf/PyMuPDF",
      "display": "11.1K",
      "asOf": "2026-11-10"
    },
    "F26": {
      "label": "License, pymupdf/PyMuPDF",
      "display": "AGPL-3.0",
      "asOf": "2026-11-10"
    },
    "F27": {
      "label": "Latest release, pymupdf",
      "display": "2.1, Nov 2026",
      "asOf": "2026-11-02"
    },
    "F28": {
      "label": "Latest release date, pymupdf",
      "display": "Nov 2026",
      "asOf": "2026-11-02"
    },
    "F29": {
      "label": "Runs on, pymupdf",
      "display": "ONNX Runtime",
      "asOf": "2026-11-10"
    },
    "F30": {
      "label": "Extracts tables as rows, pymupdf",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F31": {
      "label": "OCR for scanned pages, pymupdf",
      "display": "Via plugin",
      "asOf": "2026-11-10"
    },
    "F32": {
      "label": "Retains layout and coordinates, pymupdf",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F33": {
      "label": "Extracts images, pymupdf",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F34": {
      "label": "Output formats, pymupdf",
      "display": "JSON",
      "asOf": "2026-11-10"
    },
    "F35": {
      "label": "Recommended for, pymupdf",
      "display": "fast, broad local PDF processing",
      "asOf": "2026-11-10"
    },
    "F36": {
      "label": "Install, pymupdf",
      "display": "pip install pymupdf",
      "asOf": "2026-11-10"
    },
    "F37": {
      "label": "What it is, pymupdf",
      "display": "PyMuPDF is a Python binding for the MuPDF engine. It extracts text with coordinates, images and tables from PDFs, and renders pages to images.",
      "asOf": "2026-11-10"
    },
    "F38": {
      "label": "Strength lead, pymupdf",
      "display": "Text with positions",
      "asOf": "2026-11-10"
    },
    "F39": {
      "label": "Strength, pymupdf",
      "display": "Returns each word with its coordinates, plus images and page renders.",
      "asOf": "2026-11-10"
    },
    "F40": {
      "label": "Strength lead, pymupdf",
      "display": "Runs locally, no network latency",
      "asOf": "2026-11-10"
    },
    "F41": {
      "label": "Strength, pymupdf",
      "display": "Operates locally without needing external services, reducing network dependencies.",
      "asOf": "2026-11-10"
    },
    "F42": {
      "label": "Strength lead, pymupdf",
      "display": "Finds tables too",
      "asOf": "2026-11-10"
    },
    "F43": {
      "label": "Strength, pymupdf",
      "display": "page.find_tables() returns each table's rows without a second library.",
      "asOf": "2026-11-10"
    },
    "F44": {
      "label": "Caution lead, pymupdf",
      "display": "Form semantics",
      "asOf": "2026-11-10"
    },
    "F45": {
      "label": "Caution, pymupdf",
      "display": "Inferring named business fields from forms is a separate extraction task.",
      "asOf": "2026-11-10"
    },
    "F46": {
      "label": "Caution lead, pymupdf",
      "display": "Maintenance burden",
      "asOf": "2026-11-10"
    },
    "F47": {
      "label": "Caution, pymupdf",
      "display": "Ongoing maintenance for edge cases, updates, and OCR dependencies.",
      "asOf": "2026-11-10"
    },
    "F48": {
      "label": "Quickstart, pymupdf",
      "display": "import pymupdf\n\ndoc = pymupdf.open(\"scanned.pdf\")\npage = doc[0]\n\n# Requires Tesseract installed and on PATH\ntext = page.get_textpage_ocr(language=\"eng\").extractText()\nprint(text)",
      "asOf": "2026-11-10"
    },
    "F49": {
      "label": "Code, interviewstreet/hiring-agent",
      "display": "def sort_words(words: list) -> list:\n    \"\"\"Reorder words in lines.\n\n    The argument list must be presorted by bottom, then left coordinates.\n\n    Words with similar top / bottom coordinates are assumed to belong to\n    the same line and will be sorted left to right within that line.\n    \"\"\"\n    if not words:\n        return []\n    nwords = []\n    line = [words[0]]\n    lrect = pymupdf.Rect(words[0][:4])\n    for w in words[1:]:\n        if abs(w[1] - lrect.y0) <= 3 or abs(w[3] - lrect.y1) <= 3:\n            line.append(w)\n            lrect |= w[:4]\n        else:\n            line.sort(key=lambda w: w[0])\n            nwords.extend(line)\n            line = [w]\n            lrect = pymupdf.Rect(w[:4])\n    line.sort(key=lambda w: w[0])\n    nwords.extend(line)\n    return nwords",
      "asOf": "2026-11-10"
    },
    "F50": {
      "label": "Repository, interviewstreet/hiring-agent",
      "display": "interviewstreet/hiring-agent",
      "asOf": "2026-11-10"
    },
    "F51": {
      "label": "GitHub stars, interviewstreet/hiring-agent",
      "display": "7.3K",
      "asOf": "2026-11-10"
    },
    "F52": {
      "label": "Last push, interviewstreet/hiring-agent",
      "display": "Oct 2026",
      "asOf": "2026-10-30"
    },
    "F53": {
      "label": "File, interviewstreet/hiring-agent",
      "display": "pymupdf_rag.py · sort_words()",
      "asOf": "2026-11-10"
    },
    "F54": {
      "label": "Code, eidolon-ai/eidolon",
      "display": "def parse(self, blob: DataBlob) -> Iterable[Document]:\n    if isinstance(blob.data, bytes):\n        pdf_reader = pymupdf.open(stream=blob.data)\n    elif not blob.data and blob.path:\n        pdf_reader = pymupdf.open(blob.path)\n    else:\n        with blob.as_bytes() as data:\n            pdf_reader = pymupdf.open(stream=data.read())\n    if self.password:\n        pdf_reader.authenticate(self.password)\n    yield from [\n        Document(\n            page_content=page.get_text(),\n            metadata={\"source\": blob.path, \"page\": page_number, \"mime_type\": blob.mimetype},\n        )\n        for page_number, page in enumerate(pdf_reader.pages())\n    ]",
      "asOf": "2026-11-10"
    },
    "F55": {
      "label": "Repository, eidolon-ai/eidolon",
      "display": "eidolon-ai/eidolon",
      "asOf": "2026-11-10"
    },
    "F56": {
      "label": "GitHub stars, eidolon-ai/eidolon",
      "display": "493",
      "asOf": "2026-11-10"
    },
    "F57": {
      "label": "Last push, eidolon-ai/eidolon",
      "display": "May 2026",
      "asOf": "2026-05-20"
    },
    "F58": {
      "label": "File, eidolon-ai/eidolon",
      "display": "pdf_parsers.py · parse()",
      "asOf": "2026-11-10"
    },
    "F59": {
      "label": "Name, pypdfium2-team/pypdfium2",
      "display": "pypdfium2",
      "asOf": "2026-11-10"
    },
    "F60": {
      "label": "Monthly downloads, pypdfium2",
      "display": "61.9M",
      "asOf": "2026-11-10"
    },
    "F61": {
      "label": "GitHub stars, pypdfium2-team/pypdfium2",
      "display": "857",
      "asOf": "2026-11-10"
    },
    "F62": {
      "label": "License, pypdfium2-team/pypdfium2",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-10"
    },
    "F63": {
      "label": "Latest release, pypdfium2",
      "display": "5.15.1, Nov 2026",
      "asOf": "2026-11-07"
    },
    "F64": {
      "label": "Latest release date, pypdfium2",
      "display": "Nov 2026",
      "asOf": "2026-11-07"
    },
    "F65": {
      "label": "Extracts tables as rows, pypdfium2",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F66": {
      "label": "OCR for scanned pages, pypdfium2",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F67": {
      "label": "Retains layout and coordinates, pypdfium2",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F68": {
      "label": "Extracts images, pypdfium2",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F69": {
      "label": "Output formats, pypdfium2",
      "display": "PDF",
      "asOf": "2026-11-10"
    },
    "F70": {
      "label": "Recommended for, pypdfium2",
      "display": "PDF rendering and PDFium-level inspection",
      "asOf": "2026-11-10"
    },
    "F71": {
      "label": "Install, pypdfium2",
      "display": "pip install pypdfium2",
      "asOf": "2026-11-10"
    },
    "F72": {
      "label": "What it is, pypdfium2",
      "display": "pypdfium2 is a Python binding to PDFium, the PDF engine in Chrome. It extracts page text, reads text inside a chosen rectangle and renders pages to images.",
      "asOf": "2026-11-10"
    },
    "F73": {
      "label": "Strength lead, pypdfium2",
      "display": "Prebuilt binaries",
      "asOf": "2026-11-10"
    },
    "F74": {
      "label": "Strength, pypdfium2",
      "display": "Wheels include PDFium for most platforms, so no compiler is needed.",
      "asOf": "2026-11-10"
    },
    "F75": {
      "label": "Strength lead, pypdfium2",
      "display": "Python bindings via ctypesgen",
      "asOf": "2026-11-10"
    },
    "F76": {
      "label": "Strength, pypdfium2",
      "display": "Built with ctypesgen and external PDFium binaries.",
      "asOf": "2026-11-10"
    },
    "F77": {
      "label": "Strength lead, pypdfium2",
      "display": "Fast performance in sandbox",
      "asOf": "2026-11-10"
    },
    "F78": {
      "label": "Strength, pypdfium2",
      "display": "Installs as a compact package and provides quick import and sandbox audit results, indicating efficient setup and execution for rendering tasks.",
      "asOf": "2026-11-10"
    },
    "F79": {
      "label": "Caution lead, pypdfium2",
      "display": "Browser deployment",
      "asOf": "2026-11-10"
    },
    "F80": {
      "label": "Caution, pypdfium2",
      "display": "Browser deployment or browser artifacts are experimental or problematic due to crashes and endianness issues.",
      "asOf": "2026-11-10"
    },
    "F81": {
      "label": "Code, datalab-to/marker",
      "display": "@contextlib.contextmanager\ndef get_doc(self):\n    doc = None\n    try:\n        doc = pdfium.PdfDocument(self.filepath)\n\n        # Must be called on the parent pdf, before retrieving pages to render correctly\n        if self.flatten_pdf:\n            doc.init_forms()\n\n        yield doc\n    finally:\n        if doc:\n            doc.close()",
      "asOf": "2026-11-10"
    },
    "F82": {
      "label": "Repository, datalab-to/marker",
      "display": "datalab-to/marker",
      "asOf": "2026-11-10"
    },
    "F83": {
      "label": "GitHub stars, datalab-to/marker",
      "display": "40.8K",
      "asOf": "2026-11-10"
    },
    "F84": {
      "label": "Last push, datalab-to/marker",
      "display": "Oct 2026",
      "asOf": "2026-10-29"
    },
    "F85": {
      "label": "File, datalab-to/marker",
      "display": "pdf.py · get_doc()",
      "asOf": "2026-11-10"
    },
    "F86": {
      "label": "Monthly downloads, pdfminer.six",
      "display": "53.2M",
      "asOf": "2026-11-10"
    },
    "F87": {
      "label": "GitHub stars, pdfminer/pdfminer.six",
      "display": "7.0K",
      "asOf": "2026-11-10"
    },
    "F88": {
      "label": "License, pdfminer/pdfminer.six",
      "display": "MIT",
      "asOf": "2026-11-10"
    },
    "F89": {
      "label": "Latest release, pdfminer.six",
      "display": "20260107, Jan 2026",
      "asOf": "2026-01-07"
    },
    "F90": {
      "label": "Latest release date, pdfminer.six",
      "display": "Jan 2026",
      "asOf": "2026-01-07"
    },
    "F91": {
      "label": "Extracts tables as rows, pdfminer.six",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F92": {
      "label": "OCR for scanned pages, pdfminer.six",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F93": {
      "label": "Retains layout and coordinates, pdfminer.six",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F94": {
      "label": "Extracts images, pdfminer.six",
      "display": "Via plugin",
      "asOf": "2026-11-10"
    },
    "F95": {
      "label": "Output formats, pdfminer.six",
      "display": "HTML, Text, XML",
      "asOf": "2026-11-10"
    },
    "F96": {
      "label": "Recommended for, pdfminer.six",
      "display": "font and character positions",
      "asOf": "2026-11-10"
    },
    "F97": {
      "label": "Install, pdfminer.six",
      "display": "pip install pdfminer.six",
      "asOf": "2026-11-10"
    },
    "F98": {
      "label": "What it is, pdfminer.six",
      "display": "pdfminer.six extracts text from PDFs along with the position, font and color of every character.",
      "asOf": "2026-11-10"
    },
    "F99": {
      "label": "Strength lead, pdfminer.six",
      "display": "Every character's position",
      "asOf": "2026-11-10"
    },
    "F100": {
      "label": "Strength, pdfminer.six",
      "display": "Gives the position of each character and text box, for custom layout code.",
      "asOf": "2026-11-10"
    },
    "F101": {
      "label": "Strength lead, pdfminer.six",
      "display": "Supports PDF-1.7 (well, almost)",
      "asOf": "2026-11-10"
    },
    "F102": {
      "label": "Strength, pdfminer.six",
      "display": "Support for PDF-1.7 specification (well, almost).",
      "asOf": "2026-11-10"
    },
    "F103": {
      "label": "Strength lead, pdfminer.six",
      "display": "Parse PDF objects to python",
      "asOf": "2026-11-10"
    },
    "F104": {
      "label": "Strength, pdfminer.six",
      "display": "Parse all objects from a PDF document into Python objects.",
      "asOf": "2026-11-10"
    },
    "F105": {
      "label": "Caution lead, pdfminer.six",
      "display": "More code to write",
      "asOf": "2026-11-10"
    },
    "F106": {
      "label": "Caution, pdfminer.six",
      "display": "Joining characters into lines, columns, and tables takes custom code.",
      "asOf": "2026-11-10"
    },
    "F107": {
      "label": "Monthly downloads, pdfplumber",
      "display": "40.7M",
      "asOf": "2026-11-10"
    },
    "F108": {
      "label": "GitHub stars, jsvine/pdfplumber",
      "display": "10.9K",
      "asOf": "2026-11-10"
    },
    "F109": {
      "label": "License, jsvine/pdfplumber",
      "display": "MIT",
      "asOf": "2026-11-10"
    },
    "F110": {
      "label": "Latest release, pdfplumber",
      "display": "0.11.10, Jun 2026",
      "asOf": "2026-06-15"
    },
    "F111": {
      "label": "Latest release date, pdfplumber",
      "display": "Jun 2026",
      "asOf": "2026-06-15"
    },
    "F112": {
      "label": "Extracts tables as rows, pdfplumber",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F113": {
      "label": "OCR for scanned pages, pdfplumber",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F114": {
      "label": "Retains layout and coordinates, pdfplumber",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F115": {
      "label": "Extracts images, pdfplumber",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F116": {
      "label": "Output formats, pdfplumber",
      "display": "JSON, CSV, Text",
      "asOf": "2026-11-10"
    },
    "F117": {
      "label": "Recommended for, pdfplumber",
      "display": "tabular data with simpler table formats",
      "asOf": "2026-11-10"
    },
    "F118": {
      "label": "Install, pdfplumber",
      "display": "pip install pdfplumber",
      "asOf": "2026-11-10"
    },
    "F119": {
      "label": "What it is, pdfplumber",
      "display": "pdfplumber extracts text and tables from PDFs and exposes the position of every character, line and rectangle. It builds on pdfminer.six.",
      "asOf": "2026-11-10"
    },
    "F120": {
      "label": "Strength lead, pdfplumber",
      "display": "Layout-aware extraction",
      "asOf": "2026-11-10"
    },
    "F121": {
      "label": "Strength, pdfplumber",
      "display": "Text arranged by position; preserves column structure and supports extract_tables() to return clean lists of lists with header row included.",
      "asOf": "2026-11-10"
    },
    "F122": {
      "label": "Strength lead, pdfplumber",
      "display": "Precise text extraction",
      "asOf": "2026-11-10"
    },
    "F123": {
      "label": "Strength, pdfplumber",
      "display": "pdfplumber allows for precise extraction of text from PDFs, including handling complex layouts with headers, footers, and varying sections of text.",
      "asOf": "2026-11-10"
    },
    "F124": {
      "label": "Strength lead, pdfplumber",
      "display": "Tables as rows",
      "asOf": "2026-11-10"
    },
    "F125": {
      "label": "Strength, pdfplumber",
      "display": "extract_tables() returns each table as a list of rows.",
      "asOf": "2026-11-10"
    },
    "F126": {
      "label": "Caution lead, pdfplumber",
      "display": "Merges two-column text",
      "asOf": "2026-11-10"
    },
    "F127": {
      "label": "Caution, pdfplumber",
      "display": "Crop each column first, or lines from both columns run together.",
      "asOf": "2026-11-10"
    },
    "F128": {
      "label": "Caution lead, pdfplumber",
      "display": "Scanned PDFs not native text",
      "asOf": "2026-11-10"
    },
    "F129": {
      "label": "Caution, pdfplumber",
      "display": "Requires OCR or alternative handling for scanned images/pages.",
      "asOf": "2026-11-10"
    },
    "F130": {
      "label": "Code, NVIDIA/GenerativeAIExamples",
      "display": "def convert_pdf_to_images(pdf_path):\n    \"\"\"Convert a PDF file to a series of images using PyMuPDF and save in '../../ppt_references/' folder.\"\"\"\n    doc = pdf_open(pdf_path)\n\n    # Extract the base name of the PDF file and replace spaces with underscores\n    base_name = os.path.basename(pdf_path)\n    pdf_name_without_ext = os.path.splitext(\n        base_name)[0].replace(\" \",\n        \"_\",\n    )\n\n    # Use the existing directory '../../ppt_references/'\n    new_dir_path = os.path.join(\n        os.getcwd(),\n        \"multimodal/ppt_references\",\n    )\n\n    image_paths = []\n\n    for page_num, page in enumerate(doc.pages):\n        pix = page.to_image()\n\n        # Save images in the existing directory\n        output_image_path = os.path.join(\n            new_dir_path,\n            f\"{pdf_name_without_ext}_{page_num:04d}.png\",\n        )\n        pix.save(output_image_path)\n        image_paths.append((output_image_path, page_num))\n\n    doc.close()\n    return image_paths",
      "asOf": "2026-11-10"
    },
    "F131": {
      "label": "Repository, NVIDIA/GenerativeAIExamples",
      "display": "NVIDIA/GenerativeAIExamples",
      "asOf": "2026-11-10"
    },
    "F132": {
      "label": "GitHub stars, NVIDIA/GenerativeAIExamples",
      "display": "4.2K",
      "asOf": "2026-11-10"
    },
    "F133": {
      "label": "Last push, NVIDIA/GenerativeAIExamples",
      "display": "Nov 2026",
      "asOf": "2026-11-06"
    },
    "F134": {
      "label": "File, NVIDIA/GenerativeAIExamples",
      "display": "custom_powerpoint_parser.py · convert_pdf_to_images()",
      "asOf": "2026-11-10"
    },
    "F135": {
      "label": "Code, pipeshub-ai/pipeshub-ai",
      "display": "def parse_pdf_layout(pdf_bytes: bytes) -> list[ParsedPageData]:\n    _cap_cv2_threads()\n    # The rasteriser reads the file by path.\n    tmp_path: str | None = None\n    try:\n        with tempfile.NamedTemporaryFile(delete=False, suffix=\".pdf\", prefix=\"pipeshub_pdf_\") as tmp:\n            tmp_path = tmp.name\n            tmp.write(pdf_bytes)\n            tmp.flush()\n        pages: list[ParsedPageData] = []\n        with pdfplumber.open(tmp_path) as pdf:\n            raster_cache = DocumentRasterCache(\n                tmp_path,\n                num_pages=len(pdf.pages),\n            )\n            model_rasters = DocumentRasterCache(\n                tmp_path, dpi=MODEL_DPI, num_pages=len(pdf.pages), window=MODEL_RASTER_WINDOW_PAGES\n            )\n            for page_index, page in enumerate(pdf.pages):\n                regions = _drop_unmapped_glyphs(\n                    extract_layout_regions(\n                        page, pdf_path=tmp_path, raster_cache=raster_cache, model_raster_cache=model_rasters\n                    )\n                )\n                # pdf.pages keeps every Page, and each caches its parsed chars and\n                # layout: ~5 MB a page until the PDF is closed.\n                page.close()\n                pages.append(\n                    ParsedPageData(\n                        page_number=page_index + 1,\n                        width=float(page.width),\n                        height=float(page.height),\n                        regions=regions,\n                    )\n                )\n        return pages\n    finally:\n        if tmp_path is not None:\n            with contextlib.suppress(OSError):\n                os.unlink(tmp_path)\n        # The worker outlives the parse: hand its pages, chars and rasters back.\n        _release_freed_memory()",
      "asOf": "2026-11-10"
    },
    "F136": {
      "label": "Repository, pipeshub-ai/pipeshub-ai",
      "display": "pipeshub-ai/pipeshub-ai",
      "asOf": "2026-11-10"
    },
    "F137": {
      "label": "GitHub stars, pipeshub-ai/pipeshub-ai",
      "display": "4.1K",
      "asOf": "2026-11-10"
    },
    "F138": {
      "label": "Last push, pipeshub-ai/pipeshub-ai",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F139": {
      "label": "File, pipeshub-ai/pipeshub-ai",
      "display": "layout_pages.py · parse_pdf_layout()",
      "asOf": "2026-11-10"
    },
    "F140": {
      "label": "Monthly downloads, docling",
      "display": "2.9M",
      "asOf": "2026-11-10"
    },
    "F141": {
      "label": "GitHub stars, docling-project/docling",
      "display": "70.3K",
      "asOf": "2026-11-10"
    },
    "F142": {
      "label": "License, docling-project/docling",
      "display": "MIT",
      "asOf": "2026-11-10"
    },
    "F143": {
      "label": "Latest release, docling",
      "display": "2.149.0, Nov 2026",
      "asOf": "2026-11-08"
    },
    "F144": {
      "label": "Latest release date, docling",
      "display": "Nov 2026",
      "asOf": "2026-11-08"
    },
    "F145": {
      "label": "Extracts tables as rows, docling",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F146": {
      "label": "OCR for scanned pages, docling",
      "display": "Via plugin",
      "asOf": "2026-11-10"
    },
    "F147": {
      "label": "Retains layout and coordinates, docling",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F148": {
      "label": "Extracts images, docling",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F149": {
      "label": "Output formats, docling",
      "display": "Markdown",
      "asOf": "2026-11-10"
    },
    "F150": {
      "label": "Recommended for, docling",
      "display": "structured documents, markdown, and RAG",
      "asOf": "2026-11-10"
    },
    "F151": {
      "label": "Install, docling",
      "display": "pip install docling",
      "asOf": "2026-11-10"
    },
    "F152": {
      "label": "What it is, docling",
      "display": "docling converts PDFs and other documents into a structured document with layout, reading order and tables, and exports it to Markdown, HTML or JSON.",
      "asOf": "2026-11-10"
    },
    "F153": {
      "label": "Strength lead, docling",
      "display": "Integrations for python stack",
      "asOf": "2026-11-10"
    },
    "F154": {
      "label": "Strength, docling",
      "display": "Official integrations for LangChain, LlamaIndex, Haystack and other frameworks, an MCP server, and a serve package for running it as an HTTP service.",
      "asOf": "2026-11-10"
    },
    "F155": {
      "label": "Strength lead, docling",
      "display": "Keeps reading order and tables",
      "asOf": "2026-11-10"
    },
    "F156": {
      "label": "Strength, docling",
      "display": "Detects layout, tables, and formulas, and runs OCR on scanned pages.",
      "asOf": "2026-11-10"
    },
    "F157": {
      "label": "Strength lead, docling",
      "display": "Local execution",
      "asOf": "2026-11-10"
    },
    "F158": {
      "label": "Strength, docling",
      "display": "Runs locally for sensitive data and air-gapped environments.",
      "asOf": "2026-11-10"
    },
    "F159": {
      "label": "Caution lead, docling",
      "display": "GPU speeds up models",
      "asOf": "2026-11-10"
    },
    "F160": {
      "label": "Caution, docling",
      "display": "The layout and table models run on the CPU unless the accelerator options select a CUDA GPU.",
      "asOf": "2026-11-10"
    },
    "F161": {
      "label": "Caution lead, docling",
      "display": "Slower than plain extractors",
      "asOf": "2026-11-10"
    },
    "F162": {
      "label": "Caution, docling",
      "display": "Runs models on every page, so it takes longer than pypdf.",
      "asOf": "2026-11-10"
    },
    "F163": {
      "label": "Caution lead, docling",
      "display": "Scanned PDFs and images",
      "asOf": "2026-11-10"
    },
    "F164": {
      "label": "Caution, docling",
      "display": "OCR and image-heavy content rely on OCR quality and model support.",
      "asOf": "2026-11-10"
    },
    "F165": {
      "label": "Quickstart, docling",
      "display": "from docling.document_converter import DocumentConverter\n\nsource = \"https://arxiv.org/pdf/2408.09869\"  # a document via a local path or URL\nconverter = DocumentConverter()\nresult = converter.convert(source)\nprint(result.document.export_to_markdown())  # output: \"## Docling Technical Report[...]\"",
      "asOf": "2026-11-10"
    },
    "F166": {
      "label": "Code, IlyaRice/RAG-Challenge-2",
      "display": "def _create_document_converter(self) -> \"DocumentConverter\": # type: ignore\n    \"\"\"Creates and returns a DocumentConverter with default pipeline options.\"\"\"\n    from docling.document_converter import DocumentConverter, FormatOption\n    from docling.datamodel.pipeline_options import PdfPipelineOptions, TableFormerMode, EasyOcrOptions\n    from docling.datamodel.base_models import InputFormat\n    from docling.pipeline.standard_pdf_pipeline import StandardPdfPipeline\n\n    pipeline_options = PdfPipelineOptions()\n    pipeline_options.do_ocr = True\n    ocr_options = EasyOcrOptions(lang=['en'], force_full_page_ocr=False)\n    pipeline_options.ocr_options = ocr_options\n    pipeline_options.do_table_structure = True\n    pipeline_options.table_structure_options.do_cell_matching = True\n    pipeline_options.table_structure_options.mode = TableFormerMode.ACCURATE\n\n    format_options = {\n        InputFormat.PDF: FormatOption(\n            pipeline_cls=StandardPdfPipeline,\n            pipeline_options=pipeline_options,\n            backend=self.pdf_backend\n        )\n    }\n\n    return DocumentConverter(format_options=format_options)",
      "asOf": "2026-11-10"
    },
    "F167": {
      "label": "Repository, IlyaRice/RAG-Challenge-2",
      "display": "IlyaRice/RAG-Challenge-2",
      "asOf": "2026-11-10"
    },
    "F168": {
      "label": "GitHub stars, IlyaRice/RAG-Challenge-2",
      "display": "2.5K",
      "asOf": "2026-11-10"
    },
    "F169": {
      "label": "Last push, IlyaRice/RAG-Challenge-2",
      "display": "May 2025",
      "asOf": "2025-05-12"
    },
    "F170": {
      "label": "File, IlyaRice/RAG-Challenge-2",
      "display": "pdf_parsing.py · _create_document_converter()",
      "asOf": "2026-11-10"
    },
    "F171": {
      "label": "Monthly downloads, camelot-py",
      "display": "721.6K",
      "asOf": "2026-11-10"
    },
    "F172": {
      "label": "GitHub stars, camelot-dev/camelot",
      "display": "3.8K",
      "asOf": "2026-11-10"
    },
    "F173": {
      "label": "License, camelot-dev/camelot",
      "display": "MIT",
      "asOf": "2026-11-10"
    },
    "F174": {
      "label": "Latest release, camelot-py",
      "display": "2.0.0, Jun 2026",
      "asOf": "2026-06-04"
    },
    "F175": {
      "label": "Latest release date, camelot-py",
      "display": "Jun 2026",
      "asOf": "2026-06-04"
    },
    "F176": {
      "label": "Extracts tables as rows, camelot-py",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F177": {
      "label": "OCR for scanned pages, camelot-py",
      "display": "Via plugin",
      "asOf": "2026-11-10"
    },
    "F178": {
      "label": "Retains layout and coordinates, camelot-py",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F179": {
      "label": "Output formats, camelot-py",
      "display": "Markdown, JSON",
      "asOf": "2026-11-10"
    },
    "F180": {
      "label": "Recommended for, camelot-py",
      "display": "tables to DataFrames",
      "asOf": "2026-11-10"
    },
    "F181": {
      "label": "Install, camelot-py",
      "display": "pip install camelot-py",
      "asOf": "2026-11-10"
    },
    "F182": {
      "label": "What it is, camelot-py",
      "display": "camelot extracts tables from text-based PDFs and returns each one as a pandas DataFrame, with CSV, Excel and JSON export.",
      "asOf": "2026-11-10"
    },
    "F183": {
      "label": "Strength lead, camelot-py",
      "display": "Best with machine-generated PDFs",
      "asOf": "2026-11-10"
    },
    "F184": {
      "label": "Strength, camelot-py",
      "display": "camelot works best with machine-generated, text-based PDFs whose tables have visible ruling lines or predictable text alignment.",
      "asOf": "2026-11-10"
    },
    "F185": {
      "label": "Strength lead, camelot-py",
      "display": "Tables as DataFrames",
      "asOf": "2026-11-10"
    },
    "F186": {
      "label": "Strength, camelot-py",
      "display": "Each table comes back as a pandas DataFrame and exports to CSV or Excel.",
      "asOf": "2026-11-10"
    },
    "F187": {
      "label": "Strength lead, camelot-py",
      "display": "Ruled and borderless tables",
      "asOf": "2026-11-10"
    },
    "F188": {
      "label": "Strength, camelot-py",
      "display": "Use lattice for tables with lines and stream for tables without them.",
      "asOf": "2026-11-10"
    },
    "F189": {
      "label": "Caution lead, camelot-py",
      "display": "Struggles with merged cells",
      "asOf": "2026-11-10"
    },
    "F190": {
      "label": "Caution, camelot-py",
      "display": "Merged or multi-line cells don't fit a rectangular table.",
      "asOf": "2026-11-10"
    },
    "F191": {
      "label": "Quickstart, camelot-py",
      "display": "import camelot\ntables = camelot.read_pdf('foo.pdf')\ntables\ntables.export('foo.csv', f='csv', compress=True) # json, excel, html, markdown, sqlite\ntables[0]\ntables[0].parsing_report\ntables[0].to_csv('foo.csv') # to_json, to_excel, to_html, to_markdown, to_sqlite\ntables[0].df # get a pandas DataFrame!",
      "asOf": "2026-11-10"
    },
    "F192": {
      "label": "Monthly downloads, liteparse",
      "display": "360.4K",
      "asOf": "2026-11-10"
    },
    "F193": {
      "label": "GitHub stars, run-llama/liteparse",
      "display": "13.0K",
      "asOf": "2026-11-10"
    },
    "F194": {
      "label": "License, run-llama/liteparse",
      "display": "Apache-2.0",
      "asOf": "2026-11-10"
    },
    "F195": {
      "label": "Latest release, liteparse",
      "display": "2.18.0, Nov 2026",
      "asOf": "2026-11-04"
    },
    "F196": {
      "label": "Latest release date, liteparse",
      "display": "Nov 2026",
      "asOf": "2026-11-04"
    },
    "F197": {
      "label": "Extracts tables as rows, liteparse",
      "display": "Via plugin",
      "asOf": "2026-11-10"
    },
    "F198": {
      "label": "OCR for scanned pages, liteparse",
      "display": "Via plugin",
      "asOf": "2026-11-10"
    },
    "F199": {
      "label": "Retains layout and coordinates, liteparse",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F200": {
      "label": "Extracts images, liteparse",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F201": {
      "label": "Output formats, liteparse",
      "display": "Markdown, JSON",
      "asOf": "2026-11-10"
    },
    "F202": {
      "label": "Install, liteparse",
      "display": "pip install liteparse",
      "asOf": "2026-11-10"
    },
    "F203": {
      "label": "What it is, liteparse",
      "display": "liteparse parses PDFs locally into text with bounding boxes, and runs from Python, Node.js, Rust or the browser.",
      "asOf": "2026-11-10"
    },
    "F204": {
      "label": "Strength lead, liteparse",
      "display": "Text with positions",
      "asOf": "2026-11-10"
    },
    "F205": {
      "label": "Strength, liteparse",
      "display": "Returns text with bounding boxes, layout-kept text, or page screenshots.",
      "asOf": "2026-11-10"
    },
    "F206": {
      "label": "Strength lead, liteparse",
      "display": "Good with local parsing architecture",
      "asOf": "2026-11-10"
    },
    "F207": {
      "label": "Strength, liteparse",
      "display": "liteparse is a good fit when local execution, spatial data, and several language bindings matter, and when the team accepts a routed parsing architecture.",
      "asOf": "2026-11-10"
    },
    "F208": {
      "label": "Strength lead, liteparse",
      "display": "Multi-language bindings",
      "asOf": "2026-11-10"
    },
    "F209": {
      "label": "Strength, liteparse",
      "display": "Rust crate, Python (pip install liteparse), Node.js (npm), browser WASM; CLI available with all packages and consistent flags.",
      "asOf": "2026-11-10"
    },
    "F210": {
      "label": "Caution lead, liteparse",
      "display": "Flattens complex tables",
      "asOf": "2026-11-10"
    },
    "F211": {
      "label": "Caution, liteparse",
      "display": "Tables with multi-row headers come out as aligned text, not rows.",
      "asOf": "2026-11-10"
    },
    "F212": {
      "label": "Caution lead, liteparse",
      "display": "Source-path can fail",
      "asOf": "2026-11-10"
    },
    "F213": {
      "label": "Caution, liteparse",
      "display": "The important source-build gotcha is network dependence during compilation.",
      "asOf": "2026-11-10"
    },
    "F214": {
      "label": "Caution lead, liteparse",
      "display": "Local only",
      "asOf": "2026-11-10"
    },
    "F215": {
      "label": "Caution, liteparse",
      "display": "Runs locally with no cloud deps (no external API calls).",
      "asOf": "2026-11-10"
    },
    "F216": {
      "label": "Quickstart, liteparse",
      "display": "from liteparse import LiteParse\n\nparser = LiteParse()\nresult = parser.parse(\"document.pdf\")\nprint(result.text)\nprint(f\"Source document pages: {result.total_pages}\")\n\n# Access structured data\nfor page in result.pages:\n    print(f\"Page {page.page_num}: {len(page.text_items)} text items\")",
      "asOf": "2026-11-10"
    },
    "F217": {
      "label": "Code, agent0ai/agent-zero",
      "display": "def _parse_in_process(self, document: FetchedDocument, config: dict) -> str:\n    try:\n        from liteparse import LiteParse\n    except Exception as e:\n        raise RuntimeError(\"LiteParse is not installed\") from e\n\n    parser = LiteParse(**self._liteparse_kwargs(config))\n    with document.local_file() as file_path:\n        result = parser.parse(file_path)\n\n    text = getattr(result, \"text\", \"\") or \"\"\n    if not text.strip():\n        raise ValueError(\"LiteParse returned no text\")\n    return text",
      "asOf": "2026-11-10"
    },
    "F218": {
      "label": "Repository, agent0ai/agent-zero",
      "display": "agent0ai/agent-zero",
      "asOf": "2026-11-10"
    },
    "F219": {
      "label": "GitHub stars, agent0ai/agent-zero",
      "display": "19.8K",
      "asOf": "2026-11-10"
    },
    "F220": {
      "label": "Last push, agent0ai/agent-zero",
      "display": "Nov 2026",
      "asOf": "2026-11-08"
    },
    "F221": {
      "label": "File, agent0ai/agent-zero",
      "display": "liteparse.py · _parse_in_process()",
      "asOf": "2026-11-10"
    },
    "F222": {
      "label": "Code, feyninc/chonkie",
      "display": "def process(self, path: str | os.PathLike) -> Document:\n    \"\"\"Extract text from a document file.\n\n    Args:\n        path: Path to the file to process.\n\n    Returns:\n        Document with extracted text content.\n\n    \"\"\"\n    p = Path(path)\n    if not p.exists():\n        raise FileNotFoundError(f\"File not found: {path}\")\n\n    suffix = p.suffix.lower()\n    if suffix not in self.SUPPORTED_TYPES:\n        raise ValueError(\n            f\"Unsupported file type: {suffix}. Supported types: {sorted(self.SUPPORTED_TYPES)}\"\n        )\n\n    logger.debug(f\"Processing file with LiteParse: {path}\")\n    result = self.parser.parse(str(p))\n    content = result.text if result and result.text is not None else \"\"\n\n    logger.info(\n        f\"LiteParse processing complete: extracted {len(content)} characters from {path}\"\n    )\n\n    doc = Document(content=content)\n    self._set_source_filename(doc, path)\n    return doc",
      "asOf": "2026-11-10"
    },
    "F223": {
      "label": "Repository, feyninc/chonkie",
      "display": "feyninc/chonkie",
      "asOf": "2026-11-10"
    },
    "F224": {
      "label": "GitHub stars, feyninc/chonkie",
      "display": "4.8K",
      "asOf": "2026-11-10"
    },
    "F225": {
      "label": "Last push, feyninc/chonkie",
      "display": "Nov 2026",
      "asOf": "2026-11-05"
    },
    "F226": {
      "label": "File, feyninc/chonkie",
      "display": "liteparse.py · process()",
      "asOf": "2026-11-10"
    },
    "F227": {
      "label": "Need, pymupdf",
      "display": "Fast text extraction",
      "asOf": "2026-11-10"
    },
    "F228": {
      "label": "Why, pymupdf",
      "display": "on-par extraction quality",
      "asOf": "2026-11-10"
    },
    "F229": {
      "label": "Need, pdfplumber",
      "display": "Fast text extraction",
      "asOf": "2026-11-10"
    },
    "F230": {
      "label": "Why, pdfplumber",
      "display": "text extraction + tables",
      "asOf": "2026-11-10"
    },
    "F231": {
      "label": "Need, pdfminer.six",
      "display": "Layout and coordinates",
      "asOf": "2026-11-10"
    },
    "F232": {
      "label": "Why, pdfminer.six",
      "display": "low-level control",
      "asOf": "2026-11-10"
    },
    "F233": {
      "label": "Need, pdfplumber",
      "display": "Layout and coordinates",
      "asOf": "2026-11-10"
    },
    "F234": {
      "label": "Why, pdfplumber",
      "display": "built on pdfminer.six",
      "asOf": "2026-11-10"
    },
    "F235": {
      "label": "Need, pdfplumber",
      "display": "Tables to DataFrames",
      "asOf": "2026-11-10"
    },
    "F236": {
      "label": "Why, pdfplumber",
      "display": "layout-focused reading",
      "asOf": "2026-11-10"
    },
    "F237": {
      "label": "Need, camelot-py",
      "display": "Tables to DataFrames",
      "asOf": "2026-11-10"
    },
    "F238": {
      "label": "Why, camelot-py",
      "display": "table extraction",
      "asOf": "2026-11-10"
    },
    "F239": {
      "label": "Need, pypdf",
      "display": "Pure Python install",
      "asOf": "2026-11-10"
    },
    "F240": {
      "label": "Why, pypdf",
      "display": "mature library",
      "asOf": "2026-11-10"
    },
    "F241": {
      "label": "Need, pypdfium2",
      "display": "Pure Python install",
      "asOf": "2026-11-10"
    },
    "F242": {
      "label": "Why, pypdfium2",
      "display": "rendering engine",
      "asOf": "2026-11-10"
    },
    "F243": {
      "label": "Need, docling",
      "display": "Markdown for LLMs",
      "asOf": "2026-11-10"
    },
    "F244": {
      "label": "Why, docling",
      "display": "structured output",
      "asOf": "2026-11-10"
    },
    "F245": {
      "label": "Need, camelot-py",
      "display": "Markdown for LLMs",
      "asOf": "2026-11-10"
    },
    "F246": {
      "label": "Need, camelot-py",
      "display": "Scanned PDFs",
      "asOf": "2026-11-10"
    },
    "F247": {
      "label": "Strength lead, pypdf",
      "display": "Pure Python install",
      "asOf": "2026-11-10"
    },
    "F248": {
      "label": "Strength, pypdf",
      "display": "pip install works anywhere, with no compiler or system packages.",
      "asOf": "2026-11-10"
    },
    "F249": {
      "label": "Caution lead, pypdf",
      "display": "No text from scanned pages",
      "asOf": "2026-11-10"
    },
    "F250": {
      "label": "Caution, pypdf",
      "display": "Scanned pages need OCR software, such as Tesseract, first.",
      "asOf": "2026-11-10"
    },
    "F251": {
      "label": "Code, run-llama/llama_index",
      "display": "def load_data(\n    self,\n    file: Union[Path, PurePosixPath],\n    extra_info: Optional[Dict] = None,\n    fs: Optional[AbstractFileSystem] = None,\n) -> List[Document]:\n    \"\"\"Parse file.\"\"\"\n    # ...\n\n    with fs.open(str(file), \"rb\") as fp:\n        stream = fp if is_default_fs(fs) else io.BytesIO(fp.read())\n\n        pdf = pypdf.PdfReader(stream)\n\n        num_pages = len(pdf.pages)\n\n        docs = []\n\n        if self.return_full_document:\n            metadata = {\"file_name\": file.name}\n            # ...\n\n            text = \"\\n\".join(\n                pdf.pages[page].extract_text() for page in range(num_pages)\n            )\n\n            docs.append(Document(text=text, metadata=metadata))\n\n        else:\n            for page in range(num_pages):\n                page_text = pdf.pages[page].extract_text()\n                page_label = pdf.page_labels[page]\n\n                metadata = {\"page_label\": page_label, \"file_name\": file.name}\n                # ...\n\n                docs.append(Document(text=page_text, metadata=metadata))\n\n        return docs",
      "asOf": "2026-11-10"
    },
    "F252": {
      "label": "Repository, run-llama/llama_index",
      "display": "run-llama/llama_index",
      "asOf": "2026-11-10"
    },
    "F253": {
      "label": "GitHub stars, run-llama/llama_index",
      "display": "52.9K",
      "asOf": "2026-11-10"
    },
    "F254": {
      "label": "Last push, run-llama/llama_index",
      "display": "Nov 2026",
      "asOf": "2026-11-08"
    },
    "F255": {
      "label": "File, run-llama/llama_index",
      "display": "base.py · load_data()",
      "asOf": "2026-11-10"
    },
    "F256": {
      "label": "Code, balapriyac/data-science-tutorials",
      "display": "def extract_text_pypdf(pdf_path: Path) -> str:\n    \"\"\"Fallback text extraction using pypdf.\"\"\"\n    reader = PdfReader(pdf_path)\n    parts  = []\n    for i, page in enumerate(reader.pages):\n        text = page.extract_text() or \"\"\n        if text.strip():\n            parts.append(f\"--- Page {i + 1} ---\\n{text}\")\n    return \"\\n\\n\".join(parts)",
      "asOf": "2026-11-10"
    },
    "F257": {
      "label": "Repository, balapriyac/data-science-tutorials",
      "display": "balapriyac/data-science-tutorials",
      "asOf": "2026-11-10"
    },
    "F258": {
      "label": "GitHub stars, balapriyac/data-science-tutorials",
      "display": "648",
      "asOf": "2026-11-10"
    },
    "F259": {
      "label": "Last push, balapriyac/data-science-tutorials",
      "display": "Nov 2026",
      "asOf": "2026-11-01"
    },
    "F260": {
      "label": "File, balapriyac/data-science-tutorials",
      "display": "pdf_extractor.py · extract_text_pypdf()",
      "asOf": "2026-11-10"
    },
    "F261": {
      "label": "Strength lead, pymupdf",
      "display": "Fast on large files",
      "asOf": "2026-11-10"
    },
    "F262": {
      "label": "Strength, pymupdf",
      "display": "About 0.1s per document in the py-pdf benchmark.",
      "asOf": "2026-11-10"
    },
    "F263": {
      "label": "Caution lead, pymupdf",
      "display": "OCR needs Tesseract",
      "asOf": "2026-11-10"
    },
    "F264": {
      "label": "Caution, pymupdf",
      "display": "Install Tesseract separately to read scanned pages.",
      "asOf": "2026-11-10"
    },
    "F265": {
      "label": "Caution lead, pymupdf",
      "display": "Text can come out of order",
      "asOf": "2026-11-10"
    },
    "F266": {
      "label": "Caution, pymupdf",
      "display": "Default output follows file order, not always reading order.",
      "asOf": "2026-11-10"
    },
    "F267": {
      "label": "Code, eidolon-ai/eidolon",
      "display": "def parse(self, blob: DataBlob) -> Iterable[Document]:\n    if isinstance(blob.data, bytes):\n        pdf_reader = pymupdf.open(stream=blob.data)\n    elif not blob.data and blob.path:\n        pdf_reader = pymupdf.open(blob.path)\n    else:\n        with blob.as_bytes() as data:\n            pdf_reader = pymupdf.open(stream=data.read())\n    if self.password:\n        pdf_reader.authenticate(self.password)\n    yield from [\n        Document(\n            page_content=page.get_text(),\n            metadata={\"source\": blob.path, \"page\": page_number, \"mime_type\": blob.mimetype},\n        )\n        for page_number, page in enumerate(pdf_reader.pages())\n    ]",
      "asOf": "2026-11-10"
    },
    "F268": {
      "label": "Repository, eidolon-ai/eidolon",
      "display": "eidolon-ai/eidolon",
      "asOf": "2026-11-10"
    },
    "F269": {
      "label": "GitHub stars, eidolon-ai/eidolon",
      "display": "493",
      "asOf": "2026-11-10"
    },
    "F270": {
      "label": "Last push, eidolon-ai/eidolon",
      "display": "May 2026",
      "asOf": "2026-05-20"
    },
    "F271": {
      "label": "File, eidolon-ai/eidolon",
      "display": "pdf_parsers.py · parse()",
      "asOf": "2026-11-10"
    },
    "F272": {
      "label": "Code, langchain-ai/langchain-community",
      "display": "def _extract_tables_from_page(self, page: pymupdf.Page) -> str:\n    # ...\n    if self.extract_tables is None:\n        return \"\"\n    import pymupdf\n\n    tables_list = list(\n        pymupdf.table.find_tables(page, **(self.extract_tables_settings or {}))\n    )\n    if tables_list:\n        if self.extract_tables == \"markdown\":\n            return _JOIN_TABLES.join([table.to_markdown() for table in tables_list])\n        elif self.extract_tables == \"html\":\n            # ...\n        elif self.extract_tables == \"csv\":\n            return _JOIN_TABLES.join(\n                [\n                    table.to_pandas().to_csv(\n                        header=False,\n                        index=False,\n                    )\n                    for table in tables_list\n                ]\n            )\n        else:\n            raise ValueError(\n                f\"extract_tables {self.extract_tables} not implemented\"\n            )\n    return \"\"",
      "asOf": "2026-11-10"
    },
    "F273": {
      "label": "Repository, langchain-ai/langchain-community",
      "display": "langchain-ai/langchain-community",
      "asOf": "2026-11-10"
    },
    "F274": {
      "label": "GitHub stars, langchain-ai/langchain-community",
      "display": "285",
      "asOf": "2026-11-10"
    },
    "F275": {
      "label": "Last push, langchain-ai/langchain-community",
      "display": "Jun 2026",
      "asOf": "2026-06-19"
    },
    "F276": {
      "label": "File, langchain-ai/langchain-community",
      "display": "pdf.py · _extract_tables_from_page()",
      "asOf": "2026-11-10"
    },
    "F277": {
      "label": "Strength lead, pypdfium2",
      "display": "Fastest plain text",
      "asOf": "2026-11-10"
    },
    "F278": {
      "label": "Strength, pypdfium2",
      "display": "Ranked first in the py-pdf benchmark, at about 0.1s per document.",
      "asOf": "2026-11-10"
    },
    "F279": {
      "label": "Strength lead, pypdfium2",
      "display": "Reads one area of a page",
      "asOf": "2026-11-10"
    },
    "F280": {
      "label": "Strength, pypdfium2",
      "display": "get_text_bounded() returns only the text inside a box, such as one invoice field.",
      "asOf": "2026-11-10"
    },
    "F281": {
      "label": "Caution lead, pypdfium2",
      "display": "Loses column layout",
      "asOf": "2026-11-10"
    },
    "F282": {
      "label": "Caution, pypdfium2",
      "display": "Output doesn't keep the spacing that lines up columns.",
      "asOf": "2026-11-10"
    },
    "F283": {
      "label": "Code, invoice-x/invoice2data",
      "display": "def to_text(\n    path: str,\n    area_details: dict[str, Any] | None = None,\n    pages: tuple[int, int] | None = None,\n    **kwargs: Any,\n) -> str:\n    # ...\n    import pypdfium2\n\n    document = pypdfium2.PdfDocument(path)\n    try:\n        if area_details is not None:\n            extracted_pages = _crop_pages(document, area_details)\n        else:\n            first, last = pages or (1, len(document))\n            extracted_pages = [\n                document[index].get_textpage().get_text_bounded()\n                for index in range(first - 1, min(last, len(document)))\n            ]\n    finally:\n        document.close()\n    logger.debug(\"Text extraction made with pypdfium2\")\n    return _post_process(\"\\n\".join(extracted_pages))",
      "asOf": "2026-11-10"
    },
    "F284": {
      "label": "Repository, invoice-x/invoice2data",
      "display": "invoice-x/invoice2data",
      "asOf": "2026-11-10"
    },
    "F285": {
      "label": "GitHub stars, invoice-x/invoice2data",
      "display": "2.2K",
      "asOf": "2026-11-10"
    },
    "F286": {
      "label": "Last push, invoice-x/invoice2data",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F287": {
      "label": "File, invoice-x/invoice2data",
      "display": "pdfium.py · to_text()",
      "asOf": "2026-11-10"
    },
    "F288": {
      "label": "Code, freedmand/semantra-python",
      "display": "def get_pdf_content(md5, filename, semantra_dir, force, silent):\n    converted_txt = os.path.join(semantra_dir, get_converted_pdf_txt_filename(md5))\n    position_index = os.path.join(semantra_dir, get_pdf_positions_filename(md5))\n\n    pdf = pdfium.PdfDocument(filename)\n    n_pages = len(pdf)\n\n    if force or not os.path.exists(converted_txt) or not os.path.exists(position_index):\n        positions = []\n        position = 0\n        # newline=\"\" ensures pdfium's \\r is preserved\n        with open(\n            converted_txt, \"w\", newline=\"\", encoding=\"utf-8\", errors=\"ignore\"\n        ) as f:\n            for page_index in tqdm(\n                range(n_pages),\n                desc=\"Extracting PDF contents\",\n                leave=False,\n                disable=silent,\n            ):\n                page = pdf[page_index]\n                page_width, page_height = page.get_size()\n                textpage = page.get_textpage()\n                pagetext = textpage.get_text_range()\n\n                # ...\n                position += f.write(pagetext)\n                position += f.write(LINE_FEED)\n        # ...\n        return PDFContent(rawtext, filename, positions)\n    # ...",
      "asOf": "2026-11-10"
    },
    "F289": {
      "label": "Repository, freedmand/semantra-python",
      "display": "freedmand/semantra-python",
      "asOf": "2026-11-10"
    },
    "F290": {
      "label": "GitHub stars, freedmand/semantra-python",
      "display": "2.7K",
      "asOf": "2026-11-10"
    },
    "F291": {
      "label": "Last push, freedmand/semantra-python",
      "display": "Aug 2024",
      "asOf": "2024-08-27"
    },
    "F292": {
      "label": "File, freedmand/semantra-python",
      "display": "pdf.py · get_pdf_content()",
      "asOf": "2026-11-10"
    },
    "F293": {
      "label": "Strength lead, pdfminer-six",
      "display": "Reads Chinese, Japanese, and Korean",
      "asOf": "2026-11-10"
    },
    "F294": {
      "label": "Strength, pdfminer-six",
      "display": "Handles CJK text, including vertical writing.",
      "asOf": "2026-11-10"
    },
    "F295": {
      "label": "Strength lead, pdfminer-six",
      "display": "Exports HTML",
      "asOf": "2026-11-10"
    },
    "F296": {
      "label": "Strength, pdfminer-six",
      "display": "Writes pages as text, HTML, or hOCR, an OCR layout format.",
      "asOf": "2026-11-10"
    },
    "F297": {
      "label": "Caution lead, pdfminer-six",
      "display": "Slow on large files",
      "asOf": "2026-11-10"
    },
    "F298": {
      "label": "Caution, pdfminer-six",
      "display": "About 3.5s per document in the py-pdf benchmark, against 0.1s for PyMuPDF.",
      "asOf": "2026-11-10"
    },
    "F299": {
      "label": "Code, cwwmbm/linkedinscraper",
      "display": "def read_pdf(file_path):\n    try:\n        text = extract_text(file_path)\n        return text\n    except FileNotFoundError:\n        print(f\"Error: The file '{file_path}' was not found.\")\n        return None\n    except Exception as e:\n        print(f\"An error occurred while reading the PDF: {e}\")\n        return None",
      "asOf": "2026-11-10"
    },
    "F300": {
      "label": "Repository, cwwmbm/linkedinscraper",
      "display": "cwwmbm/linkedinscraper",
      "asOf": "2026-11-10"
    },
    "F301": {
      "label": "GitHub stars, cwwmbm/linkedinscraper",
      "display": "352",
      "asOf": "2026-11-10"
    },
    "F302": {
      "label": "Last push, cwwmbm/linkedinscraper",
      "display": "Feb 2025",
      "asOf": "2025-02-01"
    },
    "F303": {
      "label": "File, cwwmbm/linkedinscraper",
      "display": "app.py · read_pdf()",
      "asOf": "2026-11-10"
    },
    "F304": {
      "label": "Code, saulpw/aipl",
      "display": "@defop('pdf-extract', 0, 0)\ndef op_pdf_extract(aipl, pdfdata:bytes) -> str:\n    'Extract contents of pdf to value.'\n    from pdfminer.high_level import extract_text\n    from io import BytesIO\n    s = BytesIO(pdfdata)\n    return extract_text(s)",
      "asOf": "2026-11-10"
    },
    "F305": {
      "label": "Repository, saulpw/aipl",
      "display": "saulpw/aipl",
      "asOf": "2026-11-10"
    },
    "F306": {
      "label": "GitHub stars, saulpw/aipl",
      "display": "120",
      "asOf": "2026-11-10"
    },
    "F307": {
      "label": "Last push, saulpw/aipl",
      "display": "May 2026",
      "asOf": "2026-05-25"
    },
    "F308": {
      "label": "File, saulpw/aipl",
      "display": "pdf.py · op_pdf_extract()",
      "asOf": "2026-11-10"
    },
    "F309": {
      "label": "Strength lead, pdfplumber",
      "display": "Reads one area of a page",
      "asOf": "2026-11-10"
    },
    "F310": {
      "label": "Strength, pdfplumber",
      "display": "Crop to a box to read one section, such as a statement's transactions.",
      "asOf": "2026-11-10"
    },
    "F311": {
      "label": "Strength lead, pdfplumber",
      "display": "Shows what it found",
      "asOf": "2026-11-10"
    },
    "F312": {
      "label": "Strength, pdfplumber",
      "display": "Draws the detected text, lines, and tables on a page image for debugging.",
      "asOf": "2026-11-10"
    },
    "F313": {
      "label": "Caution lead, pdfplumber",
      "display": "No OCR for scans",
      "asOf": "2026-11-10"
    },
    "F314": {
      "label": "Caution, pdfplumber",
      "display": "Reads the text layer of machine-generated PDFs, so scanned pages need OCR first.",
      "asOf": "2026-11-10"
    },
    "F315": {
      "label": "Caution lead, pdfplumber",
      "display": "Slowest at plain text",
      "asOf": "2026-11-10"
    },
    "F316": {
      "label": "Caution, pdfplumber",
      "display": "About 5.6s per document, the slowest in the py-pdf benchmark.",
      "asOf": "2026-11-10"
    },
    "F317": {
      "label": "Code, balapriyac/data-science-tutorials",
      "display": "def extract_tables(pdf_path: Path) -> list[dict]:\n    \"\"\"Extract all tables from a PDF. Returns list of {page, table_index, df}.\"\"\"\n    results = []\n\n    table_settings = {\n        \"vertical_strategy\":   \"lines\",\n        \"horizontal_strategy\": \"lines\",\n        \"snap_tolerance\":      3,\n    }\n\n    with pdfplumber.open(pdf_path) as pdf:\n        for page_num, page in enumerate(pdf.pages, 1):\n            # Try structured line-based detection first\n            tables = page.extract_tables(table_settings)\n            if not tables:\n                # Fall back to text-based detection\n                tables = page.extract_tables()\n\n            for t_idx, table in enumerate(tables):\n                if not table or len(table) < 2:\n                    continue\n                # ...\n\n                df = pd.DataFrame(rows, columns=header)\n                results.append({\n                    \"page\":        page_num,\n                    \"table_index\": t_idx + 1,\n                    \"df\":          df,\n                })\n\n    return results",
      "asOf": "2026-11-10"
    },
    "F318": {
      "label": "Repository, balapriyac/data-science-tutorials",
      "display": "balapriyac/data-science-tutorials",
      "asOf": "2026-11-10"
    },
    "F319": {
      "label": "GitHub stars, balapriyac/data-science-tutorials",
      "display": "648",
      "asOf": "2026-11-10"
    },
    "F320": {
      "label": "Last push, balapriyac/data-science-tutorials",
      "display": "Nov 2026",
      "asOf": "2026-11-01"
    },
    "F321": {
      "label": "File, balapriyac/data-science-tutorials",
      "display": "pdf_extractor.py · extract_tables()",
      "asOf": "2026-11-10"
    },
    "F322": {
      "label": "Code, langchain-ai/langchain-community",
      "display": "def lazy_parse(self, blob: Blob) -> Iterator[Document]:\n    \"\"\"Lazily parse the blob.\"\"\"\n    import pdfplumber\n\n    with blob.as_bytes_io() as file_path:\n        doc = pdfplumber.open(file_path)  # open document\n\n        yield from [\n            Document(\n                page_content=self._process_page_content(page)\n                + \"\\n\"\n                + self._extract_images_from_page(page),\n                metadata=dict(\n                    {\n                        \"source\": blob.source,\n                        \"file_path\": blob.source,\n                        \"page\": page.page_number - 1,\n                        \"total_pages\": len(doc.pages),\n                    },\n                    **{\n                        k: doc.metadata[k]\n                        for k in doc.metadata\n                        if type(doc.metadata[k]) in [str, int]\n                    },\n                ),\n            )\n            for page in doc.pages\n        ]",
      "asOf": "2026-11-10"
    },
    "F323": {
      "label": "Repository, langchain-ai/langchain-community",
      "display": "langchain-ai/langchain-community",
      "asOf": "2026-11-10"
    },
    "F324": {
      "label": "GitHub stars, langchain-ai/langchain-community",
      "display": "285",
      "asOf": "2026-11-10"
    },
    "F325": {
      "label": "Last push, langchain-ai/langchain-community",
      "display": "Jun 2026",
      "asOf": "2026-06-19"
    },
    "F326": {
      "label": "File, langchain-ai/langchain-community",
      "display": "pdf.py · lazy_parse()",
      "asOf": "2026-11-10"
    },
    "F327": {
      "label": "Strength lead, docling",
      "display": "Exports Markdown or JSON",
      "asOf": "2026-11-10"
    },
    "F328": {
      "label": "Strength, docling",
      "display": "Writes Markdown, HTML, or JSON, ready to split into chunks for an LLM.",
      "asOf": "2026-11-10"
    },
    "F329": {
      "label": "Caution lead, docling",
      "display": "Large install",
      "asOf": "2026-11-10"
    },
    "F330": {
      "label": "Caution, docling",
      "display": "The layout and table models come with the package, which can exceed a size-limited serverless function.",
      "asOf": "2026-11-10"
    },
    "F331": {
      "label": "Code, run-llama/llama_index",
      "display": "def lazy_load_data(\n    self,\n    file_path: str | Path | Iterable[str] | Iterable[Path],\n    extra_info: dict | None = None,\n    fs: Optional[AbstractFileSystem] = None,\n) -> Iterable[LIDocument]:\n    # ...\n    file_paths = (\n        file_path\n        if isinstance(file_path, Iterable) and not isinstance(file_path, str)\n        else [file_path]\n    )\n\n    for source in file_paths:\n        dl_doc = self.doc_converter.convert(source).document\n        text: str\n        if self.export_type == self.ExportType.MARKDOWN:\n            text = dl_doc.export_to_markdown(**self.md_export_kwargs)\n        elif self.export_type == self.ExportType.JSON:\n            text = json.dumps(dl_doc.export_to_dict())\n        else:\n            raise ValueError(f\"Unexpected export type: {self.export_type}\")\n        li_doc = LIDocument(\n            doc_id=self.id_func(doc=dl_doc, file_path=source),\n            text=text,\n        )\n        li_doc.metadata = extra_info or {}\n        yield li_doc",
      "asOf": "2026-11-10"
    },
    "F332": {
      "label": "Repository, run-llama/llama_index",
      "display": "run-llama/llama_index",
      "asOf": "2026-11-10"
    },
    "F333": {
      "label": "GitHub stars, run-llama/llama_index",
      "display": "52.9K",
      "asOf": "2026-11-10"
    },
    "F334": {
      "label": "Last push, run-llama/llama_index",
      "display": "Nov 2026",
      "asOf": "2026-11-08"
    },
    "F335": {
      "label": "File, run-llama/llama_index",
      "display": "base.py · lazy_load_data()",
      "asOf": "2026-11-10"
    },
    "F336": {
      "label": "Code, 8treenet/goraven",
      "display": "def read_document(input_path: str, fmt: str, max_chars: int, pages_str: str | None) -> str:\n    \"\"\"Convert document via docling and extract content.\"\"\"\n    converter = build_converter()\n    result = converter.convert(input_path)\n    doc = result.document\n\n    if fmt == \"markdown\":\n        content = doc.export_to_markdown()\n    else:\n        content = doc.export_to_text()\n\n    # ...\n\n    if max_chars > 0 and len(content) > max_chars:\n        content = content[:max_chars] + f\"\\n\\n... [truncated, total {len(content)} chars]\"\n\n    return content",
      "asOf": "2026-11-10"
    },
    "F337": {
      "label": "Repository, 8treenet/goraven",
      "display": "8treenet/goraven",
      "asOf": "2026-11-10"
    },
    "F338": {
      "label": "GitHub stars, 8treenet/goraven",
      "display": "846",
      "asOf": "2026-11-10"
    },
    "F339": {
      "label": "Last push, 8treenet/goraven",
      "display": "Nov 2026",
      "asOf": "2026-11-06"
    },
    "F340": {
      "label": "File, 8treenet/goraven",
      "display": "read.py · read_document()",
      "asOf": "2026-11-10"
    },
    "F341": {
      "label": "Caution lead, camelot",
      "display": "No scanned tables",
      "asOf": "2026-11-10"
    },
    "F342": {
      "label": "Caution, camelot",
      "display": "Run OCR first, since camelot needs selectable text.",
      "asOf": "2026-11-10"
    },
    "F343": {
      "label": "Code, run-llama/llama_index",
      "display": "def load_data(\n    self, file: Path, pages: str = \"1\", extra_info: Optional[Dict] = None\n) -> List[Document]:\n    # ...\n    import camelot\n\n    results = []\n    tables = camelot.read_pdf(filepath=str(file), pages=pages)\n\n    for table in tables:\n        document = self._dataframe_to_document(df=table.df, extra_info=extra_info)\n        results.append(document)\n\n    return results",
      "asOf": "2026-11-10"
    },
    "F344": {
      "label": "Repository, run-llama/llama_index",
      "display": "run-llama/llama_index",
      "asOf": "2026-11-10"
    },
    "F345": {
      "label": "GitHub stars, run-llama/llama_index",
      "display": "52.9K",
      "asOf": "2026-11-10"
    },
    "F346": {
      "label": "Last push, run-llama/llama_index",
      "display": "Nov 2026",
      "asOf": "2026-11-08"
    },
    "F347": {
      "label": "File, run-llama/llama_index",
      "display": "base.py · load_data()",
      "asOf": "2026-11-10"
    },
    "F348": {
      "label": "Code, chapmanjacobd/library",
      "display": "def _read_pdf_tables(path, start_row, end_row):\n    import pandas as pd\n    import camelot\n\n    if path.startswith((\"http://\", \"https://\", \"ftp://\")) and \" \" in path:\n        path = web.url_encode(path)\n\n    dataframes = []\n    for table in camelot.read_pdf(path, pages=\"all\", suppress_stdout=False):  # type: ignore\n        dataframe = table.df\n        if start_row:\n            dataframe = dataframe.iloc[start_row:]\n        if end_row:\n            dataframe = dataframe.iloc[:end_row]\n        if isinstance(dataframe.columns, pd.RangeIndex):\n            dataframe.columns = dataframe.iloc[0]\n            dataframe = dataframe.iloc[1:]\n        dataframe.columns = [\" \".join(column.replace(\"\\n\", \"\").split()) for column in dataframe.columns]\n        dataframes.append(NDF(None, dataframe))\n    return dataframes",
      "asOf": "2026-11-10"
    },
    "F349": {
      "label": "Repository, chapmanjacobd/library",
      "display": "chapmanjacobd/library",
      "asOf": "2026-11-10"
    },
    "F350": {
      "label": "GitHub stars, chapmanjacobd/library",
      "display": "486",
      "asOf": "2026-11-10"
    },
    "F351": {
      "label": "Last push, chapmanjacobd/library",
      "display": "Nov 2026",
      "asOf": "2026-11-09"
    },
    "F352": {
      "label": "File, chapmanjacobd/library",
      "display": "file_utils.py · _read_pdf_tables()",
      "asOf": "2026-11-10"
    },
    "F353": {
      "label": "Strength lead, liteparse",
      "display": "Fast on large files",
      "asOf": "2026-11-10"
    },
    "F354": {
      "label": "Strength, liteparse",
      "display": "Parses about two to five milliseconds per page.",
      "asOf": "2026-11-10"
    },
    "F355": {
      "label": "Strength lead, liteparse",
      "display": "OCR included",
      "asOf": "2026-11-10"
    },
    "F356": {
      "label": "Strength, liteparse",
      "display": "Tesseract ships inside the package, so scanned pages work with no setup.",
      "asOf": "2026-11-10"
    },
    "F357": {
      "label": "Code, agent0ai/agent-zero",
      "display": "def _parse_in_process(self, document: FetchedDocument, config: dict) -> str:\n    try:\n        from liteparse import LiteParse\n    except Exception as e:\n        raise RuntimeError(\"LiteParse is not installed\") from e\n\n    parser = LiteParse(**self._liteparse_kwargs(config))\n    with document.local_file() as file_path:\n        result = parser.parse(file_path)\n\n    text = getattr(result, \"text\", \"\") or \"\"\n    if not text.strip():\n        raise ValueError(\"LiteParse returned no text\")\n    return text",
      "asOf": "2026-11-10"
    },
    "F358": {
      "label": "Repository, agent0ai/agent-zero",
      "display": "agent0ai/agent-zero",
      "asOf": "2026-11-10"
    },
    "F359": {
      "label": "GitHub stars, agent0ai/agent-zero",
      "display": "19.8K",
      "asOf": "2026-11-10"
    },
    "F360": {
      "label": "Last push, agent0ai/agent-zero",
      "display": "Nov 2026",
      "asOf": "2026-11-08"
    },
    "F361": {
      "label": "File, agent0ai/agent-zero",
      "display": "liteparse.py · _parse_in_process()",
      "asOf": "2026-11-10"
    },
    "F362": {
      "label": "Code, feyninc/chonkie",
      "display": "def process(self, path: str | os.PathLike) -> Document:\n    # ...\n    p = Path(path)\n    if not p.exists():\n        raise FileNotFoundError(f\"File not found: {path}\")\n\n    suffix = p.suffix.lower()\n    if suffix not in self.SUPPORTED_TYPES:\n        raise ValueError(\n            f\"Unsupported file type: {suffix}. Supported types: {sorted(self.SUPPORTED_TYPES)}\"\n        )\n\n    logger.debug(f\"Processing file with LiteParse: {path}\")\n    result = self.parser.parse(str(p))\n    content = result.text if result and result.text is not None else \"\"\n\n    logger.info(\n        f\"LiteParse processing complete: extracted {len(content)} characters from {path}\"\n    )\n\n    doc = Document(content=content)\n    self._set_source_filename(doc, path)\n    return doc",
      "asOf": "2026-11-10"
    },
    "F363": {
      "label": "Repository, feyninc/chonkie",
      "display": "feyninc/chonkie",
      "asOf": "2026-11-10"
    },
    "F364": {
      "label": "GitHub stars, feyninc/chonkie",
      "display": "4.8K",
      "asOf": "2026-11-10"
    },
    "F365": {
      "label": "Last push, feyninc/chonkie",
      "display": "Nov 2026",
      "asOf": "2026-11-05"
    },
    "F366": {
      "label": "File, feyninc/chonkie",
      "display": "liteparse.py · process()",
      "asOf": "2026-11-10"
    },
    "F367": {
      "label": "Quickstart, pypdfium2",
      "display": "import pypdfium2 as pdfium\n\npdf = pdfium.PdfDocument(\"./path/to/document.pdf\")\npage = pdf[0]  # load a page\n\n# Load a text page helper\ntextpage = page.get_textpage()\n\n# Extract text from the whole page\ntext_all = textpage.get_text_bounded()",
      "asOf": "2026-11-10"
    },
    "F368": {
      "label": "Quickstart, pdfminer-six",
      "display": "from pdfminer.high_level import extract_text\n\ntext = extract_text(\"example.pdf\")\nprint(text)",
      "asOf": "2026-11-10"
    },
    "F369": {
      "label": "Quickstart, pdfplumber",
      "display": "import pdfplumber\n\nwith pdfplumber.open(\"path/to/file.pdf\") as pdf:\n    first_page = pdf.pages[0]\n    print(first_page.chars[0])",
      "asOf": "2026-11-10"
    },
    "F370": {
      "label": "FAQ, mu",
      "display": "0.1s",
      "asOf": "2026-11-10"
    },
    "F371": {
      "label": "FAQ, mu",
      "display": "0.1s",
      "asOf": "2026-11-10"
    },
    "F372": {
      "label": "FAQ, pl",
      "display": "5.6s",
      "asOf": "2026-11-10"
    },
    "F373": {
      "label": "FAQ, mu",
      "display": "0.1s",
      "asOf": "2026-11-10"
    },
    "F374": {
      "label": "FAQ, py",
      "display": "1.8s",
      "asOf": "2026-11-10"
    }
  },
  "dataCheckedAt": "2026-11-10",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "open source Python libraries for extracting text and tables from PDF files",
        "numResults": 20,
        "type": "auto",
        "includeDomains": [
          "github.com"
        ]
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": [
      {
        "endpoint": "/search",
        "body": {
          "query": "Python PDF extraction library package",
          "numResults": 20,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/py-pdf/pypdf",
            "https://pypdf.readthedocs.io/en/latest/",
            "https://pypi.org/project/pypdf/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about pypdf, a Python PDF extraction library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what pypdf does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of pypdf that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations of pypdf that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says pypdf handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Fast text extraction",
                          "Tables to DataFrames",
                          "Scanned PDFs",
                          "Layout and coordinates",
                          "Markdown for LLMs",
                          "Pure Python install",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Fast text extraction; Tables to DataFrames; Scanned PDFs; Layout and coordinates; Markdown for LLMs; Pure Python install."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pypdf (pypdf on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pypdf (pypdf on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pypdf (pypdf on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library pypdf (pypdf) return or write when extracting from PDFs? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses pypdf for extracting text and tables from PDF files, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "open source Python app whose code calls pypdf to pull text, tables, and images out of PDF files for a program to use",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/linxuan-sys/opencode-skills-chinese/blob/9c21fafd4ab024dd6aab5d050f52baae6cc03217/pdf/scripts/fill_pdf_form_with_annotations.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function fill_pdf_form() in this file, which uses the pypdf library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What fill_pdf_form() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the pypdf classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/appautomaton/document-SKILLs/blob/48ee14dc3f65b95154e201d759f677d780d96f9e/pdf/scripts/flatten_form.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function flatten_page() in this file, which uses the pypdf library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What flatten_page() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the pypdf classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "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/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about PyMuPDF, a Python PDF extraction library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what PyMuPDF does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of PyMuPDF that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations of PyMuPDF that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says PyMuPDF handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Fast text extraction",
                          "Tables to DataFrames",
                          "Scanned PDFs",
                          "Layout and coordinates",
                          "Markdown for LLMs",
                          "Pure Python install",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Fast text extraction; Tables to DataFrames; Scanned PDFs; Layout and coordinates; Markdown for LLMs; Pure Python install."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library PyMuPDF (pymupdf on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library PyMuPDF (pymupdf on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library PyMuPDF (pymupdf on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library PyMuPDF (pymupdf) return or write when extracting from PDFs? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses pymupdf for extracting text and tables from PDF files, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "open source Python app whose code calls pymupdf to pull text, tables, and images out of PDF files for a program to use",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/interviewstreet/hiring-agent/blob/dc9c8dfdcfcce56021618bde72af3f2f67204da9/pymupdf_rag.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function sort_words() in this file, which uses the PyMuPDF library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What sort_words() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the PyMuPDF classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/eidolon-ai/eidolon/blob/f38dba19b3b9f0a677e66063337f17c0511b40a4/sdk/eidolon_ai_sdk/agent/doc_manager/parsers/pdf_parsers.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function parse() in this file, which uses the PyMuPDF library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What parse() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the PyMuPDF classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/pypdfium2-team/pypdfium2",
            "https://pypdfium2.readthedocs.io/",
            "https://pypi.org/project/pypdfium2/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about pypdfium2, a Python PDF extraction library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what pypdfium2 does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of pypdfium2 that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations of pypdfium2 that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says pypdfium2 handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Fast text extraction",
                          "Tables to DataFrames",
                          "Scanned PDFs",
                          "Layout and coordinates",
                          "Markdown for LLMs",
                          "Pure Python install",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Fast text extraction; Tables to DataFrames; Scanned PDFs; Layout and coordinates; Markdown for LLMs; Pure Python install."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pypdfium2 (pypdfium2 on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pypdfium2 (pypdfium2 on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pypdfium2 (pypdfium2 on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library pypdfium2 (pypdfium2) return or write when extracting from PDFs? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses pypdfium2 for extracting text and tables from PDF files, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "open source Python app whose code calls pypdfium2 to pull text, tables, and images out of PDF files for a program to use",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/docling-project/docling/blob/3df6c9318fc6d91fde424c90a28fc7d7e5f080dc/docling/backend/pypdfium2_backend.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function from_text_page() in this file, which uses the pypdfium2 library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What from_text_page() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the pypdfium2 classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/datalab-to/marker/blob/fc3c3ba277c15dcb20e8abef1d227d59cd8058d4/marker/providers/pdf.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function get_doc() in this file, which uses the pypdfium2 library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What get_doc() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the pypdfium2 classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/onyx-dot-app/onyx/blob/b8df217324a60909164a3a93e60748f6f8a0feb2/backend/onyx/file_processing/extract_file_text.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function _extract_pdf_text_pdfium() in this file, which uses the pypdfium2 library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What _extract_pdf_text_pdfium() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the pypdfium2 classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/Paper2Poster/Paper2Poster/blob/dcd7610cecfbc44d3e924b7ab21aa61af901462c/demo/app.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function _pdf_to_image_first_page() in this file, which uses the pypdfium2 library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What _pdf_to_image_first_page() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the pypdfium2 classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/NVIDIA/NeMo-Retriever/blob/02fbb5e2e06a020ebe7ddaa392ad4c964180da45/nemo_retriever/src/nemo_retriever/operators/extract/pdf/split.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function _split_pdf_to_single_page_bytes() in this file, which uses the pypdfium2 library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What _split_pdf_to_single_page_bytes() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the pypdfium2 classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/pdfminer/pdfminer.six",
            "https://pdfminersix.readthedocs.io",
            "https://pypi.org/project/pdfminer.six/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about pdfminer.six, a Python PDF extraction library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what pdfminer.six does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of pdfminer.six that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations of pdfminer.six that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says pdfminer.six handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Fast text extraction",
                          "Tables to DataFrames",
                          "Scanned PDFs",
                          "Layout and coordinates",
                          "Markdown for LLMs",
                          "Pure Python install",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Fast text extraction; Tables to DataFrames; Scanned PDFs; Layout and coordinates; Markdown for LLMs; Pure Python install."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pdfminer.six (pdfminer.six on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pdfminer.six (pdfminer.six on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library pdfminer.six (pdfminer.six) return or write when extracting from PDFs? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses pdfminer.six for extracting text and tables from PDF files, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/search",
        "body": {
          "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",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/jsvine/pdfplumber",
            "https://pypi.org/project/pdfplumber/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about pdfplumber, a Python PDF extraction library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what pdfplumber does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of pdfplumber that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations of pdfplumber that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says pdfplumber handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Fast text extraction",
                          "Tables to DataFrames",
                          "Scanned PDFs",
                          "Layout and coordinates",
                          "Markdown for LLMs",
                          "Pure Python install",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Fast text extraction; Tables to DataFrames; Scanned PDFs; Layout and coordinates; Markdown for LLMs; Pure Python install."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pdfplumber (pdfplumber on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pdfplumber (pdfplumber on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pdfplumber (pdfplumber on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library pdfplumber (pdfplumber) return or write when extracting from PDFs? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses pdfplumber for extracting text and tables from PDF files, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "open source Python app whose code calls pdfplumber to pull text, tables, and images out of PDF files for a program to use",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/NVIDIA/GenerativeAIExamples/blob/0be681f3ca01137823e3263a777700ffea48942f/RAG/examples/advanced_rag/multimodal_rag/vectorstore/custom_powerpoint_parser.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function convert_pdf_to_images() in this file, which uses the pdfplumber library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What convert_pdf_to_images() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the pdfplumber classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/pipeshub-ai/pipeshub-ai/blob/2404031e0eee7c1b1488342c19f8348cb9e806b7/backend/python/app/modules/parsers/pdf/layout_pages.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function parse_pdf_layout() in this file, which uses the pdfplumber library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What parse_pdf_layout() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the pdfplumber classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/docling-project/docling",
            "https://docling-project.github.io/docling",
            "https://pypi.org/project/docling/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about docling, a Python PDF extraction library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what docling does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of docling that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations of docling that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says docling handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Fast text extraction",
                          "Tables to DataFrames",
                          "Scanned PDFs",
                          "Layout and coordinates",
                          "Markdown for LLMs",
                          "Pure Python install",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Fast text extraction; Tables to DataFrames; Scanned PDFs; Layout and coordinates; Markdown for LLMs; Pure Python install."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library docling (docling on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library docling (docling on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library docling (docling on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library docling (docling) return or write when extracting from PDFs? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses docling for extracting text and tables from PDF files, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "open source Python app whose code calls docling to pull text, tables, and images out of PDF files for a program to use",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/IlyaRice/RAG-Challenge-2/blob/bc1d11f91c68e7fb08a303b28531f64d5e710095/src/pdf_parsing.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function _create_document_converter() in this file, which uses the docling library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What _create_document_converter() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the docling classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/cocoindex-io/cocoindex/blob/57ea82a87bea41a515e987e387849139702cf1da/examples/pdf_embedding/main.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function pdf_converter() in this file, which uses the docling library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What pdf_converter() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the docling classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/camelot-dev/camelot",
            "https://camelot-py.readthedocs.io",
            "https://pypi.org/project/camelot-py/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about camelot, a Python PDF extraction library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what camelot does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of camelot that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations of camelot that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says camelot handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Fast text extraction",
                          "Tables to DataFrames",
                          "Scanned PDFs",
                          "Layout and coordinates",
                          "Markdown for LLMs",
                          "Pure Python install",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Fast text extraction; Tables to DataFrames; Scanned PDFs; Layout and coordinates; Markdown for LLMs; Pure Python install."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library camelot (camelot-py on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library camelot (camelot-py on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library camelot (camelot-py on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library camelot (camelot-py) return or write when extracting from PDFs? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses camelot-py for extracting text and tables from PDF files, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/search",
        "body": {
          "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",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/genieincodebottle/parsemypdf/blob/6225465811795585d69b5b741e35504967a4d48b/pdf_parser_app.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function _parse_with_camelot() in this file, which uses the camelot library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What _parse_with_camelot() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the camelot classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/djay/covidthailand/blob/917c93ab7fc244bb315c307315bf78b425cbab03/utils_scraping.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function camelot_cache() in this file, which uses the camelot library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What camelot_cache() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the camelot classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/run-llama/liteparse",
            "https://developers.llamaindex.ai/liteparse/",
            "https://pypi.org/project/liteparse/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about liteparse, a Python PDF extraction library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what liteparse does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of liteparse that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A short claim about this library for PDF extraction, two to six words, sentence case, no final period: a statement with a verb or an adjective phrase, such as 'Best with machine-generated PDFs', 'Needs Tesseract for scanned pages', 'Slow on large files'. Never a noun category such as 'OCR requirement', 'Python version', or 'Platform scope', and never opening with No, Not, or Lacks."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence with the concrete consequence for a developer doing PDF extraction. No explaining what a concept is, no hedging (may, might, could), no talk of internal methods or strategies unless it names the API a developer calls. Nothing every library shares: Python version, language, or license. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations of liteparse that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says liteparse handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Fast text extraction",
                          "Tables to DataFrames",
                          "Scanned PDFs",
                          "Layout and coordinates",
                          "Markdown for LLMs",
                          "Pure Python install",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Fast text extraction; Tables to DataFrames; Scanned PDFs; Layout and coordinates; Markdown for LLMs; Pure Python install."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library liteparse (liteparse on PyPI) extract tables from PDF files into rows or DataFrames? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library liteparse (liteparse on PyPI) read scanned, image-only PDF pages using OCR? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library liteparse (liteparse on PyPI) extract the images embedded in PDF pages? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library liteparse (liteparse) return or write when extracting from PDFs? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses liteparse for extracting text and tables from PDF files, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "open source Python app whose code calls liteparse to pull text, tables, and images out of PDF files for a program to use",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/agent0ai/agent-zero/blob/bc2d447dddf45e7b4007a1c728537caa6f4e3283/plugins/_document_query/helpers/parsers/liteparse.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function _parse_in_process() in this file, which uses the liteparse library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What _parse_in_process() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the liteparse classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/Arindam200/awesome-ai-apps/blob/5d6bdb9507b8c672307a3897464500c1263bd575/rag_apps/liteparse_invoice_auditor/app.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function parse_document() in this file, which uses the liteparse library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What parse_document() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the liteparse classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/neuml/txtai/blob/ae898e69055da572577467ab37b312cde70bbe18/src/python/txtai/pipeline/data/filetohtml.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function __call__() in this file, which uses the liteparse library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What __call__() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the liteparse classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/feyninc/chonkie/blob/96a82afb4bfbfdffa64481d5b44ccad9565baaa8/src/chonkie/chef/liteparse.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function process() in this file, which uses the liteparse library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What process() does, in one plain sentence of at most twenty words, third person, present tense: the job first, then the liteparse classes or functions it uses, by name. Shape: '<Verb>s <the job> with <names>.' No list of every step. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      }
    ]
  }
}
