{
  "id": "task_libraries:pdf-table-extraction/python",
  "path": "/exapedia/python-pdf-table-extraction-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python PDF table extraction libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python PDF table extraction libraries find tables on PDF pages and return their rows and cells as data. A text-based extractor reads the characters and ruling lines stored in a digital PDF rather than recognizing text from page images. These libraries let data pipelines and AI agents load tables from reports, invoices, and filings into DataFrames."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python PDF table extraction libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#pymupdf-library",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F137"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pdfplumber",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F154"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#docling",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F169"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#unstructured",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F182"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#camelot",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F195"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tabula-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F210"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pdftwodocx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F221"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#paddleocr",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F234"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ]
            ]
          ],
          "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": "#pymupdf-library",
          "label": [
            {
              "t": "text",
              "text": "PyMuPDF"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F138"
        },
        {
          "t": "text",
          "text": ", a count that covers all its PDF work."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Table cells as dataframe",
            "Java backend"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#pymupdf-library",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F137"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pdfplumber",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F154"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#docling",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F169"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#unstructured",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F182"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#camelot",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F195"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tabula-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F210"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pdftwodocx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F221"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#paddleocr",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F234"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "pymupdf-library",
          "name": [
            {
              "t": "fact",
              "fact": "F137"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pymupdf/PyMuPDF"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pymupdf"
            },
            {
              "label": "Docs",
              "href": "https://pymupdf.readthedocs.io/en/latest/page.html#Page.find_tables"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F144"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pymupdf.readthedocs.io/en/latest/page.html#Page.find_tables",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F137"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/Filimoa/open-parse",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F152"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _ingest_with_pymupdf(\n    doc: Pdf,\n    parsing_args: PyMuPDFArgs,\n    verbose: bool = False,\n) -> List[TableElement]:\n    pdoc = doc.to_pymupdf_doc()\n    tables = []\n    for page_num, page in enumerate(pdoc):\n        tabs = page.find_tables()\n        for i, tab in enumerate(tabs.tables):\n            headers = tab.header.names\n            for j, header in enumerate(headers):\n                if header is None:\n                    headers[j] = \"\"\n                else:\n                    headers[j] = header.strip()\n            lines = tab.extract()\n\n            if parsing_args.table_output_format == \"str\":\n                text = pymupdf.output_to_markdown(headers, lines)\n            elif parsing_args.table_output_format == \"markdown\":\n                text = pymupdf.output_to_markdown(headers, lines)\n            elif parsing_args.table_output_format == \"html\":\n                text = pymupdf.output_to_html(headers, lines)\n\n            if verbose:\n                print(f\"Page {page_num} - Table {i + 1}:\\n{text}\\n\")\n\n            # Flip y-coordinates to match the top-left origin system\n            bbox = pymupdf.combine_header_and_table_bboxes(tab.bbox, tab.header.bbox)\n            fy0 = page.rect.height - bbox[3]\n            fy1 = page.rect.height - bbox[1]\n\n            table = TableElement(\n                bbox=Bbox(\n                    page=page_num,\n                    x0=bbox[0],\n                    y0=fy0,\n                    x1=bbox[2],\n                    y1=fy1,\n                    page_width=page.rect.width,\n                    page_height=page.rect.height,\n                ),\n                text=text,\n            )\n            tables.append(table)\n    return tables",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/Filimoa/open-parse/blob/6c2da9b5da5606c8297546be572984464f093964/src/openparse/tables/parse.py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F151"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pymupdf%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F137"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import sys\nimport pymupdf\n\nwith pymupdf.open(sys.argv[1]) as document:\n    print([table.extract() for table in document[0].find_tables().tables])\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pymupdf.readthedocs.io/en/latest/page.html#Page.find_tables",
                  "label": [
                    {
                      "t": "text",
                      "text": "page.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F142"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pdfplumber",
          "name": [
            {
              "t": "fact",
              "fact": "F154"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/jsvine/pdfplumber"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pdfplumber"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F37"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/jsvine/pdfplumber",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F154"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/microsoft/cat-agent-skills",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def main(argv=None):\n    parser = argparse.ArgumentParser(description=\"Extract PDF tables to xlsx/csv.\")\n    parser.add_argument(\"pdf\", help=\"path to the source PDF\")\n    parser.add_argument(\"--out-dir\", default=\"out\", help=\"directory for output files\")\n    parser.add_argument(\"--pages\", default=\"\", help=\"page selector, e.g. 2-5 or 1,3\")\n    parser.add_argument(\"--contains\", default=\"\", help=\"keep only tables containing this text (case-insensitive)\")\n    parser.add_argument(\"--prefix\", default=\"\", help=\"filename prefix for the output\")\n    parser.add_argument(\n        \"--format\",\n        choices=[\"xlsx\", \"csv\", \"both\"],\n        default=\"xlsx\",\n        help=\"output format (default: xlsx, one formatted tab per table)\",\n    )\n    args = parser.parse_args(argv)\n\n    try:\n        import pdfplumber  # noqa: WPS433 (imported lazily so the message is clear)\n    except ImportError:\n        sys.exit(\n            \"pdfplumber is required. Install it with `pip install pdfplumber`, \"\n            \"or extract the tables manually following the skill's cleaning rules.\"\n        )\n\n    want_xlsx = args.format in (\"xlsx\", \"both\")\n    workbook = None\n    if want_xlsx:\n        try:\n            from openpyxl import Workbook\n        except ImportError:\n            if args.format == \"xlsx\":\n                sys.stderr.write(\n                    \"openpyxl not available; falling back to CSV output. \"\n                    \"Install it with `pip install openpyxl` for formatted .xlsx.\\n\"\n                )\n                args.format = \"csv\"\n                want_xlsx = False\n            else:\n                sys.stderr.write(\n                    \"openpyxl not available; producing CSV only.\\n\"\n                )\n                want_xlsx = False\n        else:\n            workbook = Workbook()\n            workbook.remove(workbook.active)\n\n    want_csv = args.format in (\"csv\", \"both\")\n\n    if not os.path.isfile(args.pdf):\n        sys.exit(f\"file not found: {args.pdf}\")\n\n    os.makedirs(args.out_dir, exist_ok=True)\n    base = args.prefix or slugify(os.path.splitext(os.path.basename(args.pdf))[0], \"document\")\n    needle = args.contains.lower()\n\n    tables_out, csv_files, used_titles = [], [], set()\n    with pdfplumber.open(args.pdf) as pdf:\n        page_indexes = parse_pages(args.pages, len(pdf.pages))\n        for page_index in page_indexes:\n            page = pdf.pages[page_index]\n            page_number = page_index + 1\n            tables = page.extract_tables() or []\n            for table_number, raw in enumerate(tables, start=1):\n                grid = clean_table(raw)\n                if not grid:\n                    continue\n                if needle and needle not in \"\\n\".join(\n                    \" \".join(row) for row in grid\n                ).lower():\n                    continue\n\n                entry = {\"page\": page_number, \"rows\": len(grid), \"columns\": len(grid[0])}\n\n                if want_csv:\n                    csv_name = f\"{base}-p{page_number}-t{table_number}.csv\"\n                    csv_path = os.path.join(args.out_dir, csv_name)\n                    write_csv(csv_path, grid)\n                    csv_files.append(csv_path)\n                    entry[\"csv\"] = csv_path\n\n                if want_xlsx:\n                    title = sheet_title(base, page_number, table_number, used_titles)\n                    worksheet = workbook.create_sheet(title=title)\n                    for row in grid:\n                        worksheet.append(row)\n                        # Force every cell to text so values are preserved\n                        # verbatim — otherwise a cell like \"=high\" or \"-5\" would\n                        # be interpreted by openpyxl/Excel as a formula and lose\n                        # its original value.\n                        for cell in worksheet[worksheet.max_row]:\n                            cell.data_type = \"s\"\n                    style_sheet(worksheet, grid)\n                    entry[\"sheet\"] = title\n\n                tables_out.append(entry)\n\n    xlsx_path = None\n    if want_xlsx and tables_out:\n        xlsx_path = os.path.join(args.out_dir, f\"{base}.xlsx\")\n        workbook.save(xlsx_path)\n\n    summary = {\n        \"source\": args.pdf,\n        \"count\": len(tables_out),\n        \"xlsx\": xlsx_path,\n        \"csv_files\": csv_files,\n        \"tables\": tables_out,\n    }\n    json.dump(summary, sys.stdout, indent=2)\n    sys.stdout.write(\"\\n\")\n    if not tables_out:\n        sys.stderr.write(\n            \"No tables matched. Try a different --pages range, drop --contains, \"\n            \"or verify the PDF has extractable (non-image) tables.\\n\"\n        )\n        return 1\n    return 0",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/microsoft/cat-agent-skills/blob/189409b5be6caf7c83bfaac1857044e72b053dbe/submissions/pdf-table-data-conversion/scripts/extract_tables.py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F166"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20pdfplumber%20to%20extract%20PDF%20table%20rows%20and%20coordinates&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F154"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import sys\nimport pdfplumber\n\nwith pdfplumber.open(sys.argv[1]) as document:\n    print(document.pages[0].extract_tables())\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/jsvine/pdfplumber/blob/v0.11.10/pdfplumber/page.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "extract-table-ca-warn-report.ipynb"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F159"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "docling",
          "name": [
            {
              "t": "fact",
              "fact": "F169"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/docling-project/docling"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/docling"
            },
            {
              "label": "Docs",
              "href": "https://api.github.com/repos/docling-project/docling/contents/docling/document_converter.py?ref=v2.150.1"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F176"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/docling-project/docling/contents/docling/document_converter.py?ref=v2.150.1",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F169"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import sys\nfrom docling.document_converter import DocumentConverter\n\nresult = DocumentConverter().convert(sys.argv[1])\nprint([table.export_to_dataframe(doc=result.document) for table in result.document.tables])\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/docling-project/docling/blob/v2.150.1/docling/document_converter.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "document_converter.py"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=docling%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F169"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F174"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "unstructured",
          "name": [
            {
              "t": "fact",
              "fact": "F182"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/Unstructured-IO/unstructured"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/unstructured"
            },
            {
              "label": "Docs",
              "href": "https://api.github.com/repos/Unstructured-IO/unstructured/contents/unstructured/partition/pdf.py?ref=0.27.37"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F189"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/Unstructured-IO/unstructured/contents/unstructured/partition/pdf.py?ref=0.27.37",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F182"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import sys\nfrom unstructured.partition.pdf import partition_pdf\n\nelements = partition_pdf(filename=sys.argv[1], strategy=\"hi_res\", infer_table_structure=True)\nprint([element.metadata.text_as_html for element in elements if element.category == \"Table\"])\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/Unstructured-IO/unstructured/blob/0.27.37/unstructured/partition/pdf.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "pdf.py"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=unstructured%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F182"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F187"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "camelot",
          "name": [
            {
              "t": "fact",
              "fact": "F195"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/camelot-dev/camelot"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/camelot-py"
            },
            {
              "label": "Docs",
              "href": "https://github.com/camelot-dev/camelot/blob/master/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F62"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/camelot-dev/camelot/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F195"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/run-llama/llama_index",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F208"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def load_data(\n    self, file: Path, pages: str = \"1\", extra_info: Optional[Dict] = None\n) -> List[Document]:\n    \"\"\"\n    Load data and extract table from PDF file.\n\n    Args:\n        file (Path): Path for the PDF file.\n        pages (str): Pages to read tables from.\n        extra_info (Optional[Dict]): Extra information.\n\n    Returns:\n        List[Document]: List of documents.\n\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/99d7433f6f71888951379ccca9294e272442c832/llama-index-integrations/readers/llama-index-readers-pdf-table/llama_index/readers/pdf_table/base.py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F207"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20camelot-py%20to%20extract%20PDF%20table%20rows%20and%20coordinates&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F195"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import sys\nimport camelot\n\ntables = camelot.read_pdf(sys.argv[1])\nprint([table.df for table in tables])\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/camelot-dev/camelot/blob/v2.0.0/camelot/io.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F200"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "tabula-py",
          "name": [
            {
              "t": "fact",
              "fact": "F210"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/chezou/tabula-py"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/tabula-py"
            },
            {
              "label": "Docs",
              "href": "https://tabula-py.readthedocs.io/en/latest/tabula.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F89"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://tabula-py.readthedocs.io/en/latest/tabula.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F210"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F90"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F93"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F94"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F95"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F96"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F97"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import sys\nimport tabula\n\nprint(tabula.read_pdf(sys.argv[1], pages=\"all\"))\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/chezou/tabula-py/blob/v2.11.0/tabula/io.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20tabula-py%20to%20extract%20PDF%20table%20rows%20and%20coordinates&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F210"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F215"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pdftwodocx",
          "name": [
            {
              "t": "fact",
              "fact": "F221"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ArtifexSoftware/pdf2docx"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pdf2docx"
            },
            {
              "label": "Docs",
              "href": "https://pdf2docx.readthedocs.io/en/latest/quickstart.table.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F228"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pdf2docx.readthedocs.io/en/latest/quickstart.table.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F221"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import sys\nfrom pdf2docx import Converter\n\nconverter = Converter(sys.argv[1])\ntry:\n    print(converter.extract_tables(start=0, end=1))\nfinally:\n    converter.close()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/ArtifexSoftware/pdf2docx/blob/v0.5.13/pdf2docx/converter.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "quickstart.table.rst"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pdf2docx%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F221"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F226"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "paddleocr",
          "name": [
            {
              "t": "fact",
              "fact": "F234"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/PaddlePaddle/PaddleOCR"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/paddleocr"
            },
            {
              "label": "Docs",
              "href": "https://www.paddleocr.ai/latest/en/version3.x/pipeline_usage/PP-StructureV3.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F241"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.paddleocr.ai/latest/en/version3.x/pipeline_usage/PP-StructureV3.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F234"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import sys\nfrom paddleocr import PPStructureV3\n\npipeline = PPStructureV3(use_table_recognition=True)\nfor result in pipeline.predict(input=sys.argv[1]):\n    result.save_to_html(save_path=\"table-output\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/PaddlePaddle/PaddleOCR/blob/v3.7.0/paddleocr/_pipelines/pp_structurev3.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=paddleocr%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F234"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F239"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python PDF table extraction library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#pdfplumber",
          "label": [
            {
              "t": "text",
              "text": "pdfplumber"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits digital PDFs where table settings need tuning against characters and lines. "
        },
        {
          "t": "link",
          "href": "#camelot",
          "label": [
            {
              "t": "text",
              "text": "Camelot"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits table-only extraction straight into pandas DataFrames. "
        },
        {
          "t": "link",
          "href": "#docling",
          "label": [
            {
              "t": "text",
              "text": "Docling"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits whole-document conversion with optional OCR for scanned pages."
        }
      ]
    },
    {
      "q": "What is Docling?",
      "a": [
        {
          "t": "link",
          "href": "#docling",
          "label": [
            {
              "t": "text",
              "text": "Docling"
            }
          ]
        },
        {
          "t": "text",
          "text": " converts PDF, DOCX, HTML, and other formats into one document model that includes tables. It runs locally and can use optional OCR backends."
        }
      ]
    },
    {
      "q": "What is pdfplumber?",
      "a": [
        {
          "t": "link",
          "href": "#pdfplumber",
          "label": [
            {
              "t": "text",
              "text": "pdfplumber"
            }
          ]
        },
        {
          "t": "text",
          "text": " exposes every character, line, and rectangle on a PDF page and finds tables from them. Its extract_tables method returns nested lists of cells rather than DataFrames."
        }
      ]
    },
    {
      "q": "How do I extract tables from a PDF in Python?",
      "a": [
        {
          "t": "link",
          "href": "#camelot",
          "label": [
            {
              "t": "text",
              "text": "Camelot"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#tabula-py",
          "label": [
            {
              "t": "text",
              "text": "tabula-py"
            }
          ]
        },
        {
          "t": "text",
          "text": " read PDF tables directly into pandas DataFrames. tabula-py wraps tabula-java and requires a Java runtime."
        }
      ]
    },
    {
      "q": "What is Camelot?",
      "a": [
        {
          "t": "link",
          "href": "#camelot",
          "label": [
            {
              "t": "text",
              "text": "Camelot"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a dedicated PDF table parser that returns pandas DataFrames, with lattice, stream, network, and hybrid parsing modes."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, PyMuPDF",
      "display": "PyMuPDF",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, PyMuPDF",
      "display": "159.6M",
      "asOf": "2026-11-17"
    },
    "F3": {
      "label": "License, PyMuPDF",
      "display": "Dual Licensed - GNU AFFERO GPL 3.0 OR Artifex Commercial License",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, PyMuPDF",
      "display": "2.1, Nov 2026",
      "asOf": "2026-11-02"
    },
    "F5": {
      "label": "Package release date, PyMuPDF",
      "display": "Nov 2026",
      "asOf": "2026-11-02"
    },
    "F6": {
      "label": "Repository stars, PyMuPDF",
      "display": "11.1K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Ruled tables, PyMuPDF",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Borderless tables, PyMuPDF",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Page regions, PyMuPDF",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Multiple pages, PyMuPDF",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Output formats, PyMuPDF",
      "display": "Markdown",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "Install, PyMuPDF",
      "display": "pip install PyMuPDF pandas",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "What it does, PyMuPDF",
      "display": "Finds page tables and returns rows, geometry and serialized Markdown.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, PyMuPDF",
      "display": "Returns Markdown table text",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, PyMuPDF",
      "display": "Use table.to_markdown() to serialize a detected table.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths lead, PyMuPDF",
      "display": "Can supplement missing table lines",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "strengths, PyMuPDF",
      "display": "Pass add_lines to add virtual guides alongside detected page geometry.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations lead, PyMuPDF",
      "display": "Tables depend on live pages",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations, PyMuPDF",
      "display": "Extract or copy table content before deleting or reassigning its page.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "Quickstart, PyMuPDF",
      "display": "import pymupdf\n\n# Open the PDF document\ndoc = pymupdf.open(\"example.pdf\")\npage = doc[0]  # Process the first page\n\n# Detect tables on the page using table finder\ntables = page.find_tables()\n\nif not tables.tables:\n    print(\"No tables found on this page.\")\nelse:\n    for index, table in enumerate(tables):\n        print(f\"\\nTable {index+1} found:\")\n\n        # Convert the table to Markdown text\n        md_table = table.to_markdown()\n        print(\"\\nMarkdown representation:\")\n        print(md_table)\n\n        # Convert the table to a pandas DataFrame\n        df_table = table.to_pandas()\n        print(\"\\nPandas DataFrame:\")\n        print(df_table)\n\n        # Optional: Export to CSV, JSON, or Excel\n        df_table.to_csv(f\"table_{index+1}.csv\", index=False)\n        # df_table.to_excel(f\"table_{index+1}.xlsx\", index=False)\n        # df_table.to_json(f\"table_{index+1}.json\", orient=\"records\")\n\nprint(\"\\nTable extraction complete!\")\n\n",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Project function, PyMuPDF",
      "display": "def _ingest_with_pymupdf(\n    doc: Pdf,\n    parsing_args: PyMuPDFArgs,\n    verbose: bool = False,\n) -> List[TableElement]:\n    pdoc = doc.to_pymupdf_doc()\n    tables = []\n    for page_num, page in enumerate(pdoc):\n        tabs = page.find_tables()\n        for i, tab in enumerate(tabs.tables):\n            headers = tab.header.names\n            for j, header in enumerate(headers):\n                if header is None:\n                    headers[j] = \"\"\n                else:\n                    headers[j] = header.strip()\n            lines = tab.extract()\n\n            if parsing_args.table_output_format == \"str\":\n                text = pymupdf.output_to_markdown(headers, lines)\n            elif parsing_args.table_output_format == \"markdown\":\n                text = pymupdf.output_to_markdown(headers, lines)\n            elif parsing_args.table_output_format == \"html\":\n                text = pymupdf.output_to_html(headers, lines)\n\n            if verbose:\n                print(f\"Page {page_num} - Table {i + 1}:\\n{text}\\n\")\n\n            # Flip y-coordinates to match the top-left origin system\n            bbox = pymupdf.combine_header_and_table_bboxes(tab.bbox, tab.header.bbox)\n            fy0 = page.rect.height - bbox[3]\n            fy1 = page.rect.height - bbox[1]\n\n            table = TableElement(\n                bbox=Bbox(\n                    page=page_num,\n                    x0=bbox[0],\n                    y0=fy0,\n                    x1=bbox[2],\n                    y1=fy1,\n                    page_width=page.rect.width,\n                    page_height=page.rect.height,\n                ),\n                text=text,\n            )\n            tables.append(table)\n    return tables\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function reference, PyMuPDF",
      "display": "parse.py · _ingest_with_pymupdf()",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project repository, PyMuPDF",
      "display": "Filimoa/open-parse",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project stars, Filimoa/open-parse",
      "display": "3.1K",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project push date, Filimoa/open-parse",
      "display": "May 2026",
      "asOf": "2026-05-17"
    },
    "F26": {
      "label": "Library name, pdfplumber",
      "display": "pdfplumber",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "Monthly downloads, pdfplumber",
      "display": "65.9M",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "License, pdfplumber",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Package release, pdfplumber",
      "display": "0.11.10, Jun 2026",
      "asOf": "2026-06-15"
    },
    "F30": {
      "label": "Package release date, pdfplumber",
      "display": "Jun 2026",
      "asOf": "2026-06-15"
    },
    "F31": {
      "label": "Repository stars, pdfplumber",
      "display": "10.9K",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Ruled tables, pdfplumber",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Borderless tables, pdfplumber",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Page regions, pdfplumber",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Multiple pages, pdfplumber",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Install, pdfplumber",
      "display": "pip install pdfplumber",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "What it does, pdfplumber",
      "display": "Extracts table rows while exposing cells, edges, and page geometry.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths lead, pdfplumber",
      "display": "Exposes table cells and bounds",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths, pdfplumber",
      "display": "Inspect cells, rows, columns, and bounding boxes before extracting values.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths lead, pdfplumber",
      "display": "Crops before table extraction",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths, pdfplumber",
      "display": "Crop the page to focus extraction on the relevant table area.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations lead, pdfplumber",
      "display": "Scanned PDFs",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations, pdfplumber",
      "display": "Handles machine-generated PDFs more reliably than scanned PDFs.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "Quickstart, pdfplumber",
      "display": "import pdfplumber\nprint(pdfplumber.__version__)\n\npdf = pdfplumber.open(\"../pdfs/ca-warn-report.pdf\")\n\np0 = pdf.pages[0]\n\ntable = p0.extract_table()\n\ntable[:3]\n",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Project function, pdfplumber",
      "display": "def main(argv=None):\n    parser = argparse.ArgumentParser(description=\"Extract PDF tables to xlsx/csv.\")\n    parser.add_argument(\"pdf\", help=\"path to the source PDF\")\n    parser.add_argument(\"--out-dir\", default=\"out\", help=\"directory for output files\")\n    parser.add_argument(\"--pages\", default=\"\", help=\"page selector, e.g. 2-5 or 1,3\")\n    parser.add_argument(\"--contains\", default=\"\", help=\"keep only tables containing this text (case-insensitive)\")\n    parser.add_argument(\"--prefix\", default=\"\", help=\"filename prefix for the output\")\n    parser.add_argument(\n        \"--format\",\n        choices=[\"xlsx\", \"csv\", \"both\"],\n        default=\"xlsx\",\n        help=\"output format (default: xlsx, one formatted tab per table)\",\n    )\n    args = parser.parse_args(argv)\n\n    try:\n        import pdfplumber  # noqa: WPS433 (imported lazily so the message is clear)\n    except ImportError:\n        sys.exit(\n            \"pdfplumber is required. Install it with `pip install pdfplumber`, \"\n            \"or extract the tables manually following the skill's cleaning rules.\"\n        )\n\n    want_xlsx = args.format in (\"xlsx\", \"both\")\n    workbook = None\n    if want_xlsx:\n        try:\n            from openpyxl import Workbook\n        except ImportError:\n            if args.format == \"xlsx\":\n                sys.stderr.write(\n                    \"openpyxl not available; falling back to CSV output. \"\n                    \"Install it with `pip install openpyxl` for formatted .xlsx.\\n\"\n                )\n                args.format = \"csv\"\n                want_xlsx = False\n            else:\n                sys.stderr.write(\n                    \"openpyxl not available; producing CSV only.\\n\"\n                )\n                want_xlsx = False\n        else:\n            workbook = Workbook()\n            workbook.remove(workbook.active)\n\n    want_csv = args.format in (\"csv\", \"both\")\n\n    if not os.path.isfile(args.pdf):\n        sys.exit(f\"file not found: {args.pdf}\")\n\n    os.makedirs(args.out_dir, exist_ok=True)\n    base = args.prefix or slugify(os.path.splitext(os.path.basename(args.pdf))[0], \"document\")\n    needle = args.contains.lower()\n\n    tables_out, csv_files, used_titles = [], [], set()\n    with pdfplumber.open(args.pdf) as pdf:\n        page_indexes = parse_pages(args.pages, len(pdf.pages))\n        for page_index in page_indexes:\n            page = pdf.pages[page_index]\n            page_number = page_index + 1\n            tables = page.extract_tables() or []\n            for table_number, raw in enumerate(tables, start=1):\n                grid = clean_table(raw)\n                if not grid:\n                    continue\n                if needle and needle not in \"\\n\".join(\n                    \" \".join(row) for row in grid\n                ).lower():\n                    continue\n\n                entry = {\"page\": page_number, \"rows\": len(grid), \"columns\": len(grid[0])}\n\n                if want_csv:\n                    csv_name = f\"{base}-p{page_number}-t{table_number}.csv\"\n                    csv_path = os.path.join(args.out_dir, csv_name)\n                    write_csv(csv_path, grid)\n                    csv_files.append(csv_path)\n                    entry[\"csv\"] = csv_path\n\n                if want_xlsx:\n                    title = sheet_title(base, page_number, table_number, used_titles)\n                    worksheet = workbook.create_sheet(title=title)\n                    for row in grid:\n                        worksheet.append(row)\n                        # Force every cell to text so values are preserved\n                        # verbatim — otherwise a cell like \"=high\" or \"-5\" would\n                        # be interpreted by openpyxl/Excel as a formula and lose\n                        # its original value.\n                        for cell in worksheet[worksheet.max_row]:\n                            cell.data_type = \"s\"\n                    style_sheet(worksheet, grid)\n                    entry[\"sheet\"] = title\n\n                tables_out.append(entry)\n\n    xlsx_path = None\n    if want_xlsx and tables_out:\n        xlsx_path = os.path.join(args.out_dir, f\"{base}.xlsx\")\n        workbook.save(xlsx_path)\n\n    summary = {\n        \"source\": args.pdf,\n        \"count\": len(tables_out),\n        \"xlsx\": xlsx_path,\n        \"csv_files\": csv_files,\n        \"tables\": tables_out,\n    }\n    json.dump(summary, sys.stdout, indent=2)\n    sys.stdout.write(\"\\n\")\n    if not tables_out:\n        sys.stderr.write(\n            \"No tables matched. Try a different --pages range, drop --contains, \"\n            \"or verify the PDF has extractable (non-image) tables.\\n\"\n        )\n        return 1\n    return 0\n",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Project function reference, pdfplumber",
      "display": "extract_tables.py · main()",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project repository, pdfplumber",
      "display": "microsoft/cat-agent-skills",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project stars, microsoft/cat-agent-skills",
      "display": "109",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project push date, microsoft/cat-agent-skills",
      "display": "Nov 2026",
      "asOf": "2026-11-15"
    },
    "F50": {
      "label": "Library name, camelot-py",
      "display": "Camelot",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Monthly downloads, camelot-py",
      "display": "2.0M",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "License, camelot-py",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Package release, camelot-py",
      "display": "2.0.0, Jun 2026",
      "asOf": "2026-06-04"
    },
    "F54": {
      "label": "Package release date, camelot-py",
      "display": "Jun 2026",
      "asOf": "2026-06-04"
    },
    "F55": {
      "label": "Repository stars, camelot-py",
      "display": "3.9K",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Ruled tables, camelot-py",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Borderless tables, camelot-py",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Page regions, camelot-py",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Multiple pages, camelot-py",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Output formats, camelot-py",
      "display": "CSV, JSON, HTML",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Install, camelot-py",
      "display": "pip install camelot-py",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "What it does, camelot-py",
      "display": "Extracts PDF tables using selectable rule-based or optional neural parsers.",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "strengths lead, camelot-py",
      "display": "Chooses parsers for different layouts",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "strengths, camelot-py",
      "display": "Use lattice for ruled tables or stream for whitespace-separated tables.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, camelot-py",
      "display": "Exports tables directly",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, camelot-py",
      "display": "Save extracted tables as CSV, JSON, or HTML.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "limitations lead, camelot-py",
      "display": "Scanned pages need OCR extras",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "limitations, camelot-py",
      "display": "Install the neural and OCR extras, then select the ml parser.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations lead, camelot-py",
      "display": "Reads the first page initially",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations, camelot-py",
      "display": "Set pages explicitly to extract tables beyond the first page.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "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!\n",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project function, camelot-py",
      "display": "def load_data(\n    self, file: Path, pages: str = \"1\", extra_info: Optional[Dict] = None\n) -> List[Document]:\n    \"\"\"\n    Load data and extract table from PDF file.\n\n    Args:\n        file (Path): Path for the PDF file.\n        pages (str): Pages to read tables from.\n        extra_info (Optional[Dict]): Extra information.\n\n    Returns:\n        List[Document]: List of documents.\n\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\n",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project function reference, camelot-py",
      "display": "base.py · load_data()",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project repository, camelot-py",
      "display": "run-llama/llama_index",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project stars, run-llama/llama_index",
      "display": "52.9K",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Project push date, run-llama/llama_index",
      "display": "Nov 2026",
      "asOf": "2026-11-14"
    },
    "F77": {
      "label": "Library name, tabula-py",
      "display": "tabula-py",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Monthly downloads, tabula-py",
      "display": "1.7M",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "License, tabula-py",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Package release, tabula-py",
      "display": "2.11.0, Nov 2026",
      "asOf": "2026-11-09"
    },
    "F81": {
      "label": "Package release date, tabula-py",
      "display": "Nov 2026",
      "asOf": "2026-11-09"
    },
    "F82": {
      "label": "Repository stars, tabula-py",
      "display": "2.3K",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Ruled tables, tabula-py",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Borderless tables, tabula-py",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Page regions, tabula-py",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Multiple pages, tabula-py",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "Output formats, tabula-py",
      "display": "CSV, JSON",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "Install, tabula-py",
      "display": "pip install tabula-py",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "What it does, tabula-py",
      "display": "Wraps the Java table-extraction engine with Python data-frame and file conversion APIs.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "strengths lead, tabula-py",
      "display": "Handles ruled and unruled tables",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "strengths, tabula-py",
      "display": "Choose lattice for cell borders or stream for tables without borders.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "strengths lead, tabula-py",
      "display": "Targets a selected page area",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "strengths, tabula-py",
      "display": "Pass area to limit extraction to the chosen page rectangle.",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "limitations lead, tabula-py",
      "display": "Requires a working Java installation",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "limitations, tabula-py",
      "display": "Install Java and make its command available to the Python process.",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "limitations lead, tabula-py",
      "display": "Reads the first page initially",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "limitations, tabula-py",
      "display": "Use pages=\"all\" when the whole document should be searched.",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Quickstart, tabula-py",
      "display": "import tabula\n\n# Read pdf into list of DataFrame\ndfs = tabula.read_pdf(\"test.pdf\", pages='all')\n\n# Read remote pdf into list of DataFrame\ndfs2 = tabula.read_pdf(\"https://github.com/tabulapdf/tabula-java/raw/master/src/test/resources/technology/tabula/arabic.pdf\")\n\n# convert PDF into CSV file\ntabula.convert_into(\"test.pdf\", \"output.csv\", output_format=\"csv\", pages='all')\n\n# convert all PDFs in a directory\ntabula.convert_into_by_batch(\"input_directory\", output_format='csv', pages='all')\n",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Developer need",
      "display": "Exporting extracted tables into files",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Why choose camelot-py",
      "display": "native table export methods",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need in introduction",
      "display": "exporting extracted tables into files",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "When to consider pdfplumber",
      "display": "inspecting cell geometry matters more than direct exports",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need",
      "display": "Reusing Java table extraction from Python",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Why choose tabula-py",
      "display": "the lattice and stream wrapper options",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need in introduction",
      "display": "reusing Java table extraction from Python",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "When to consider camelot-py",
      "display": "choosing Python parsers for different table layouts",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need",
      "display": "Inspecting table cell geometry",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Why choose pdfplumber",
      "display": "cells, rows, columns, and bounds",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need in introduction",
      "display": "inspecting table cell geometry",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "When to consider PyMuPDF",
      "display": "native Markdown table output is needed",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Developer need",
      "display": "Producing Markdown from detected tables",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Why choose PyMuPDF",
      "display": "native table Markdown serialization",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Developer need in introduction",
      "display": "producing Markdown from detected tables",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "When to consider camelot-py",
      "display": "direct CSV or JSON table export is needed",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "Page introduction",
      "display": "Python PDF table extraction libraries let application developers extract tables from PDF documents.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Which library should handle ruled or borderless tables?",
      "display": "Camelot offers lattice for ruled tables and stream for whitespace-based layouts.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Which library should handle ruled or borderless tables?",
      "display": "tabula-py provides lattice and stream options through its external Java engine.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Which library should handle ruled or borderless tables?",
      "display": "PyMuPDF can infer virtual row and column boundaries from text positions.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Can Camelot extract tables from scanned PDFs?",
      "display": "Its built-in parsers need text-based PDFs; image-only input needs the optional neural backend and OCR extras with the ml parser.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Why does tabula-py need Java?",
      "display": "It wraps tabula-java and requires an installed Java command available to the Python process.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: How do page ranges differ between these libraries?",
      "display": "Camelot accepts page lists and ranges through pages.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: How do page ranges differ between these libraries?",
      "display": "tabula-py defaults to the first page; pages=\"all\" requests the full document.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: How do page ranges differ between these libraries?",
      "display": "PyMuPDF exposes document page iteration for per-page processing.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Can a page region be selected before extracting tables?",
      "display": "Camelot table_areas takes rectangles in PDF coordinate space with a bottom-left origin.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Can a page region be selected before extracting tables?",
      "display": "tabula-py area uses top, left, bottom, right values.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Can a page region be selected before extracting tables?",
      "display": "pdfplumber crop takes x0, top, x1, bottom values.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Can a page region be selected before extracting tables?",
      "display": "PyMuPDF find_tables accepts clip to restrict the search region.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Which libraries export extracted tables directly?",
      "display": "Camelot exports CSV, JSON, HTML, and other named table formats.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: Which libraries export extracted tables directly?",
      "display": "tabula-py conversion produces CSV, TSV, or JSON files.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: Which libraries export extracted tables directly?",
      "display": "PyMuPDF Table.to_markdown returns a serialized Markdown table string.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "FAQ: What is the difference between pdfplumber extract_table and extract_tables?",
      "display": "extract_table returns rows from the largest table; extract_tables returns all detected tables on that page.",
      "asOf": "2026-11-17"
    },
    "F132": {
      "label": "FAQ: How can table geometry be retained?",
      "display": "pdfplumber Table objects expose cells, rows, columns, and bbox alongside extraction.",
      "asOf": "2026-11-17"
    },
    "F133": {
      "label": "FAQ: Can PyMuPDF table objects survive after a page is discarded?",
      "display": "TableFinder and its tables share the page lifetime; copy rows or serialize content before deleting or reassigning the page.",
      "asOf": "2026-11-17"
    },
    "F134": {
      "label": "FAQ: How can PyMuPDF use pure line-based detection?",
      "display": "Set use_layout=False to disable layout-analysis gating of line-based table candidates.",
      "asOf": "2026-11-17"
    },
    "F135": {
      "label": "FAQ: Does extracting several pages automatically join continued tables?",
      "display": "Camelot separately exposes stack_contiguous to stitch table continuations across pages.",
      "asOf": "2026-11-17"
    },
    "F136": {
      "label": "FAQ: Does extracting several pages automatically join continued tables?",
      "display": "PyMuPDF supplies separate notebook examples for joining fragments across pages.",
      "asOf": "2026-11-17"
    },
    "F137": {
      "label": "Library name, pymupdf",
      "display": "PyMuPDF",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Monthly downloads, pymupdf",
      "display": "171.3M",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "License, pymupdf",
      "display": "AGPL-3.0 or commercial",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Package release, pymupdf",
      "display": "2.1",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Package release date, pymupdf",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Install, pymupdf",
      "display": "python3.11 -m pip install pymupdf==2.1",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Quickstart, pymupdf",
      "display": "import sys\nimport pymupdf\n\nwith pymupdf.open(sys.argv[1]) as document:\n    print([table.extract() for table in document[0].find_tables().tables])\n",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Official description, pymupdf",
      "display": "Extracts, analyzes, converts, and edits PDF and other documents.",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Quickstart source file, pymupdf",
      "display": "page.html",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Repository stars, pymupdf",
      "display": "11.2K",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Table cells as dataframe, pymupdf",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Java backend, pymupdf",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Table interface and runtime, pymupdf",
      "display": "Document/page toolkit with native table finding, cell/header bounds, grid extraction, and pandas export; current2.1 distribution bundles layout and4LLM companions.",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Project function, pymupdf",
      "display": "def _ingest_with_pymupdf(\n    doc: Pdf,\n    parsing_args: PyMuPDFArgs,\n    verbose: bool = False,\n) -> List[TableElement]:\n    pdoc = doc.to_pymupdf_doc()\n    tables = []\n    for page_num, page in enumerate(pdoc):\n        tabs = page.find_tables()\n        for i, tab in enumerate(tabs.tables):\n            headers = tab.header.names\n            for j, header in enumerate(headers):\n                if header is None:\n                    headers[j] = \"\"\n                else:\n                    headers[j] = header.strip()\n            lines = tab.extract()\n\n            if parsing_args.table_output_format == \"str\":\n                text = pymupdf.output_to_markdown(headers, lines)\n            elif parsing_args.table_output_format == \"markdown\":\n                text = pymupdf.output_to_markdown(headers, lines)\n            elif parsing_args.table_output_format == \"html\":\n                text = pymupdf.output_to_html(headers, lines)\n\n            if verbose:\n                print(f\"Page {page_num} - Table {i + 1}:\\n{text}\\n\")\n\n            # Flip y-coordinates to match the top-left origin system\n            bbox = pymupdf.combine_header_and_table_bboxes(tab.bbox, tab.header.bbox)\n            fy0 = page.rect.height - bbox[3]\n            fy1 = page.rect.height - bbox[1]\n\n            table = TableElement(\n                bbox=Bbox(\n                    page=page_num,\n                    x0=bbox[0],\n                    y0=fy0,\n                    x1=bbox[2],\n                    y1=fy1,\n                    page_width=page.rect.width,\n                    page_height=page.rect.height,\n                ),\n                text=text,\n            )\n            tables.append(table)\n    return tables",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Project source file, pymupdf",
      "display": "src/openparse/tables/parse.py",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Project full_name, pymupdf",
      "display": "Filimoa/open-parse",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Project stargazers_count, pymupdf",
      "display": "3.1K",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Library name, pdfplumber",
      "display": "pdfplumber",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Monthly downloads, pdfplumber",
      "display": "69.7M",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "License, pdfplumber",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Package release, pdfplumber",
      "display": "0.11.10",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Package release date, pdfplumber",
      "display": "Jun 2026",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Install, pdfplumber",
      "display": "python3.11 -m pip install pdfplumber==0.11.10",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Quickstart, pdfplumber",
      "display": "import sys\nimport pdfplumber\n\nwith pdfplumber.open(sys.argv[1]) as document:\n    print(document.pages[0].extract_tables())\n",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Repository stars, pdfplumber",
      "display": "10.9K",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Table cells as dataframe, pdfplumber",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Java backend, pdfplumber",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Table interface and runtime, pdfplumber",
      "display": "Character/line/rectangle inspection with configurable table finding and cell geometry; extract_tables returns nested cell lists, not a pandas table exporter.",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Project function, pdfplumber",
      "display": "def main(argv=None):\n    parser = argparse.ArgumentParser(description=\"Extract PDF tables to xlsx/csv.\")\n    parser.add_argument(\"pdf\", help=\"path to the source PDF\")\n    parser.add_argument(\"--out-dir\", default=\"out\", help=\"directory for output files\")\n    parser.add_argument(\"--pages\", default=\"\", help=\"page selector, e.g. 2-5 or 1,3\")\n    parser.add_argument(\"--contains\", default=\"\", help=\"keep only tables containing this text (case-insensitive)\")\n    parser.add_argument(\"--prefix\", default=\"\", help=\"filename prefix for the output\")\n    parser.add_argument(\n        \"--format\",\n        choices=[\"xlsx\", \"csv\", \"both\"],\n        default=\"xlsx\",\n        help=\"output format (default: xlsx, one formatted tab per table)\",\n    )\n    args = parser.parse_args(argv)\n\n    try:\n        import pdfplumber  # noqa: WPS433 (imported lazily so the message is clear)\n    except ImportError:\n        sys.exit(\n            \"pdfplumber is required. Install it with `pip install pdfplumber`, \"\n            \"or extract the tables manually following the skill's cleaning rules.\"\n        )\n\n    want_xlsx = args.format in (\"xlsx\", \"both\")\n    workbook = None\n    if want_xlsx:\n        try:\n            from openpyxl import Workbook\n        except ImportError:\n            if args.format == \"xlsx\":\n                sys.stderr.write(\n                    \"openpyxl not available; falling back to CSV output. \"\n                    \"Install it with `pip install openpyxl` for formatted .xlsx.\\n\"\n                )\n                args.format = \"csv\"\n                want_xlsx = False\n            else:\n                sys.stderr.write(\n                    \"openpyxl not available; producing CSV only.\\n\"\n                )\n                want_xlsx = False\n        else:\n            workbook = Workbook()\n            workbook.remove(workbook.active)\n\n    want_csv = args.format in (\"csv\", \"both\")\n\n    if not os.path.isfile(args.pdf):\n        sys.exit(f\"file not found: {args.pdf}\")\n\n    os.makedirs(args.out_dir, exist_ok=True)\n    base = args.prefix or slugify(os.path.splitext(os.path.basename(args.pdf))[0], \"document\")\n    needle = args.contains.lower()\n\n    tables_out, csv_files, used_titles = [], [], set()\n    with pdfplumber.open(args.pdf) as pdf:\n        page_indexes = parse_pages(args.pages, len(pdf.pages))\n        for page_index in page_indexes:\n            page = pdf.pages[page_index]\n            page_number = page_index + 1\n            tables = page.extract_tables() or []\n            for table_number, raw in enumerate(tables, start=1):\n                grid = clean_table(raw)\n                if not grid:\n                    continue\n                if needle and needle not in \"\\n\".join(\n                    \" \".join(row) for row in grid\n                ).lower():\n                    continue\n\n                entry = {\"page\": page_number, \"rows\": len(grid), \"columns\": len(grid[0])}\n\n                if want_csv:\n                    csv_name = f\"{base}-p{page_number}-t{table_number}.csv\"\n                    csv_path = os.path.join(args.out_dir, csv_name)\n                    write_csv(csv_path, grid)\n                    csv_files.append(csv_path)\n                    entry[\"csv\"] = csv_path\n\n                if want_xlsx:\n                    title = sheet_title(base, page_number, table_number, used_titles)\n                    worksheet = workbook.create_sheet(title=title)\n                    for row in grid:\n                        worksheet.append(row)\n                        # Force every cell to text so values are preserved\n                        # verbatim — otherwise a cell like \"=high\" or \"-5\" would\n                        # be interpreted by openpyxl/Excel as a formula and lose\n                        # its original value.\n                        for cell in worksheet[worksheet.max_row]:\n                            cell.data_type = \"s\"\n                    style_sheet(worksheet, grid)\n                    entry[\"sheet\"] = title\n\n                tables_out.append(entry)\n\n    xlsx_path = None\n    if want_xlsx and tables_out:\n        xlsx_path = os.path.join(args.out_dir, f\"{base}.xlsx\")\n        workbook.save(xlsx_path)\n\n    summary = {\n        \"source\": args.pdf,\n        \"count\": len(tables_out),\n        \"xlsx\": xlsx_path,\n        \"csv_files\": csv_files,\n        \"tables\": tables_out,\n    }\n    json.dump(summary, sys.stdout, indent=2)\n    sys.stdout.write(\"\\n\")\n    if not tables_out:\n        sys.stderr.write(\n            \"No tables matched. Try a different --pages range, drop --contains, \"\n            \"or verify the PDF has extractable (non-image) tables.\\n\"\n        )\n        return 1\n    return 0",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Project source file, pdfplumber",
      "display": "submissions/pdf-table-data-conversion/scripts/extract_tables.py",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Project full_name, pdfplumber",
      "display": "microsoft/cat-agent-skills",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Project stargazers_count, pdfplumber",
      "display": "109",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Library name, docling",
      "display": "Docling",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Monthly downloads, docling",
      "display": "4.3M",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "License, docling",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Package release, docling",
      "display": "2.150.1",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Package release date, docling",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Install, docling",
      "display": "python3.11 -m pip install docling==2.150.1 pandas tabulate",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Quickstart, docling",
      "display": "import sys\nfrom docling.document_converter import DocumentConverter\n\nresult = DocumentConverter().convert(sys.argv[1])\nprint([table.export_to_dataframe(doc=result.document) for table in result.document.tables])\n",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Official description, docling",
      "display": "Parses PDF, DOCX, HTML, and other formats into one document representation.",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Quickstart source file, docling",
      "display": "document_converter.py",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Repository stars, docling",
      "display": "70.8K",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Table cells as dataframe, docling",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Java backend, docling",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Table interface and runtime, docling",
      "display": "Whole-document local PDF conversion with document/table model, optional OCR backends, and companion-core table exports; full package installs standard slim runtime.",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Library name, unstructured",
      "display": "Unstructured",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Monthly downloads, unstructured",
      "display": "2.6M",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "License, unstructured",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Package release, unstructured",
      "display": "0.27.37",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Package release date, unstructured",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Install, unstructured",
      "display": "python3.11 -m pip install \"unstructured[pdf]==0.27.37\"",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Quickstart, unstructured",
      "display": "import sys\nfrom unstructured.partition.pdf import partition_pdf\n\nelements = partition_pdf(filename=sys.argv[1], strategy=\"hi_res\", infer_table_structure=True)\nprint([element.metadata.text_as_html for element in elements if element.category == \"Table\"])\n",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Official description, unstructured",
      "display": "Prepares raw documents for machine learning tasks.",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Quickstart source file, unstructured",
      "display": "pdf.py",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Repository stars, unstructured",
      "display": "15.8K",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Table cells as dataframe, unstructured",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Java backend, unstructured",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Table interface and runtime, unstructured",
      "display": "Local hi_res PDF partitioning into document elements; inferred tables expose structured HTML in metadata.text_as_html. Element-level dataframe staging is different from a cell-grid dataframe.",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Library name, camelot-py",
      "display": "Camelot",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Monthly downloads, camelot-py",
      "display": "2.4M",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "License, camelot-py",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Package release, camelot-py",
      "display": "2.0.0",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Package release date, camelot-py",
      "display": "Jun 2026",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Install, camelot-py",
      "display": "python3.11 -m pip install camelot-py==2.0.0",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Quickstart, camelot-py",
      "display": "import sys\nimport camelot\n\ntables = camelot.read_pdf(sys.argv[1])\nprint([table.df for table in tables])\n",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Repository stars, camelot-py",
      "display": "3.9K",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Table cells as dataframe, camelot-py",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Java backend, camelot-py",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Table interface and runtime, camelot-py",
      "display": "Dedicated table parser returning TableList/pandas frames, with lattice/stream/network/hybrid modes and optional current2.0 neural/OCR extras.",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Project function, camelot-py",
      "display": "def load_data(\n    self, file: Path, pages: str = \"1\", extra_info: Optional[Dict] = None\n) -> List[Document]:\n    \"\"\"\n    Load data and extract table from PDF file.\n\n    Args:\n        file (Path): Path for the PDF file.\n        pages (str): Pages to read tables from.\n        extra_info (Optional[Dict]): Extra information.\n\n    Returns:\n        List[Document]: List of documents.\n\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-20"
    },
    "F207": {
      "label": "Project source file, camelot-py",
      "display": "llama-index-integrations/readers/llama-index-readers-pdf-table/llama_index/readers/pdf_table/base.py",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Project full_name, camelot-py",
      "display": "run-llama/llama_index",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Project stargazers_count, camelot-py",
      "display": "52.9K",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Library name, tabula-py",
      "display": "tabula-py",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Monthly downloads, tabula-py",
      "display": "1.8M",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "License, tabula-py",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Package release, tabula-py",
      "display": "2.11.0",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Package release date, tabula-py",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Install, tabula-py",
      "display": "python3.11 -m pip install tabula-py==2.11.0",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Quickstart, tabula-py",
      "display": "import sys\nimport tabula\n\nprint(tabula.read_pdf(sys.argv[1], pages=\"all\"))\n",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Repository stars, tabula-py",
      "display": "2.3K",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Table cells as dataframe, tabula-py",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Java backend, tabula-py",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Table interface and runtime, tabula-py",
      "display": "Python interface to tabula-java; native pandas table output and lattice/stream choices, requiring Java8+ and Python3.11+ in current release.",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Library name, pdf2docx",
      "display": "pdf2docx",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Monthly downloads, pdf2docx",
      "display": "1.8M",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "License, pdf2docx",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Package release, pdf2docx",
      "display": "0.5.13",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Package release date, pdf2docx",
      "display": "May 2026",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Install, pdf2docx",
      "display": "python3.11 -m pip install pdf2docx==0.5.13",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Quickstart, pdf2docx",
      "display": "import sys\nfrom pdf2docx import Converter\n\nconverter = Converter(sys.argv[1])\ntry:\n    print(converter.extract_tables(start=0, end=1))\nfinally:\n    converter.close()\n",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Official description, pdf2docx",
      "display": "Converts PDF to DOCX.",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Quickstart source file, pdf2docx",
      "display": "quickstart.table.rst",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Repository stars, pdf2docx",
      "display": "3.5K",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Table cells as dataframe, pdf2docx",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Java backend, pdf2docx",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Table interface and runtime, pdf2docx",
      "display": "Layout-to-Word converter that also exposes native extract_tables cell grids. Artifex ended active maintenance and relicensed code MIT; community contributions remain welcome.",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Library name, paddleocr",
      "display": "PaddleOCR",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Monthly downloads, paddleocr",
      "display": "1.4M",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "License, paddleocr",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Package release, paddleocr",
      "display": "3.7.0",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Package release date, paddleocr",
      "display": "Jun 2026",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Install, paddleocr",
      "display": "python3.11 -m pip install \"paddleocr[doc-parser]==3.7.0\" paddlepaddle==3.3.0",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Quickstart, paddleocr",
      "display": "import sys\nfrom paddleocr import PPStructureV3\n\npipeline = PPStructureV3(use_table_recognition=True)\nfor result in pipeline.predict(input=sys.argv[1]):\n    result.save_to_html(save_path=\"table-output\")\n",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Official description, paddleocr",
      "display": "Runs multilingual OCR and document parsing on PaddlePaddle.",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Quickstart source file, paddleocr",
      "display": "pp_structurev3.py",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Repository stars, paddleocr",
      "display": "92.9K",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Table cells as dataframe, paddleocr",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Java backend, paddleocr",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Table interface and runtime, paddleocr",
      "display": "PPStructureV3 local document parsing pipeline with explicit table recognition and structured table HTML/XLSX exports through official PaddleX result objects; model/backend installation is required.",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python PDF table extraction libraries Camelot tabula-py pdfplumber PyMuPDF code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
