[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-minimax-pdf":3,"mdc-ldgo3k-key":35,"related-org-minimax-pdf":2224,"related-repo-minimax-pdf":2425},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":30,"sourceUrl":33,"mdContent":34},"pdf","parse and manipulate PDF documents","Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging\u002Fsplitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"minimax","MiniMax","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fminimax.jpg","MiniMax-AI",[13,16,19],{"name":14,"slug":4,"type":15},"PDF","tag",{"name":17,"slug":18,"type":15},"Data Extraction","data-extraction",{"name":20,"slug":21,"type":15},"Documents","documents",2872,"https:\u002F\u002Fgithub.com\u002FMiniMax-AI\u002FMini-Agent","2026-07-16T06:02:05.992531","Proprietary. LICENSE.txt has complete terms",421,[28,29,8],"agent","llm",{"repoUrl":23,"stars":22,"forks":26,"topics":31,"description":32},[28,29,8],"A minimal yet professional single agent demo project that showcases the core execution pipeline and production-grade features of agents.","https:\u002F\u002Fgithub.com\u002FMiniMax-AI\u002FMini-Agent\u002Ftree\u002FHEAD\u002Fmini_agent\u002Fskills\u002Fdocument-skills\u002Fpdf","---\nname: pdf\ndescription: Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging\u002Fsplitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.\nlicense: Proprietary. LICENSE.txt has complete terms\n---\n\n# PDF Processing Guide\n\n## Overview\n\nThis guide covers essential PDF processing operations using Python libraries and command-line tools. For advanced features, JavaScript libraries, and detailed examples, see reference.md. If you need to fill out a PDF form, read forms.md and follow its instructions.\n\n## Quick Start\n\n```python\nfrom pypdf import PdfReader, PdfWriter\n\n# Read a PDF\nreader = PdfReader(\"document.pdf\")\nprint(f\"Pages: {len(reader.pages)}\")\n\n# Extract text\ntext = \"\"\nfor page in reader.pages:\n    text += page.extract_text()\n```\n\n## Python Libraries\n\n### pypdf - Basic Operations\n\n#### Merge PDFs\n```python\nfrom pypdf import PdfWriter, PdfReader\n\nwriter = PdfWriter()\nfor pdf_file in [\"doc1.pdf\", \"doc2.pdf\", \"doc3.pdf\"]:\n    reader = PdfReader(pdf_file)\n    for page in reader.pages:\n        writer.add_page(page)\n\nwith open(\"merged.pdf\", \"wb\") as output:\n    writer.write(output)\n```\n\n#### Split PDF\n```python\nreader = PdfReader(\"input.pdf\")\nfor i, page in enumerate(reader.pages):\n    writer = PdfWriter()\n    writer.add_page(page)\n    with open(f\"page_{i+1}.pdf\", \"wb\") as output:\n        writer.write(output)\n```\n\n#### Extract Metadata\n```python\nreader = PdfReader(\"document.pdf\")\nmeta = reader.metadata\nprint(f\"Title: {meta.title}\")\nprint(f\"Author: {meta.author}\")\nprint(f\"Subject: {meta.subject}\")\nprint(f\"Creator: {meta.creator}\")\n```\n\n#### Rotate Pages\n```python\nreader = PdfReader(\"input.pdf\")\nwriter = PdfWriter()\n\npage = reader.pages[0]\npage.rotate(90)  # Rotate 90 degrees clockwise\nwriter.add_page(page)\n\nwith open(\"rotated.pdf\", \"wb\") as output:\n    writer.write(output)\n```\n\n### pdfplumber - Text and Table Extraction\n\n#### Extract Text with Layout\n```python\nimport pdfplumber\n\nwith pdfplumber.open(\"document.pdf\") as pdf:\n    for page in pdf.pages:\n        text = page.extract_text()\n        print(text)\n```\n\n#### Extract Tables\n```python\nwith pdfplumber.open(\"document.pdf\") as pdf:\n    for i, page in enumerate(pdf.pages):\n        tables = page.extract_tables()\n        for j, table in enumerate(tables):\n            print(f\"Table {j+1} on page {i+1}:\")\n            for row in table:\n                print(row)\n```\n\n#### Advanced Table Extraction\n```python\nimport pandas as pd\n\nwith pdfplumber.open(\"document.pdf\") as pdf:\n    all_tables = []\n    for page in pdf.pages:\n        tables = page.extract_tables()\n        for table in tables:\n            if table:  # Check if table is not empty\n                df = pd.DataFrame(table[1:], columns=table[0])\n                all_tables.append(df)\n\n# Combine all tables\nif all_tables:\n    combined_df = pd.concat(all_tables, ignore_index=True)\n    combined_df.to_excel(\"extracted_tables.xlsx\", index=False)\n```\n\n### reportlab - Create PDFs\n\n#### Basic PDF Creation\n```python\nfrom reportlab.lib.pagesizes import letter\nfrom reportlab.pdfgen import canvas\n\nc = canvas.Canvas(\"hello.pdf\", pagesize=letter)\nwidth, height = letter\n\n# Add text\nc.drawString(100, height - 100, \"Hello World!\")\nc.drawString(100, height - 120, \"This is a PDF created with reportlab\")\n\n# Add a line\nc.line(100, height - 140, 400, height - 140)\n\n# Save\nc.save()\n```\n\n#### Create PDF with Multiple Pages\n```python\nfrom reportlab.lib.pagesizes import letter\nfrom reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, PageBreak\nfrom reportlab.lib.styles import getSampleStyleSheet\n\ndoc = SimpleDocTemplate(\"report.pdf\", pagesize=letter)\nstyles = getSampleStyleSheet()\nstory = []\n\n# Add content\ntitle = Paragraph(\"Report Title\", styles['Title'])\nstory.append(title)\nstory.append(Spacer(1, 12))\n\nbody = Paragraph(\"This is the body of the report. \" * 20, styles['Normal'])\nstory.append(body)\nstory.append(PageBreak())\n\n# Page 2\nstory.append(Paragraph(\"Page 2\", styles['Heading1']))\nstory.append(Paragraph(\"Content for page 2\", styles['Normal']))\n\n# Build PDF\ndoc.build(story)\n```\n\n## Command-Line Tools\n\n### pdftotext (poppler-utils)\n```bash\n# Extract text\npdftotext input.pdf output.txt\n\n# Extract text preserving layout\npdftotext -layout input.pdf output.txt\n\n# Extract specific pages\npdftotext -f 1 -l 5 input.pdf output.txt  # Pages 1-5\n```\n\n### qpdf\n```bash\n# Merge PDFs\nqpdf --empty --pages file1.pdf file2.pdf -- merged.pdf\n\n# Split pages\nqpdf input.pdf --pages . 1-5 -- pages1-5.pdf\nqpdf input.pdf --pages . 6-10 -- pages6-10.pdf\n\n# Rotate pages\nqpdf input.pdf output.pdf --rotate=+90:1  # Rotate page 1 by 90 degrees\n\n# Remove password\nqpdf --password=mypassword --decrypt encrypted.pdf decrypted.pdf\n```\n\n### pdftk (if available)\n```bash\n# Merge\npdftk file1.pdf file2.pdf cat output merged.pdf\n\n# Split\npdftk input.pdf burst\n\n# Rotate\npdftk input.pdf rotate 1east output rotated.pdf\n```\n\n## Common Tasks\n\n### Extract Text from Scanned PDFs\n```python\n# Requires: pip install pytesseract pdf2image\nimport pytesseract\nfrom pdf2image import convert_from_path\n\n# Convert PDF to images\nimages = convert_from_path('scanned.pdf')\n\n# OCR each page\ntext = \"\"\nfor i, image in enumerate(images):\n    text += f\"Page {i+1}:\\n\"\n    text += pytesseract.image_to_string(image)\n    text += \"\\n\\n\"\n\nprint(text)\n```\n\n### Add Watermark\n```python\nfrom pypdf import PdfReader, PdfWriter\n\n# Create watermark (or load existing)\nwatermark = PdfReader(\"watermark.pdf\").pages[0]\n\n# Apply to all pages\nreader = PdfReader(\"document.pdf\")\nwriter = PdfWriter()\n\nfor page in reader.pages:\n    page.merge_page(watermark)\n    writer.add_page(page)\n\nwith open(\"watermarked.pdf\", \"wb\") as output:\n    writer.write(output)\n```\n\n### Extract Images\n```bash\n# Using pdfimages (poppler-utils)\npdfimages -j input.pdf output_prefix\n\n# This extracts all images as output_prefix-000.jpg, output_prefix-001.jpg, etc.\n```\n\n### Password Protection\n```python\nfrom pypdf import PdfReader, PdfWriter\n\nreader = PdfReader(\"input.pdf\")\nwriter = PdfWriter()\n\nfor page in reader.pages:\n    writer.add_page(page)\n\n# Add password\nwriter.encrypt(\"userpassword\", \"ownerpassword\")\n\nwith open(\"encrypted.pdf\", \"wb\") as output:\n    writer.write(output)\n```\n\n## Quick Reference\n\n| Task | Best Tool | Command\u002FCode |\n|------|-----------|--------------|\n| Merge PDFs | pypdf | `writer.add_page(page)` |\n| Split PDFs | pypdf | One page per file |\n| Extract text | pdfplumber | `page.extract_text()` |\n| Extract tables | pdfplumber | `page.extract_tables()` |\n| Create PDFs | reportlab | Canvas or Platypus |\n| Command line merge | qpdf | `qpdf --empty --pages ...` |\n| OCR scanned PDFs | pytesseract | Convert to image first |\n| Fill PDF forms | pdf-lib or pypdf (see forms.md) | See forms.md |\n\n## Next Steps\n\n- For advanced pypdfium2 usage, see reference.md\n- For JavaScript libraries (pdf-lib), see reference.md\n- If you need to fill out a PDF form, follow the instructions in forms.md\n- For troubleshooting guides, see reference.md\n",{"data":36,"body":37},{"name":4,"description":6,"license":25},{"type":38,"children":39},"root",[40,49,56,62,68,172,178,185,192,277,283,338,344,398,404,478,484,490,544,550,612,618,745,751,757,880,886,1079,1085,1091,1220,1225,1442,1448,1569,1575,1581,1704,1710,1827,1833,1885,1891,1992,1998,2187,2193,2218],{"type":41,"tag":42,"props":43,"children":45},"element","h1",{"id":44},"pdf-processing-guide",[46],{"type":47,"value":48},"text","PDF Processing Guide",{"type":41,"tag":50,"props":51,"children":53},"h2",{"id":52},"overview",[54],{"type":47,"value":55},"Overview",{"type":41,"tag":57,"props":58,"children":59},"p",{},[60],{"type":47,"value":61},"This guide covers essential PDF processing operations using Python libraries and command-line tools. For advanced features, JavaScript libraries, and detailed examples, see reference.md. If you need to fill out a PDF form, read forms.md and follow its instructions.",{"type":41,"tag":50,"props":63,"children":65},{"id":64},"quick-start",[66],{"type":47,"value":67},"Quick Start",{"type":41,"tag":69,"props":70,"children":75},"pre",{"className":71,"code":72,"language":73,"meta":74,"style":74},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","from pypdf import PdfReader, PdfWriter\n\n# Read a PDF\nreader = PdfReader(\"document.pdf\")\nprint(f\"Pages: {len(reader.pages)}\")\n\n# Extract text\ntext = \"\"\nfor page in reader.pages:\n    text += page.extract_text()\n","python","",[76],{"type":41,"tag":77,"props":78,"children":79},"code",{"__ignoreMap":74},[80,91,101,110,119,128,136,145,154,163],{"type":41,"tag":81,"props":82,"children":85},"span",{"class":83,"line":84},"line",1,[86],{"type":41,"tag":81,"props":87,"children":88},{},[89],{"type":47,"value":90},"from pypdf import PdfReader, PdfWriter\n",{"type":41,"tag":81,"props":92,"children":94},{"class":83,"line":93},2,[95],{"type":41,"tag":81,"props":96,"children":98},{"emptyLinePlaceholder":97},true,[99],{"type":47,"value":100},"\n",{"type":41,"tag":81,"props":102,"children":104},{"class":83,"line":103},3,[105],{"type":41,"tag":81,"props":106,"children":107},{},[108],{"type":47,"value":109},"# Read a PDF\n",{"type":41,"tag":81,"props":111,"children":113},{"class":83,"line":112},4,[114],{"type":41,"tag":81,"props":115,"children":116},{},[117],{"type":47,"value":118},"reader = PdfReader(\"document.pdf\")\n",{"type":41,"tag":81,"props":120,"children":122},{"class":83,"line":121},5,[123],{"type":41,"tag":81,"props":124,"children":125},{},[126],{"type":47,"value":127},"print(f\"Pages: {len(reader.pages)}\")\n",{"type":41,"tag":81,"props":129,"children":131},{"class":83,"line":130},6,[132],{"type":41,"tag":81,"props":133,"children":134},{"emptyLinePlaceholder":97},[135],{"type":47,"value":100},{"type":41,"tag":81,"props":137,"children":139},{"class":83,"line":138},7,[140],{"type":41,"tag":81,"props":141,"children":142},{},[143],{"type":47,"value":144},"# Extract text\n",{"type":41,"tag":81,"props":146,"children":148},{"class":83,"line":147},8,[149],{"type":41,"tag":81,"props":150,"children":151},{},[152],{"type":47,"value":153},"text = \"\"\n",{"type":41,"tag":81,"props":155,"children":157},{"class":83,"line":156},9,[158],{"type":41,"tag":81,"props":159,"children":160},{},[161],{"type":47,"value":162},"for page in reader.pages:\n",{"type":41,"tag":81,"props":164,"children":166},{"class":83,"line":165},10,[167],{"type":41,"tag":81,"props":168,"children":169},{},[170],{"type":47,"value":171},"    text += page.extract_text()\n",{"type":41,"tag":50,"props":173,"children":175},{"id":174},"python-libraries",[176],{"type":47,"value":177},"Python Libraries",{"type":41,"tag":179,"props":180,"children":182},"h3",{"id":181},"pypdf-basic-operations",[183],{"type":47,"value":184},"pypdf - Basic Operations",{"type":41,"tag":186,"props":187,"children":189},"h4",{"id":188},"merge-pdfs",[190],{"type":47,"value":191},"Merge PDFs",{"type":41,"tag":69,"props":193,"children":195},{"className":71,"code":194,"language":73,"meta":74,"style":74},"from pypdf import PdfWriter, PdfReader\n\nwriter = PdfWriter()\nfor pdf_file in [\"doc1.pdf\", \"doc2.pdf\", \"doc3.pdf\"]:\n    reader = PdfReader(pdf_file)\n    for page in reader.pages:\n        writer.add_page(page)\n\nwith open(\"merged.pdf\", \"wb\") as output:\n    writer.write(output)\n",[196],{"type":41,"tag":77,"props":197,"children":198},{"__ignoreMap":74},[199,207,214,222,230,238,246,254,261,269],{"type":41,"tag":81,"props":200,"children":201},{"class":83,"line":84},[202],{"type":41,"tag":81,"props":203,"children":204},{},[205],{"type":47,"value":206},"from pypdf import PdfWriter, PdfReader\n",{"type":41,"tag":81,"props":208,"children":209},{"class":83,"line":93},[210],{"type":41,"tag":81,"props":211,"children":212},{"emptyLinePlaceholder":97},[213],{"type":47,"value":100},{"type":41,"tag":81,"props":215,"children":216},{"class":83,"line":103},[217],{"type":41,"tag":81,"props":218,"children":219},{},[220],{"type":47,"value":221},"writer = PdfWriter()\n",{"type":41,"tag":81,"props":223,"children":224},{"class":83,"line":112},[225],{"type":41,"tag":81,"props":226,"children":227},{},[228],{"type":47,"value":229},"for pdf_file in [\"doc1.pdf\", \"doc2.pdf\", \"doc3.pdf\"]:\n",{"type":41,"tag":81,"props":231,"children":232},{"class":83,"line":121},[233],{"type":41,"tag":81,"props":234,"children":235},{},[236],{"type":47,"value":237},"    reader = PdfReader(pdf_file)\n",{"type":41,"tag":81,"props":239,"children":240},{"class":83,"line":130},[241],{"type":41,"tag":81,"props":242,"children":243},{},[244],{"type":47,"value":245},"    for page in reader.pages:\n",{"type":41,"tag":81,"props":247,"children":248},{"class":83,"line":138},[249],{"type":41,"tag":81,"props":250,"children":251},{},[252],{"type":47,"value":253},"        writer.add_page(page)\n",{"type":41,"tag":81,"props":255,"children":256},{"class":83,"line":147},[257],{"type":41,"tag":81,"props":258,"children":259},{"emptyLinePlaceholder":97},[260],{"type":47,"value":100},{"type":41,"tag":81,"props":262,"children":263},{"class":83,"line":156},[264],{"type":41,"tag":81,"props":265,"children":266},{},[267],{"type":47,"value":268},"with open(\"merged.pdf\", \"wb\") as output:\n",{"type":41,"tag":81,"props":270,"children":271},{"class":83,"line":165},[272],{"type":41,"tag":81,"props":273,"children":274},{},[275],{"type":47,"value":276},"    writer.write(output)\n",{"type":41,"tag":186,"props":278,"children":280},{"id":279},"split-pdf",[281],{"type":47,"value":282},"Split PDF",{"type":41,"tag":69,"props":284,"children":286},{"className":71,"code":285,"language":73,"meta":74,"style":74},"reader = PdfReader(\"input.pdf\")\nfor i, page in enumerate(reader.pages):\n    writer = PdfWriter()\n    writer.add_page(page)\n    with open(f\"page_{i+1}.pdf\", \"wb\") as output:\n        writer.write(output)\n",[287],{"type":41,"tag":77,"props":288,"children":289},{"__ignoreMap":74},[290,298,306,314,322,330],{"type":41,"tag":81,"props":291,"children":292},{"class":83,"line":84},[293],{"type":41,"tag":81,"props":294,"children":295},{},[296],{"type":47,"value":297},"reader = PdfReader(\"input.pdf\")\n",{"type":41,"tag":81,"props":299,"children":300},{"class":83,"line":93},[301],{"type":41,"tag":81,"props":302,"children":303},{},[304],{"type":47,"value":305},"for i, page in enumerate(reader.pages):\n",{"type":41,"tag":81,"props":307,"children":308},{"class":83,"line":103},[309],{"type":41,"tag":81,"props":310,"children":311},{},[312],{"type":47,"value":313},"    writer = PdfWriter()\n",{"type":41,"tag":81,"props":315,"children":316},{"class":83,"line":112},[317],{"type":41,"tag":81,"props":318,"children":319},{},[320],{"type":47,"value":321},"    writer.add_page(page)\n",{"type":41,"tag":81,"props":323,"children":324},{"class":83,"line":121},[325],{"type":41,"tag":81,"props":326,"children":327},{},[328],{"type":47,"value":329},"    with open(f\"page_{i+1}.pdf\", \"wb\") as output:\n",{"type":41,"tag":81,"props":331,"children":332},{"class":83,"line":130},[333],{"type":41,"tag":81,"props":334,"children":335},{},[336],{"type":47,"value":337},"        writer.write(output)\n",{"type":41,"tag":186,"props":339,"children":341},{"id":340},"extract-metadata",[342],{"type":47,"value":343},"Extract Metadata",{"type":41,"tag":69,"props":345,"children":347},{"className":71,"code":346,"language":73,"meta":74,"style":74},"reader = PdfReader(\"document.pdf\")\nmeta = reader.metadata\nprint(f\"Title: {meta.title}\")\nprint(f\"Author: {meta.author}\")\nprint(f\"Subject: {meta.subject}\")\nprint(f\"Creator: {meta.creator}\")\n",[348],{"type":41,"tag":77,"props":349,"children":350},{"__ignoreMap":74},[351,358,366,374,382,390],{"type":41,"tag":81,"props":352,"children":353},{"class":83,"line":84},[354],{"type":41,"tag":81,"props":355,"children":356},{},[357],{"type":47,"value":118},{"type":41,"tag":81,"props":359,"children":360},{"class":83,"line":93},[361],{"type":41,"tag":81,"props":362,"children":363},{},[364],{"type":47,"value":365},"meta = reader.metadata\n",{"type":41,"tag":81,"props":367,"children":368},{"class":83,"line":103},[369],{"type":41,"tag":81,"props":370,"children":371},{},[372],{"type":47,"value":373},"print(f\"Title: {meta.title}\")\n",{"type":41,"tag":81,"props":375,"children":376},{"class":83,"line":112},[377],{"type":41,"tag":81,"props":378,"children":379},{},[380],{"type":47,"value":381},"print(f\"Author: {meta.author}\")\n",{"type":41,"tag":81,"props":383,"children":384},{"class":83,"line":121},[385],{"type":41,"tag":81,"props":386,"children":387},{},[388],{"type":47,"value":389},"print(f\"Subject: {meta.subject}\")\n",{"type":41,"tag":81,"props":391,"children":392},{"class":83,"line":130},[393],{"type":41,"tag":81,"props":394,"children":395},{},[396],{"type":47,"value":397},"print(f\"Creator: {meta.creator}\")\n",{"type":41,"tag":186,"props":399,"children":401},{"id":400},"rotate-pages",[402],{"type":47,"value":403},"Rotate Pages",{"type":41,"tag":69,"props":405,"children":407},{"className":71,"code":406,"language":73,"meta":74,"style":74},"reader = PdfReader(\"input.pdf\")\nwriter = PdfWriter()\n\npage = reader.pages[0]\npage.rotate(90)  # Rotate 90 degrees clockwise\nwriter.add_page(page)\n\nwith open(\"rotated.pdf\", \"wb\") as output:\n    writer.write(output)\n",[408],{"type":41,"tag":77,"props":409,"children":410},{"__ignoreMap":74},[411,418,425,432,440,448,456,463,471],{"type":41,"tag":81,"props":412,"children":413},{"class":83,"line":84},[414],{"type":41,"tag":81,"props":415,"children":416},{},[417],{"type":47,"value":297},{"type":41,"tag":81,"props":419,"children":420},{"class":83,"line":93},[421],{"type":41,"tag":81,"props":422,"children":423},{},[424],{"type":47,"value":221},{"type":41,"tag":81,"props":426,"children":427},{"class":83,"line":103},[428],{"type":41,"tag":81,"props":429,"children":430},{"emptyLinePlaceholder":97},[431],{"type":47,"value":100},{"type":41,"tag":81,"props":433,"children":434},{"class":83,"line":112},[435],{"type":41,"tag":81,"props":436,"children":437},{},[438],{"type":47,"value":439},"page = reader.pages[0]\n",{"type":41,"tag":81,"props":441,"children":442},{"class":83,"line":121},[443],{"type":41,"tag":81,"props":444,"children":445},{},[446],{"type":47,"value":447},"page.rotate(90)  # Rotate 90 degrees clockwise\n",{"type":41,"tag":81,"props":449,"children":450},{"class":83,"line":130},[451],{"type":41,"tag":81,"props":452,"children":453},{},[454],{"type":47,"value":455},"writer.add_page(page)\n",{"type":41,"tag":81,"props":457,"children":458},{"class":83,"line":138},[459],{"type":41,"tag":81,"props":460,"children":461},{"emptyLinePlaceholder":97},[462],{"type":47,"value":100},{"type":41,"tag":81,"props":464,"children":465},{"class":83,"line":147},[466],{"type":41,"tag":81,"props":467,"children":468},{},[469],{"type":47,"value":470},"with open(\"rotated.pdf\", \"wb\") as output:\n",{"type":41,"tag":81,"props":472,"children":473},{"class":83,"line":156},[474],{"type":41,"tag":81,"props":475,"children":476},{},[477],{"type":47,"value":276},{"type":41,"tag":179,"props":479,"children":481},{"id":480},"pdfplumber-text-and-table-extraction",[482],{"type":47,"value":483},"pdfplumber - Text and Table Extraction",{"type":41,"tag":186,"props":485,"children":487},{"id":486},"extract-text-with-layout",[488],{"type":47,"value":489},"Extract Text with Layout",{"type":41,"tag":69,"props":491,"children":493},{"className":71,"code":492,"language":73,"meta":74,"style":74},"import pdfplumber\n\nwith pdfplumber.open(\"document.pdf\") as pdf:\n    for page in pdf.pages:\n        text = page.extract_text()\n        print(text)\n",[494],{"type":41,"tag":77,"props":495,"children":496},{"__ignoreMap":74},[497,505,512,520,528,536],{"type":41,"tag":81,"props":498,"children":499},{"class":83,"line":84},[500],{"type":41,"tag":81,"props":501,"children":502},{},[503],{"type":47,"value":504},"import pdfplumber\n",{"type":41,"tag":81,"props":506,"children":507},{"class":83,"line":93},[508],{"type":41,"tag":81,"props":509,"children":510},{"emptyLinePlaceholder":97},[511],{"type":47,"value":100},{"type":41,"tag":81,"props":513,"children":514},{"class":83,"line":103},[515],{"type":41,"tag":81,"props":516,"children":517},{},[518],{"type":47,"value":519},"with pdfplumber.open(\"document.pdf\") as pdf:\n",{"type":41,"tag":81,"props":521,"children":522},{"class":83,"line":112},[523],{"type":41,"tag":81,"props":524,"children":525},{},[526],{"type":47,"value":527},"    for page in pdf.pages:\n",{"type":41,"tag":81,"props":529,"children":530},{"class":83,"line":121},[531],{"type":41,"tag":81,"props":532,"children":533},{},[534],{"type":47,"value":535},"        text = page.extract_text()\n",{"type":41,"tag":81,"props":537,"children":538},{"class":83,"line":130},[539],{"type":41,"tag":81,"props":540,"children":541},{},[542],{"type":47,"value":543},"        print(text)\n",{"type":41,"tag":186,"props":545,"children":547},{"id":546},"extract-tables",[548],{"type":47,"value":549},"Extract Tables",{"type":41,"tag":69,"props":551,"children":553},{"className":71,"code":552,"language":73,"meta":74,"style":74},"with pdfplumber.open(\"document.pdf\") as pdf:\n    for i, page in enumerate(pdf.pages):\n        tables = page.extract_tables()\n        for j, table in enumerate(tables):\n            print(f\"Table {j+1} on page {i+1}:\")\n            for row in table:\n                print(row)\n",[554],{"type":41,"tag":77,"props":555,"children":556},{"__ignoreMap":74},[557,564,572,580,588,596,604],{"type":41,"tag":81,"props":558,"children":559},{"class":83,"line":84},[560],{"type":41,"tag":81,"props":561,"children":562},{},[563],{"type":47,"value":519},{"type":41,"tag":81,"props":565,"children":566},{"class":83,"line":93},[567],{"type":41,"tag":81,"props":568,"children":569},{},[570],{"type":47,"value":571},"    for i, page in enumerate(pdf.pages):\n",{"type":41,"tag":81,"props":573,"children":574},{"class":83,"line":103},[575],{"type":41,"tag":81,"props":576,"children":577},{},[578],{"type":47,"value":579},"        tables = page.extract_tables()\n",{"type":41,"tag":81,"props":581,"children":582},{"class":83,"line":112},[583],{"type":41,"tag":81,"props":584,"children":585},{},[586],{"type":47,"value":587},"        for j, table in enumerate(tables):\n",{"type":41,"tag":81,"props":589,"children":590},{"class":83,"line":121},[591],{"type":41,"tag":81,"props":592,"children":593},{},[594],{"type":47,"value":595},"            print(f\"Table {j+1} on page {i+1}:\")\n",{"type":41,"tag":81,"props":597,"children":598},{"class":83,"line":130},[599],{"type":41,"tag":81,"props":600,"children":601},{},[602],{"type":47,"value":603},"            for row in table:\n",{"type":41,"tag":81,"props":605,"children":606},{"class":83,"line":138},[607],{"type":41,"tag":81,"props":608,"children":609},{},[610],{"type":47,"value":611},"                print(row)\n",{"type":41,"tag":186,"props":613,"children":615},{"id":614},"advanced-table-extraction",[616],{"type":47,"value":617},"Advanced Table Extraction",{"type":41,"tag":69,"props":619,"children":621},{"className":71,"code":620,"language":73,"meta":74,"style":74},"import pandas as pd\n\nwith pdfplumber.open(\"document.pdf\") as pdf:\n    all_tables = []\n    for page in pdf.pages:\n        tables = page.extract_tables()\n        for table in tables:\n            if table:  # Check if table is not empty\n                df = pd.DataFrame(table[1:], columns=table[0])\n                all_tables.append(df)\n\n# Combine all tables\nif all_tables:\n    combined_df = pd.concat(all_tables, ignore_index=True)\n    combined_df.to_excel(\"extracted_tables.xlsx\", index=False)\n",[622],{"type":41,"tag":77,"props":623,"children":624},{"__ignoreMap":74},[625,633,640,647,655,662,669,677,685,693,701,709,718,727,736],{"type":41,"tag":81,"props":626,"children":627},{"class":83,"line":84},[628],{"type":41,"tag":81,"props":629,"children":630},{},[631],{"type":47,"value":632},"import pandas as pd\n",{"type":41,"tag":81,"props":634,"children":635},{"class":83,"line":93},[636],{"type":41,"tag":81,"props":637,"children":638},{"emptyLinePlaceholder":97},[639],{"type":47,"value":100},{"type":41,"tag":81,"props":641,"children":642},{"class":83,"line":103},[643],{"type":41,"tag":81,"props":644,"children":645},{},[646],{"type":47,"value":519},{"type":41,"tag":81,"props":648,"children":649},{"class":83,"line":112},[650],{"type":41,"tag":81,"props":651,"children":652},{},[653],{"type":47,"value":654},"    all_tables = []\n",{"type":41,"tag":81,"props":656,"children":657},{"class":83,"line":121},[658],{"type":41,"tag":81,"props":659,"children":660},{},[661],{"type":47,"value":527},{"type":41,"tag":81,"props":663,"children":664},{"class":83,"line":130},[665],{"type":41,"tag":81,"props":666,"children":667},{},[668],{"type":47,"value":579},{"type":41,"tag":81,"props":670,"children":671},{"class":83,"line":138},[672],{"type":41,"tag":81,"props":673,"children":674},{},[675],{"type":47,"value":676},"        for table in tables:\n",{"type":41,"tag":81,"props":678,"children":679},{"class":83,"line":147},[680],{"type":41,"tag":81,"props":681,"children":682},{},[683],{"type":47,"value":684},"            if table:  # Check if table is not empty\n",{"type":41,"tag":81,"props":686,"children":687},{"class":83,"line":156},[688],{"type":41,"tag":81,"props":689,"children":690},{},[691],{"type":47,"value":692},"                df = pd.DataFrame(table[1:], columns=table[0])\n",{"type":41,"tag":81,"props":694,"children":695},{"class":83,"line":165},[696],{"type":41,"tag":81,"props":697,"children":698},{},[699],{"type":47,"value":700},"                all_tables.append(df)\n",{"type":41,"tag":81,"props":702,"children":704},{"class":83,"line":703},11,[705],{"type":41,"tag":81,"props":706,"children":707},{"emptyLinePlaceholder":97},[708],{"type":47,"value":100},{"type":41,"tag":81,"props":710,"children":712},{"class":83,"line":711},12,[713],{"type":41,"tag":81,"props":714,"children":715},{},[716],{"type":47,"value":717},"# Combine all tables\n",{"type":41,"tag":81,"props":719,"children":721},{"class":83,"line":720},13,[722],{"type":41,"tag":81,"props":723,"children":724},{},[725],{"type":47,"value":726},"if all_tables:\n",{"type":41,"tag":81,"props":728,"children":730},{"class":83,"line":729},14,[731],{"type":41,"tag":81,"props":732,"children":733},{},[734],{"type":47,"value":735},"    combined_df = pd.concat(all_tables, ignore_index=True)\n",{"type":41,"tag":81,"props":737,"children":739},{"class":83,"line":738},15,[740],{"type":41,"tag":81,"props":741,"children":742},{},[743],{"type":47,"value":744},"    combined_df.to_excel(\"extracted_tables.xlsx\", index=False)\n",{"type":41,"tag":179,"props":746,"children":748},{"id":747},"reportlab-create-pdfs",[749],{"type":47,"value":750},"reportlab - Create PDFs",{"type":41,"tag":186,"props":752,"children":754},{"id":753},"basic-pdf-creation",[755],{"type":47,"value":756},"Basic PDF Creation",{"type":41,"tag":69,"props":758,"children":760},{"className":71,"code":759,"language":73,"meta":74,"style":74},"from reportlab.lib.pagesizes import letter\nfrom reportlab.pdfgen import canvas\n\nc = canvas.Canvas(\"hello.pdf\", pagesize=letter)\nwidth, height = letter\n\n# Add text\nc.drawString(100, height - 100, \"Hello World!\")\nc.drawString(100, height - 120, \"This is a PDF created with reportlab\")\n\n# Add a line\nc.line(100, height - 140, 400, height - 140)\n\n# Save\nc.save()\n",[761],{"type":41,"tag":77,"props":762,"children":763},{"__ignoreMap":74},[764,772,780,787,795,803,810,818,826,834,841,849,857,864,872],{"type":41,"tag":81,"props":765,"children":766},{"class":83,"line":84},[767],{"type":41,"tag":81,"props":768,"children":769},{},[770],{"type":47,"value":771},"from reportlab.lib.pagesizes import letter\n",{"type":41,"tag":81,"props":773,"children":774},{"class":83,"line":93},[775],{"type":41,"tag":81,"props":776,"children":777},{},[778],{"type":47,"value":779},"from reportlab.pdfgen import canvas\n",{"type":41,"tag":81,"props":781,"children":782},{"class":83,"line":103},[783],{"type":41,"tag":81,"props":784,"children":785},{"emptyLinePlaceholder":97},[786],{"type":47,"value":100},{"type":41,"tag":81,"props":788,"children":789},{"class":83,"line":112},[790],{"type":41,"tag":81,"props":791,"children":792},{},[793],{"type":47,"value":794},"c = canvas.Canvas(\"hello.pdf\", pagesize=letter)\n",{"type":41,"tag":81,"props":796,"children":797},{"class":83,"line":121},[798],{"type":41,"tag":81,"props":799,"children":800},{},[801],{"type":47,"value":802},"width, height = letter\n",{"type":41,"tag":81,"props":804,"children":805},{"class":83,"line":130},[806],{"type":41,"tag":81,"props":807,"children":808},{"emptyLinePlaceholder":97},[809],{"type":47,"value":100},{"type":41,"tag":81,"props":811,"children":812},{"class":83,"line":138},[813],{"type":41,"tag":81,"props":814,"children":815},{},[816],{"type":47,"value":817},"# Add text\n",{"type":41,"tag":81,"props":819,"children":820},{"class":83,"line":147},[821],{"type":41,"tag":81,"props":822,"children":823},{},[824],{"type":47,"value":825},"c.drawString(100, height - 100, \"Hello World!\")\n",{"type":41,"tag":81,"props":827,"children":828},{"class":83,"line":156},[829],{"type":41,"tag":81,"props":830,"children":831},{},[832],{"type":47,"value":833},"c.drawString(100, height - 120, \"This is a PDF created with reportlab\")\n",{"type":41,"tag":81,"props":835,"children":836},{"class":83,"line":165},[837],{"type":41,"tag":81,"props":838,"children":839},{"emptyLinePlaceholder":97},[840],{"type":47,"value":100},{"type":41,"tag":81,"props":842,"children":843},{"class":83,"line":703},[844],{"type":41,"tag":81,"props":845,"children":846},{},[847],{"type":47,"value":848},"# Add a line\n",{"type":41,"tag":81,"props":850,"children":851},{"class":83,"line":711},[852],{"type":41,"tag":81,"props":853,"children":854},{},[855],{"type":47,"value":856},"c.line(100, height - 140, 400, height - 140)\n",{"type":41,"tag":81,"props":858,"children":859},{"class":83,"line":720},[860],{"type":41,"tag":81,"props":861,"children":862},{"emptyLinePlaceholder":97},[863],{"type":47,"value":100},{"type":41,"tag":81,"props":865,"children":866},{"class":83,"line":729},[867],{"type":41,"tag":81,"props":868,"children":869},{},[870],{"type":47,"value":871},"# Save\n",{"type":41,"tag":81,"props":873,"children":874},{"class":83,"line":738},[875],{"type":41,"tag":81,"props":876,"children":877},{},[878],{"type":47,"value":879},"c.save()\n",{"type":41,"tag":186,"props":881,"children":883},{"id":882},"create-pdf-with-multiple-pages",[884],{"type":47,"value":885},"Create PDF with Multiple Pages",{"type":41,"tag":69,"props":887,"children":889},{"className":71,"code":888,"language":73,"meta":74,"style":74},"from reportlab.lib.pagesizes import letter\nfrom reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, PageBreak\nfrom reportlab.lib.styles import getSampleStyleSheet\n\ndoc = SimpleDocTemplate(\"report.pdf\", pagesize=letter)\nstyles = getSampleStyleSheet()\nstory = []\n\n# Add content\ntitle = Paragraph(\"Report Title\", styles['Title'])\nstory.append(title)\nstory.append(Spacer(1, 12))\n\nbody = Paragraph(\"This is the body of the report. \" * 20, styles['Normal'])\nstory.append(body)\nstory.append(PageBreak())\n\n# Page 2\nstory.append(Paragraph(\"Page 2\", styles['Heading1']))\nstory.append(Paragraph(\"Content for page 2\", styles['Normal']))\n\n# Build PDF\ndoc.build(story)\n",[890],{"type":41,"tag":77,"props":891,"children":892},{"__ignoreMap":74},[893,900,908,916,923,931,939,947,954,962,970,978,986,993,1001,1009,1018,1026,1035,1044,1053,1061,1070],{"type":41,"tag":81,"props":894,"children":895},{"class":83,"line":84},[896],{"type":41,"tag":81,"props":897,"children":898},{},[899],{"type":47,"value":771},{"type":41,"tag":81,"props":901,"children":902},{"class":83,"line":93},[903],{"type":41,"tag":81,"props":904,"children":905},{},[906],{"type":47,"value":907},"from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, PageBreak\n",{"type":41,"tag":81,"props":909,"children":910},{"class":83,"line":103},[911],{"type":41,"tag":81,"props":912,"children":913},{},[914],{"type":47,"value":915},"from reportlab.lib.styles import getSampleStyleSheet\n",{"type":41,"tag":81,"props":917,"children":918},{"class":83,"line":112},[919],{"type":41,"tag":81,"props":920,"children":921},{"emptyLinePlaceholder":97},[922],{"type":47,"value":100},{"type":41,"tag":81,"props":924,"children":925},{"class":83,"line":121},[926],{"type":41,"tag":81,"props":927,"children":928},{},[929],{"type":47,"value":930},"doc = SimpleDocTemplate(\"report.pdf\", pagesize=letter)\n",{"type":41,"tag":81,"props":932,"children":933},{"class":83,"line":130},[934],{"type":41,"tag":81,"props":935,"children":936},{},[937],{"type":47,"value":938},"styles = getSampleStyleSheet()\n",{"type":41,"tag":81,"props":940,"children":941},{"class":83,"line":138},[942],{"type":41,"tag":81,"props":943,"children":944},{},[945],{"type":47,"value":946},"story = []\n",{"type":41,"tag":81,"props":948,"children":949},{"class":83,"line":147},[950],{"type":41,"tag":81,"props":951,"children":952},{"emptyLinePlaceholder":97},[953],{"type":47,"value":100},{"type":41,"tag":81,"props":955,"children":956},{"class":83,"line":156},[957],{"type":41,"tag":81,"props":958,"children":959},{},[960],{"type":47,"value":961},"# Add content\n",{"type":41,"tag":81,"props":963,"children":964},{"class":83,"line":165},[965],{"type":41,"tag":81,"props":966,"children":967},{},[968],{"type":47,"value":969},"title = Paragraph(\"Report Title\", styles['Title'])\n",{"type":41,"tag":81,"props":971,"children":972},{"class":83,"line":703},[973],{"type":41,"tag":81,"props":974,"children":975},{},[976],{"type":47,"value":977},"story.append(title)\n",{"type":41,"tag":81,"props":979,"children":980},{"class":83,"line":711},[981],{"type":41,"tag":81,"props":982,"children":983},{},[984],{"type":47,"value":985},"story.append(Spacer(1, 12))\n",{"type":41,"tag":81,"props":987,"children":988},{"class":83,"line":720},[989],{"type":41,"tag":81,"props":990,"children":991},{"emptyLinePlaceholder":97},[992],{"type":47,"value":100},{"type":41,"tag":81,"props":994,"children":995},{"class":83,"line":729},[996],{"type":41,"tag":81,"props":997,"children":998},{},[999],{"type":47,"value":1000},"body = Paragraph(\"This is the body of the report. \" * 20, styles['Normal'])\n",{"type":41,"tag":81,"props":1002,"children":1003},{"class":83,"line":738},[1004],{"type":41,"tag":81,"props":1005,"children":1006},{},[1007],{"type":47,"value":1008},"story.append(body)\n",{"type":41,"tag":81,"props":1010,"children":1012},{"class":83,"line":1011},16,[1013],{"type":41,"tag":81,"props":1014,"children":1015},{},[1016],{"type":47,"value":1017},"story.append(PageBreak())\n",{"type":41,"tag":81,"props":1019,"children":1021},{"class":83,"line":1020},17,[1022],{"type":41,"tag":81,"props":1023,"children":1024},{"emptyLinePlaceholder":97},[1025],{"type":47,"value":100},{"type":41,"tag":81,"props":1027,"children":1029},{"class":83,"line":1028},18,[1030],{"type":41,"tag":81,"props":1031,"children":1032},{},[1033],{"type":47,"value":1034},"# Page 2\n",{"type":41,"tag":81,"props":1036,"children":1038},{"class":83,"line":1037},19,[1039],{"type":41,"tag":81,"props":1040,"children":1041},{},[1042],{"type":47,"value":1043},"story.append(Paragraph(\"Page 2\", styles['Heading1']))\n",{"type":41,"tag":81,"props":1045,"children":1047},{"class":83,"line":1046},20,[1048],{"type":41,"tag":81,"props":1049,"children":1050},{},[1051],{"type":47,"value":1052},"story.append(Paragraph(\"Content for page 2\", styles['Normal']))\n",{"type":41,"tag":81,"props":1054,"children":1056},{"class":83,"line":1055},21,[1057],{"type":41,"tag":81,"props":1058,"children":1059},{"emptyLinePlaceholder":97},[1060],{"type":47,"value":100},{"type":41,"tag":81,"props":1062,"children":1064},{"class":83,"line":1063},22,[1065],{"type":41,"tag":81,"props":1066,"children":1067},{},[1068],{"type":47,"value":1069},"# Build PDF\n",{"type":41,"tag":81,"props":1071,"children":1073},{"class":83,"line":1072},23,[1074],{"type":41,"tag":81,"props":1075,"children":1076},{},[1077],{"type":47,"value":1078},"doc.build(story)\n",{"type":41,"tag":50,"props":1080,"children":1082},{"id":1081},"command-line-tools",[1083],{"type":47,"value":1084},"Command-Line Tools",{"type":41,"tag":179,"props":1086,"children":1088},{"id":1087},"pdftotext-poppler-utils",[1089],{"type":47,"value":1090},"pdftotext (poppler-utils)",{"type":41,"tag":69,"props":1092,"children":1096},{"className":1093,"code":1094,"language":1095,"meta":74,"style":74},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Extract text\npdftotext input.pdf output.txt\n\n# Extract text preserving layout\npdftotext -layout input.pdf output.txt\n\n# Extract specific pages\npdftotext -f 1 -l 5 input.pdf output.txt  # Pages 1-5\n","bash",[1097],{"type":41,"tag":77,"props":1098,"children":1099},{"__ignoreMap":74},[1100,1108,1128,1135,1143,1163,1170,1178],{"type":41,"tag":81,"props":1101,"children":1102},{"class":83,"line":84},[1103],{"type":41,"tag":81,"props":1104,"children":1106},{"style":1105},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1107],{"type":47,"value":144},{"type":41,"tag":81,"props":1109,"children":1110},{"class":83,"line":93},[1111,1117,1123],{"type":41,"tag":81,"props":1112,"children":1114},{"style":1113},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[1115],{"type":47,"value":1116},"pdftotext",{"type":41,"tag":81,"props":1118,"children":1120},{"style":1119},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[1121],{"type":47,"value":1122}," input.pdf",{"type":41,"tag":81,"props":1124,"children":1125},{"style":1119},[1126],{"type":47,"value":1127}," output.txt\n",{"type":41,"tag":81,"props":1129,"children":1130},{"class":83,"line":103},[1131],{"type":41,"tag":81,"props":1132,"children":1133},{"emptyLinePlaceholder":97},[1134],{"type":47,"value":100},{"type":41,"tag":81,"props":1136,"children":1137},{"class":83,"line":112},[1138],{"type":41,"tag":81,"props":1139,"children":1140},{"style":1105},[1141],{"type":47,"value":1142},"# Extract text preserving layout\n",{"type":41,"tag":81,"props":1144,"children":1145},{"class":83,"line":121},[1146,1150,1155,1159],{"type":41,"tag":81,"props":1147,"children":1148},{"style":1113},[1149],{"type":47,"value":1116},{"type":41,"tag":81,"props":1151,"children":1152},{"style":1119},[1153],{"type":47,"value":1154}," -layout",{"type":41,"tag":81,"props":1156,"children":1157},{"style":1119},[1158],{"type":47,"value":1122},{"type":41,"tag":81,"props":1160,"children":1161},{"style":1119},[1162],{"type":47,"value":1127},{"type":41,"tag":81,"props":1164,"children":1165},{"class":83,"line":130},[1166],{"type":41,"tag":81,"props":1167,"children":1168},{"emptyLinePlaceholder":97},[1169],{"type":47,"value":100},{"type":41,"tag":81,"props":1171,"children":1172},{"class":83,"line":138},[1173],{"type":41,"tag":81,"props":1174,"children":1175},{"style":1105},[1176],{"type":47,"value":1177},"# Extract specific pages\n",{"type":41,"tag":81,"props":1179,"children":1180},{"class":83,"line":147},[1181,1185,1190,1196,1201,1206,1210,1215],{"type":41,"tag":81,"props":1182,"children":1183},{"style":1113},[1184],{"type":47,"value":1116},{"type":41,"tag":81,"props":1186,"children":1187},{"style":1119},[1188],{"type":47,"value":1189}," -f",{"type":41,"tag":81,"props":1191,"children":1193},{"style":1192},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1194],{"type":47,"value":1195}," 1",{"type":41,"tag":81,"props":1197,"children":1198},{"style":1119},[1199],{"type":47,"value":1200}," -l",{"type":41,"tag":81,"props":1202,"children":1203},{"style":1192},[1204],{"type":47,"value":1205}," 5",{"type":41,"tag":81,"props":1207,"children":1208},{"style":1119},[1209],{"type":47,"value":1122},{"type":41,"tag":81,"props":1211,"children":1212},{"style":1119},[1213],{"type":47,"value":1214}," output.txt",{"type":41,"tag":81,"props":1216,"children":1217},{"style":1105},[1218],{"type":47,"value":1219},"  # Pages 1-5\n",{"type":41,"tag":179,"props":1221,"children":1223},{"id":1222},"qpdf",[1224],{"type":47,"value":1222},{"type":41,"tag":69,"props":1226,"children":1228},{"className":1093,"code":1227,"language":1095,"meta":74,"style":74},"# Merge PDFs\nqpdf --empty --pages file1.pdf file2.pdf -- merged.pdf\n\n# Split pages\nqpdf input.pdf --pages . 1-5 -- pages1-5.pdf\nqpdf input.pdf --pages . 6-10 -- pages6-10.pdf\n\n# Rotate pages\nqpdf input.pdf output.pdf --rotate=+90:1  # Rotate page 1 by 90 degrees\n\n# Remove password\nqpdf --password=mypassword --decrypt encrypted.pdf decrypted.pdf\n",[1229],{"type":41,"tag":77,"props":1230,"children":1231},{"__ignoreMap":74},[1232,1240,1277,1284,1292,1326,1359,1366,1374,1400,1407,1415],{"type":41,"tag":81,"props":1233,"children":1234},{"class":83,"line":84},[1235],{"type":41,"tag":81,"props":1236,"children":1237},{"style":1105},[1238],{"type":47,"value":1239},"# Merge PDFs\n",{"type":41,"tag":81,"props":1241,"children":1242},{"class":83,"line":93},[1243,1247,1252,1257,1262,1267,1272],{"type":41,"tag":81,"props":1244,"children":1245},{"style":1113},[1246],{"type":47,"value":1222},{"type":41,"tag":81,"props":1248,"children":1249},{"style":1119},[1250],{"type":47,"value":1251}," --empty",{"type":41,"tag":81,"props":1253,"children":1254},{"style":1119},[1255],{"type":47,"value":1256}," --pages",{"type":41,"tag":81,"props":1258,"children":1259},{"style":1119},[1260],{"type":47,"value":1261}," file1.pdf",{"type":41,"tag":81,"props":1263,"children":1264},{"style":1119},[1265],{"type":47,"value":1266}," file2.pdf",{"type":41,"tag":81,"props":1268,"children":1269},{"style":1119},[1270],{"type":47,"value":1271}," --",{"type":41,"tag":81,"props":1273,"children":1274},{"style":1119},[1275],{"type":47,"value":1276}," merged.pdf\n",{"type":41,"tag":81,"props":1278,"children":1279},{"class":83,"line":103},[1280],{"type":41,"tag":81,"props":1281,"children":1282},{"emptyLinePlaceholder":97},[1283],{"type":47,"value":100},{"type":41,"tag":81,"props":1285,"children":1286},{"class":83,"line":112},[1287],{"type":41,"tag":81,"props":1288,"children":1289},{"style":1105},[1290],{"type":47,"value":1291},"# Split pages\n",{"type":41,"tag":81,"props":1293,"children":1294},{"class":83,"line":121},[1295,1299,1303,1307,1312,1317,1321],{"type":41,"tag":81,"props":1296,"children":1297},{"style":1113},[1298],{"type":47,"value":1222},{"type":41,"tag":81,"props":1300,"children":1301},{"style":1119},[1302],{"type":47,"value":1122},{"type":41,"tag":81,"props":1304,"children":1305},{"style":1119},[1306],{"type":47,"value":1256},{"type":41,"tag":81,"props":1308,"children":1309},{"style":1119},[1310],{"type":47,"value":1311}," .",{"type":41,"tag":81,"props":1313,"children":1314},{"style":1119},[1315],{"type":47,"value":1316}," 1-5",{"type":41,"tag":81,"props":1318,"children":1319},{"style":1119},[1320],{"type":47,"value":1271},{"type":41,"tag":81,"props":1322,"children":1323},{"style":1119},[1324],{"type":47,"value":1325}," pages1-5.pdf\n",{"type":41,"tag":81,"props":1327,"children":1328},{"class":83,"line":130},[1329,1333,1337,1341,1345,1350,1354],{"type":41,"tag":81,"props":1330,"children":1331},{"style":1113},[1332],{"type":47,"value":1222},{"type":41,"tag":81,"props":1334,"children":1335},{"style":1119},[1336],{"type":47,"value":1122},{"type":41,"tag":81,"props":1338,"children":1339},{"style":1119},[1340],{"type":47,"value":1256},{"type":41,"tag":81,"props":1342,"children":1343},{"style":1119},[1344],{"type":47,"value":1311},{"type":41,"tag":81,"props":1346,"children":1347},{"style":1119},[1348],{"type":47,"value":1349}," 6-10",{"type":41,"tag":81,"props":1351,"children":1352},{"style":1119},[1353],{"type":47,"value":1271},{"type":41,"tag":81,"props":1355,"children":1356},{"style":1119},[1357],{"type":47,"value":1358}," pages6-10.pdf\n",{"type":41,"tag":81,"props":1360,"children":1361},{"class":83,"line":138},[1362],{"type":41,"tag":81,"props":1363,"children":1364},{"emptyLinePlaceholder":97},[1365],{"type":47,"value":100},{"type":41,"tag":81,"props":1367,"children":1368},{"class":83,"line":147},[1369],{"type":41,"tag":81,"props":1370,"children":1371},{"style":1105},[1372],{"type":47,"value":1373},"# Rotate pages\n",{"type":41,"tag":81,"props":1375,"children":1376},{"class":83,"line":156},[1377,1381,1385,1390,1395],{"type":41,"tag":81,"props":1378,"children":1379},{"style":1113},[1380],{"type":47,"value":1222},{"type":41,"tag":81,"props":1382,"children":1383},{"style":1119},[1384],{"type":47,"value":1122},{"type":41,"tag":81,"props":1386,"children":1387},{"style":1119},[1388],{"type":47,"value":1389}," output.pdf",{"type":41,"tag":81,"props":1391,"children":1392},{"style":1119},[1393],{"type":47,"value":1394}," --rotate=+90:1",{"type":41,"tag":81,"props":1396,"children":1397},{"style":1105},[1398],{"type":47,"value":1399},"  # Rotate page 1 by 90 degrees\n",{"type":41,"tag":81,"props":1401,"children":1402},{"class":83,"line":165},[1403],{"type":41,"tag":81,"props":1404,"children":1405},{"emptyLinePlaceholder":97},[1406],{"type":47,"value":100},{"type":41,"tag":81,"props":1408,"children":1409},{"class":83,"line":703},[1410],{"type":41,"tag":81,"props":1411,"children":1412},{"style":1105},[1413],{"type":47,"value":1414},"# Remove password\n",{"type":41,"tag":81,"props":1416,"children":1417},{"class":83,"line":711},[1418,1422,1427,1432,1437],{"type":41,"tag":81,"props":1419,"children":1420},{"style":1113},[1421],{"type":47,"value":1222},{"type":41,"tag":81,"props":1423,"children":1424},{"style":1119},[1425],{"type":47,"value":1426}," --password=mypassword",{"type":41,"tag":81,"props":1428,"children":1429},{"style":1119},[1430],{"type":47,"value":1431}," --decrypt",{"type":41,"tag":81,"props":1433,"children":1434},{"style":1119},[1435],{"type":47,"value":1436}," encrypted.pdf",{"type":41,"tag":81,"props":1438,"children":1439},{"style":1119},[1440],{"type":47,"value":1441}," decrypted.pdf\n",{"type":41,"tag":179,"props":1443,"children":1445},{"id":1444},"pdftk-if-available",[1446],{"type":47,"value":1447},"pdftk (if available)",{"type":41,"tag":69,"props":1449,"children":1451},{"className":1093,"code":1450,"language":1095,"meta":74,"style":74},"# Merge\npdftk file1.pdf file2.pdf cat output merged.pdf\n\n# Split\npdftk input.pdf burst\n\n# Rotate\npdftk input.pdf rotate 1east output rotated.pdf\n",[1452],{"type":41,"tag":77,"props":1453,"children":1454},{"__ignoreMap":74},[1455,1463,1493,1500,1508,1524,1531,1539],{"type":41,"tag":81,"props":1456,"children":1457},{"class":83,"line":84},[1458],{"type":41,"tag":81,"props":1459,"children":1460},{"style":1105},[1461],{"type":47,"value":1462},"# Merge\n",{"type":41,"tag":81,"props":1464,"children":1465},{"class":83,"line":93},[1466,1471,1475,1479,1484,1489],{"type":41,"tag":81,"props":1467,"children":1468},{"style":1113},[1469],{"type":47,"value":1470},"pdftk",{"type":41,"tag":81,"props":1472,"children":1473},{"style":1119},[1474],{"type":47,"value":1261},{"type":41,"tag":81,"props":1476,"children":1477},{"style":1119},[1478],{"type":47,"value":1266},{"type":41,"tag":81,"props":1480,"children":1481},{"style":1119},[1482],{"type":47,"value":1483}," cat",{"type":41,"tag":81,"props":1485,"children":1486},{"style":1119},[1487],{"type":47,"value":1488}," output",{"type":41,"tag":81,"props":1490,"children":1491},{"style":1119},[1492],{"type":47,"value":1276},{"type":41,"tag":81,"props":1494,"children":1495},{"class":83,"line":103},[1496],{"type":41,"tag":81,"props":1497,"children":1498},{"emptyLinePlaceholder":97},[1499],{"type":47,"value":100},{"type":41,"tag":81,"props":1501,"children":1502},{"class":83,"line":112},[1503],{"type":41,"tag":81,"props":1504,"children":1505},{"style":1105},[1506],{"type":47,"value":1507},"# Split\n",{"type":41,"tag":81,"props":1509,"children":1510},{"class":83,"line":121},[1511,1515,1519],{"type":41,"tag":81,"props":1512,"children":1513},{"style":1113},[1514],{"type":47,"value":1470},{"type":41,"tag":81,"props":1516,"children":1517},{"style":1119},[1518],{"type":47,"value":1122},{"type":41,"tag":81,"props":1520,"children":1521},{"style":1119},[1522],{"type":47,"value":1523}," burst\n",{"type":41,"tag":81,"props":1525,"children":1526},{"class":83,"line":130},[1527],{"type":41,"tag":81,"props":1528,"children":1529},{"emptyLinePlaceholder":97},[1530],{"type":47,"value":100},{"type":41,"tag":81,"props":1532,"children":1533},{"class":83,"line":138},[1534],{"type":41,"tag":81,"props":1535,"children":1536},{"style":1105},[1537],{"type":47,"value":1538},"# Rotate\n",{"type":41,"tag":81,"props":1540,"children":1541},{"class":83,"line":147},[1542,1546,1550,1555,1560,1564],{"type":41,"tag":81,"props":1543,"children":1544},{"style":1113},[1545],{"type":47,"value":1470},{"type":41,"tag":81,"props":1547,"children":1548},{"style":1119},[1549],{"type":47,"value":1122},{"type":41,"tag":81,"props":1551,"children":1552},{"style":1119},[1553],{"type":47,"value":1554}," rotate",{"type":41,"tag":81,"props":1556,"children":1557},{"style":1119},[1558],{"type":47,"value":1559}," 1east",{"type":41,"tag":81,"props":1561,"children":1562},{"style":1119},[1563],{"type":47,"value":1488},{"type":41,"tag":81,"props":1565,"children":1566},{"style":1119},[1567],{"type":47,"value":1568}," rotated.pdf\n",{"type":41,"tag":50,"props":1570,"children":1572},{"id":1571},"common-tasks",[1573],{"type":47,"value":1574},"Common Tasks",{"type":41,"tag":179,"props":1576,"children":1578},{"id":1577},"extract-text-from-scanned-pdfs",[1579],{"type":47,"value":1580},"Extract Text from Scanned PDFs",{"type":41,"tag":69,"props":1582,"children":1584},{"className":71,"code":1583,"language":73,"meta":74,"style":74},"# Requires: pip install pytesseract pdf2image\nimport pytesseract\nfrom pdf2image import convert_from_path\n\n# Convert PDF to images\nimages = convert_from_path('scanned.pdf')\n\n# OCR each page\ntext = \"\"\nfor i, image in enumerate(images):\n    text += f\"Page {i+1}:\\n\"\n    text += pytesseract.image_to_string(image)\n    text += \"\\n\\n\"\n\nprint(text)\n",[1585],{"type":41,"tag":77,"props":1586,"children":1587},{"__ignoreMap":74},[1588,1596,1604,1612,1619,1627,1635,1642,1650,1657,1665,1673,1681,1689,1696],{"type":41,"tag":81,"props":1589,"children":1590},{"class":83,"line":84},[1591],{"type":41,"tag":81,"props":1592,"children":1593},{},[1594],{"type":47,"value":1595},"# Requires: pip install pytesseract pdf2image\n",{"type":41,"tag":81,"props":1597,"children":1598},{"class":83,"line":93},[1599],{"type":41,"tag":81,"props":1600,"children":1601},{},[1602],{"type":47,"value":1603},"import pytesseract\n",{"type":41,"tag":81,"props":1605,"children":1606},{"class":83,"line":103},[1607],{"type":41,"tag":81,"props":1608,"children":1609},{},[1610],{"type":47,"value":1611},"from pdf2image import convert_from_path\n",{"type":41,"tag":81,"props":1613,"children":1614},{"class":83,"line":112},[1615],{"type":41,"tag":81,"props":1616,"children":1617},{"emptyLinePlaceholder":97},[1618],{"type":47,"value":100},{"type":41,"tag":81,"props":1620,"children":1621},{"class":83,"line":121},[1622],{"type":41,"tag":81,"props":1623,"children":1624},{},[1625],{"type":47,"value":1626},"# Convert PDF to images\n",{"type":41,"tag":81,"props":1628,"children":1629},{"class":83,"line":130},[1630],{"type":41,"tag":81,"props":1631,"children":1632},{},[1633],{"type":47,"value":1634},"images = convert_from_path('scanned.pdf')\n",{"type":41,"tag":81,"props":1636,"children":1637},{"class":83,"line":138},[1638],{"type":41,"tag":81,"props":1639,"children":1640},{"emptyLinePlaceholder":97},[1641],{"type":47,"value":100},{"type":41,"tag":81,"props":1643,"children":1644},{"class":83,"line":147},[1645],{"type":41,"tag":81,"props":1646,"children":1647},{},[1648],{"type":47,"value":1649},"# OCR each page\n",{"type":41,"tag":81,"props":1651,"children":1652},{"class":83,"line":156},[1653],{"type":41,"tag":81,"props":1654,"children":1655},{},[1656],{"type":47,"value":153},{"type":41,"tag":81,"props":1658,"children":1659},{"class":83,"line":165},[1660],{"type":41,"tag":81,"props":1661,"children":1662},{},[1663],{"type":47,"value":1664},"for i, image in enumerate(images):\n",{"type":41,"tag":81,"props":1666,"children":1667},{"class":83,"line":703},[1668],{"type":41,"tag":81,"props":1669,"children":1670},{},[1671],{"type":47,"value":1672},"    text += f\"Page {i+1}:\\n\"\n",{"type":41,"tag":81,"props":1674,"children":1675},{"class":83,"line":711},[1676],{"type":41,"tag":81,"props":1677,"children":1678},{},[1679],{"type":47,"value":1680},"    text += pytesseract.image_to_string(image)\n",{"type":41,"tag":81,"props":1682,"children":1683},{"class":83,"line":720},[1684],{"type":41,"tag":81,"props":1685,"children":1686},{},[1687],{"type":47,"value":1688},"    text += \"\\n\\n\"\n",{"type":41,"tag":81,"props":1690,"children":1691},{"class":83,"line":729},[1692],{"type":41,"tag":81,"props":1693,"children":1694},{"emptyLinePlaceholder":97},[1695],{"type":47,"value":100},{"type":41,"tag":81,"props":1697,"children":1698},{"class":83,"line":738},[1699],{"type":41,"tag":81,"props":1700,"children":1701},{},[1702],{"type":47,"value":1703},"print(text)\n",{"type":41,"tag":179,"props":1705,"children":1707},{"id":1706},"add-watermark",[1708],{"type":47,"value":1709},"Add Watermark",{"type":41,"tag":69,"props":1711,"children":1713},{"className":71,"code":1712,"language":73,"meta":74,"style":74},"from pypdf import PdfReader, PdfWriter\n\n# Create watermark (or load existing)\nwatermark = PdfReader(\"watermark.pdf\").pages[0]\n\n# Apply to all pages\nreader = PdfReader(\"document.pdf\")\nwriter = PdfWriter()\n\nfor page in reader.pages:\n    page.merge_page(watermark)\n    writer.add_page(page)\n\nwith open(\"watermarked.pdf\", \"wb\") as output:\n    writer.write(output)\n",[1714],{"type":41,"tag":77,"props":1715,"children":1716},{"__ignoreMap":74},[1717,1724,1731,1739,1747,1754,1762,1769,1776,1783,1790,1798,1805,1812,1820],{"type":41,"tag":81,"props":1718,"children":1719},{"class":83,"line":84},[1720],{"type":41,"tag":81,"props":1721,"children":1722},{},[1723],{"type":47,"value":90},{"type":41,"tag":81,"props":1725,"children":1726},{"class":83,"line":93},[1727],{"type":41,"tag":81,"props":1728,"children":1729},{"emptyLinePlaceholder":97},[1730],{"type":47,"value":100},{"type":41,"tag":81,"props":1732,"children":1733},{"class":83,"line":103},[1734],{"type":41,"tag":81,"props":1735,"children":1736},{},[1737],{"type":47,"value":1738},"# Create watermark (or load existing)\n",{"type":41,"tag":81,"props":1740,"children":1741},{"class":83,"line":112},[1742],{"type":41,"tag":81,"props":1743,"children":1744},{},[1745],{"type":47,"value":1746},"watermark = PdfReader(\"watermark.pdf\").pages[0]\n",{"type":41,"tag":81,"props":1748,"children":1749},{"class":83,"line":121},[1750],{"type":41,"tag":81,"props":1751,"children":1752},{"emptyLinePlaceholder":97},[1753],{"type":47,"value":100},{"type":41,"tag":81,"props":1755,"children":1756},{"class":83,"line":130},[1757],{"type":41,"tag":81,"props":1758,"children":1759},{},[1760],{"type":47,"value":1761},"# Apply to all pages\n",{"type":41,"tag":81,"props":1763,"children":1764},{"class":83,"line":138},[1765],{"type":41,"tag":81,"props":1766,"children":1767},{},[1768],{"type":47,"value":118},{"type":41,"tag":81,"props":1770,"children":1771},{"class":83,"line":147},[1772],{"type":41,"tag":81,"props":1773,"children":1774},{},[1775],{"type":47,"value":221},{"type":41,"tag":81,"props":1777,"children":1778},{"class":83,"line":156},[1779],{"type":41,"tag":81,"props":1780,"children":1781},{"emptyLinePlaceholder":97},[1782],{"type":47,"value":100},{"type":41,"tag":81,"props":1784,"children":1785},{"class":83,"line":165},[1786],{"type":41,"tag":81,"props":1787,"children":1788},{},[1789],{"type":47,"value":162},{"type":41,"tag":81,"props":1791,"children":1792},{"class":83,"line":703},[1793],{"type":41,"tag":81,"props":1794,"children":1795},{},[1796],{"type":47,"value":1797},"    page.merge_page(watermark)\n",{"type":41,"tag":81,"props":1799,"children":1800},{"class":83,"line":711},[1801],{"type":41,"tag":81,"props":1802,"children":1803},{},[1804],{"type":47,"value":321},{"type":41,"tag":81,"props":1806,"children":1807},{"class":83,"line":720},[1808],{"type":41,"tag":81,"props":1809,"children":1810},{"emptyLinePlaceholder":97},[1811],{"type":47,"value":100},{"type":41,"tag":81,"props":1813,"children":1814},{"class":83,"line":729},[1815],{"type":41,"tag":81,"props":1816,"children":1817},{},[1818],{"type":47,"value":1819},"with open(\"watermarked.pdf\", \"wb\") as output:\n",{"type":41,"tag":81,"props":1821,"children":1822},{"class":83,"line":738},[1823],{"type":41,"tag":81,"props":1824,"children":1825},{},[1826],{"type":47,"value":276},{"type":41,"tag":179,"props":1828,"children":1830},{"id":1829},"extract-images",[1831],{"type":47,"value":1832},"Extract Images",{"type":41,"tag":69,"props":1834,"children":1836},{"className":1093,"code":1835,"language":1095,"meta":74,"style":74},"# Using pdfimages (poppler-utils)\npdfimages -j input.pdf output_prefix\n\n# This extracts all images as output_prefix-000.jpg, output_prefix-001.jpg, etc.\n",[1837],{"type":41,"tag":77,"props":1838,"children":1839},{"__ignoreMap":74},[1840,1848,1870,1877],{"type":41,"tag":81,"props":1841,"children":1842},{"class":83,"line":84},[1843],{"type":41,"tag":81,"props":1844,"children":1845},{"style":1105},[1846],{"type":47,"value":1847},"# Using pdfimages (poppler-utils)\n",{"type":41,"tag":81,"props":1849,"children":1850},{"class":83,"line":93},[1851,1856,1861,1865],{"type":41,"tag":81,"props":1852,"children":1853},{"style":1113},[1854],{"type":47,"value":1855},"pdfimages",{"type":41,"tag":81,"props":1857,"children":1858},{"style":1119},[1859],{"type":47,"value":1860}," -j",{"type":41,"tag":81,"props":1862,"children":1863},{"style":1119},[1864],{"type":47,"value":1122},{"type":41,"tag":81,"props":1866,"children":1867},{"style":1119},[1868],{"type":47,"value":1869}," output_prefix\n",{"type":41,"tag":81,"props":1871,"children":1872},{"class":83,"line":103},[1873],{"type":41,"tag":81,"props":1874,"children":1875},{"emptyLinePlaceholder":97},[1876],{"type":47,"value":100},{"type":41,"tag":81,"props":1878,"children":1879},{"class":83,"line":112},[1880],{"type":41,"tag":81,"props":1881,"children":1882},{"style":1105},[1883],{"type":47,"value":1884},"# This extracts all images as output_prefix-000.jpg, output_prefix-001.jpg, etc.\n",{"type":41,"tag":179,"props":1886,"children":1888},{"id":1887},"password-protection",[1889],{"type":47,"value":1890},"Password Protection",{"type":41,"tag":69,"props":1892,"children":1894},{"className":71,"code":1893,"language":73,"meta":74,"style":74},"from pypdf import PdfReader, PdfWriter\n\nreader = PdfReader(\"input.pdf\")\nwriter = PdfWriter()\n\nfor page in reader.pages:\n    writer.add_page(page)\n\n# Add password\nwriter.encrypt(\"userpassword\", \"ownerpassword\")\n\nwith open(\"encrypted.pdf\", \"wb\") as output:\n    writer.write(output)\n",[1895],{"type":41,"tag":77,"props":1896,"children":1897},{"__ignoreMap":74},[1898,1905,1912,1919,1926,1933,1940,1947,1954,1962,1970,1977,1985],{"type":41,"tag":81,"props":1899,"children":1900},{"class":83,"line":84},[1901],{"type":41,"tag":81,"props":1902,"children":1903},{},[1904],{"type":47,"value":90},{"type":41,"tag":81,"props":1906,"children":1907},{"class":83,"line":93},[1908],{"type":41,"tag":81,"props":1909,"children":1910},{"emptyLinePlaceholder":97},[1911],{"type":47,"value":100},{"type":41,"tag":81,"props":1913,"children":1914},{"class":83,"line":103},[1915],{"type":41,"tag":81,"props":1916,"children":1917},{},[1918],{"type":47,"value":297},{"type":41,"tag":81,"props":1920,"children":1921},{"class":83,"line":112},[1922],{"type":41,"tag":81,"props":1923,"children":1924},{},[1925],{"type":47,"value":221},{"type":41,"tag":81,"props":1927,"children":1928},{"class":83,"line":121},[1929],{"type":41,"tag":81,"props":1930,"children":1931},{"emptyLinePlaceholder":97},[1932],{"type":47,"value":100},{"type":41,"tag":81,"props":1934,"children":1935},{"class":83,"line":130},[1936],{"type":41,"tag":81,"props":1937,"children":1938},{},[1939],{"type":47,"value":162},{"type":41,"tag":81,"props":1941,"children":1942},{"class":83,"line":138},[1943],{"type":41,"tag":81,"props":1944,"children":1945},{},[1946],{"type":47,"value":321},{"type":41,"tag":81,"props":1948,"children":1949},{"class":83,"line":147},[1950],{"type":41,"tag":81,"props":1951,"children":1952},{"emptyLinePlaceholder":97},[1953],{"type":47,"value":100},{"type":41,"tag":81,"props":1955,"children":1956},{"class":83,"line":156},[1957],{"type":41,"tag":81,"props":1958,"children":1959},{},[1960],{"type":47,"value":1961},"# Add password\n",{"type":41,"tag":81,"props":1963,"children":1964},{"class":83,"line":165},[1965],{"type":41,"tag":81,"props":1966,"children":1967},{},[1968],{"type":47,"value":1969},"writer.encrypt(\"userpassword\", \"ownerpassword\")\n",{"type":41,"tag":81,"props":1971,"children":1972},{"class":83,"line":703},[1973],{"type":41,"tag":81,"props":1974,"children":1975},{"emptyLinePlaceholder":97},[1976],{"type":47,"value":100},{"type":41,"tag":81,"props":1978,"children":1979},{"class":83,"line":711},[1980],{"type":41,"tag":81,"props":1981,"children":1982},{},[1983],{"type":47,"value":1984},"with open(\"encrypted.pdf\", \"wb\") as output:\n",{"type":41,"tag":81,"props":1986,"children":1987},{"class":83,"line":720},[1988],{"type":41,"tag":81,"props":1989,"children":1990},{},[1991],{"type":47,"value":276},{"type":41,"tag":50,"props":1993,"children":1995},{"id":1994},"quick-reference",[1996],{"type":47,"value":1997},"Quick Reference",{"type":41,"tag":1999,"props":2000,"children":2001},"table",{},[2002,2026],{"type":41,"tag":2003,"props":2004,"children":2005},"thead",{},[2006],{"type":41,"tag":2007,"props":2008,"children":2009},"tr",{},[2010,2016,2021],{"type":41,"tag":2011,"props":2012,"children":2013},"th",{},[2014],{"type":47,"value":2015},"Task",{"type":41,"tag":2011,"props":2017,"children":2018},{},[2019],{"type":47,"value":2020},"Best Tool",{"type":41,"tag":2011,"props":2022,"children":2023},{},[2024],{"type":47,"value":2025},"Command\u002FCode",{"type":41,"tag":2027,"props":2028,"children":2029},"tbody",{},[2030,2052,2069,2091,2112,2130,2151,2169],{"type":41,"tag":2007,"props":2031,"children":2032},{},[2033,2038,2043],{"type":41,"tag":2034,"props":2035,"children":2036},"td",{},[2037],{"type":47,"value":191},{"type":41,"tag":2034,"props":2039,"children":2040},{},[2041],{"type":47,"value":2042},"pypdf",{"type":41,"tag":2034,"props":2044,"children":2045},{},[2046],{"type":41,"tag":77,"props":2047,"children":2049},{"className":2048},[],[2050],{"type":47,"value":2051},"writer.add_page(page)",{"type":41,"tag":2007,"props":2053,"children":2054},{},[2055,2060,2064],{"type":41,"tag":2034,"props":2056,"children":2057},{},[2058],{"type":47,"value":2059},"Split PDFs",{"type":41,"tag":2034,"props":2061,"children":2062},{},[2063],{"type":47,"value":2042},{"type":41,"tag":2034,"props":2065,"children":2066},{},[2067],{"type":47,"value":2068},"One page per file",{"type":41,"tag":2007,"props":2070,"children":2071},{},[2072,2077,2082],{"type":41,"tag":2034,"props":2073,"children":2074},{},[2075],{"type":47,"value":2076},"Extract text",{"type":41,"tag":2034,"props":2078,"children":2079},{},[2080],{"type":47,"value":2081},"pdfplumber",{"type":41,"tag":2034,"props":2083,"children":2084},{},[2085],{"type":41,"tag":77,"props":2086,"children":2088},{"className":2087},[],[2089],{"type":47,"value":2090},"page.extract_text()",{"type":41,"tag":2007,"props":2092,"children":2093},{},[2094,2099,2103],{"type":41,"tag":2034,"props":2095,"children":2096},{},[2097],{"type":47,"value":2098},"Extract tables",{"type":41,"tag":2034,"props":2100,"children":2101},{},[2102],{"type":47,"value":2081},{"type":41,"tag":2034,"props":2104,"children":2105},{},[2106],{"type":41,"tag":77,"props":2107,"children":2109},{"className":2108},[],[2110],{"type":47,"value":2111},"page.extract_tables()",{"type":41,"tag":2007,"props":2113,"children":2114},{},[2115,2120,2125],{"type":41,"tag":2034,"props":2116,"children":2117},{},[2118],{"type":47,"value":2119},"Create PDFs",{"type":41,"tag":2034,"props":2121,"children":2122},{},[2123],{"type":47,"value":2124},"reportlab",{"type":41,"tag":2034,"props":2126,"children":2127},{},[2128],{"type":47,"value":2129},"Canvas or Platypus",{"type":41,"tag":2007,"props":2131,"children":2132},{},[2133,2138,2142],{"type":41,"tag":2034,"props":2134,"children":2135},{},[2136],{"type":47,"value":2137},"Command line merge",{"type":41,"tag":2034,"props":2139,"children":2140},{},[2141],{"type":47,"value":1222},{"type":41,"tag":2034,"props":2143,"children":2144},{},[2145],{"type":41,"tag":77,"props":2146,"children":2148},{"className":2147},[],[2149],{"type":47,"value":2150},"qpdf --empty --pages ...",{"type":41,"tag":2007,"props":2152,"children":2153},{},[2154,2159,2164],{"type":41,"tag":2034,"props":2155,"children":2156},{},[2157],{"type":47,"value":2158},"OCR scanned PDFs",{"type":41,"tag":2034,"props":2160,"children":2161},{},[2162],{"type":47,"value":2163},"pytesseract",{"type":41,"tag":2034,"props":2165,"children":2166},{},[2167],{"type":47,"value":2168},"Convert to image first",{"type":41,"tag":2007,"props":2170,"children":2171},{},[2172,2177,2182],{"type":41,"tag":2034,"props":2173,"children":2174},{},[2175],{"type":47,"value":2176},"Fill PDF forms",{"type":41,"tag":2034,"props":2178,"children":2179},{},[2180],{"type":47,"value":2181},"pdf-lib or pypdf (see forms.md)",{"type":41,"tag":2034,"props":2183,"children":2184},{},[2185],{"type":47,"value":2186},"See forms.md",{"type":41,"tag":50,"props":2188,"children":2190},{"id":2189},"next-steps",[2191],{"type":47,"value":2192},"Next Steps",{"type":41,"tag":2194,"props":2195,"children":2196},"ul",{},[2197,2203,2208,2213],{"type":41,"tag":2198,"props":2199,"children":2200},"li",{},[2201],{"type":47,"value":2202},"For advanced pypdfium2 usage, see reference.md",{"type":41,"tag":2198,"props":2204,"children":2205},{},[2206],{"type":47,"value":2207},"For JavaScript libraries (pdf-lib), see reference.md",{"type":41,"tag":2198,"props":2209,"children":2210},{},[2211],{"type":47,"value":2212},"If you need to fill out a PDF form, follow the instructions in forms.md",{"type":41,"tag":2198,"props":2214,"children":2215},{},[2216],{"type":47,"value":2217},"For troubleshooting guides, see reference.md",{"type":41,"tag":2219,"props":2220,"children":2221},"style",{},[2222],{"type":47,"value":2223},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2225,"total":2424},[2226,2250,2266,2285,2300,2320,2338,2356,2371,2387,2404,2414],{"slug":2227,"name":2227,"fn":2228,"description":2229,"org":2230,"tags":2231,"stars":2247,"repoUrl":2248,"updatedAt":2249},"android-native-dev","develop Android native applications","Android native application development and UI design guide. Covers Material Design 3, Kotlin\u002FCompose development, project configuration, accessibility, and build troubleshooting. Read this before Android native application development.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2232,2235,2238,2241,2244],{"name":2233,"slug":2234,"type":15},"Accessibility","accessibility",{"name":2236,"slug":2237,"type":15},"Android","android",{"name":2239,"slug":2240,"type":15},"Kotlin","kotlin",{"name":2242,"slug":2243,"type":15},"Mobile","mobile",{"name":2245,"slug":2246,"type":15},"UI Components","ui-components",13030,"https:\u002F\u002Fgithub.com\u002FMiniMax-AI\u002Fskills","2026-07-13T06:16:54.247834",{"slug":2251,"name":2251,"fn":2252,"description":2253,"org":2254,"tags":2255,"stars":2247,"repoUrl":2248,"updatedAt":2265},"buddy-sings","generate singing performances for AI companions","Use when user wants their Claude Code pet (\u002Fbuddy) to sing a song. Triggers on any request that combines the concept of their Claude Code buddy, pet, or companion with singing or music. Supports multilingual triggers — match equivalent phrases in any language.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2256,2259,2262],{"name":2257,"slug":2258,"type":15},"Agents","agents",{"name":2260,"slug":2261,"type":15},"Audio","audio",{"name":2263,"slug":2264,"type":15},"Creative","creative","2026-07-13T06:16:35.130644",{"slug":2267,"name":2267,"fn":2268,"description":2269,"org":2270,"tags":2271,"stars":2247,"repoUrl":2248,"updatedAt":2284},"color-font-skill","select color palettes and font pairings","Choose presentation-ready color palettes and font pairings for PPT\u002Fdesign tasks. Use when users ask for visual theme choices, brand-safe palettes, or font recommendations. Triggers include: 配色, 色板, 字体, color palette, font, PPT配色, 字体搭配.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2272,2275,2278,2281],{"name":2273,"slug":2274,"type":15},"Design","design",{"name":2276,"slug":2277,"type":15},"Presentations","presentations",{"name":2279,"slug":2280,"type":15},"Themes","themes",{"name":2282,"slug":2283,"type":15},"Typography","typography","2026-07-13T06:17:02.785587",{"slug":2286,"name":2286,"fn":2287,"description":2288,"org":2289,"tags":2290,"stars":2247,"repoUrl":2248,"updatedAt":2299},"design-style-skill","select visual design systems for presentations","Select a consistent visual design system for PPT slides using radius\u002Fspacing style recipes. Use when users ask for overall style direction or component styling consistency. Includes Sharp\u002FSoft\u002FRounded\u002FPill recipes, component mappings, typography\u002Fspacing rules, and mixing guidance. Triggers: 风格, style, radius, spacing, 圆角, 间距, PPT风格, 视觉风格, design style, component style.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2291,2292,2295,2298],{"name":2273,"slug":2274,"type":15},{"name":2293,"slug":2294,"type":15},"Design System","design-system",{"name":2296,"slug":2297,"type":15},"PowerPoint","powerpoint",{"name":2276,"slug":2277,"type":15},"2026-07-13T06:17:10.398389",{"slug":2301,"name":2301,"fn":2302,"description":2303,"org":2304,"tags":2305,"stars":2247,"repoUrl":2248,"updatedAt":2319},"flutter-dev","build cross-platform apps with Flutter","Flutter cross-platform development guide covering widget patterns, Riverpod\u002FBloc state management, GoRouter navigation, performance optimization, and platform-specific implementations. Includes const optimization, responsive layouts, testing strategies, and DevTools profiling.\nUse when: building Flutter apps, implementing state management (Riverpod\u002FBloc), setting up GoRouter navigation, creating custom widgets, optimizing performance, writing widget tests, cross-platform development.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2306,2309,2312,2313,2316],{"name":2307,"slug":2308,"type":15},"Dart","dart",{"name":2310,"slug":2311,"type":15},"Flutter","flutter",{"name":2242,"slug":2243,"type":15},{"name":2314,"slug":2315,"type":15},"Performance","performance",{"name":2317,"slug":2318,"type":15},"State Management","state-management","2026-07-13T06:16:36.626679",{"slug":2321,"name":2321,"fn":2322,"description":2323,"org":2324,"tags":2325,"stars":2247,"repoUrl":2248,"updatedAt":2337},"frontend-dev","build visually striking frontend web pages","Full-stack frontend development combining premium UI design, cinematic animations,\nAI-generated media assets, persuasive copywriting, and visual art. Builds complete,\nvisually striking web pages with real media, advanced motion, and compelling copy.\nUse when: building landing pages, marketing sites, product pages, dashboards,\ngenerating media assets (image\u002Fvideo\u002Faudio\u002Fmusic), writing conversion copy,\ncreating generative art, or implementing cinematic scroll animations.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2326,2329,2330,2331,2334],{"name":2327,"slug":2328,"type":15},"Animation","animation",{"name":2263,"slug":2264,"type":15},{"name":2273,"slug":2274,"type":15},{"name":2332,"slug":2333,"type":15},"Frontend","frontend",{"name":2335,"slug":2336,"type":15},"Web Development","web-development","2026-07-13T06:16:39.108827",{"slug":2339,"name":2339,"fn":2340,"description":2341,"org":2342,"tags":2343,"stars":2247,"repoUrl":2248,"updatedAt":2355},"fullstack-dev","build full-stack web applications","Full-stack backend architecture and frontend-backend integration guide.\nTRIGGER when: building a full-stack app, creating REST API with frontend, scaffolding backend service,\nbuilding todo app, building CRUD app, building real-time app, building chat app,\nExpress + React, Next.js API, Node.js backend, Python backend, Go backend,\ndesigning service layers, implementing error handling, managing config\u002Fauth,\nsetting up API clients, implementing auth flows, handling file uploads,\nadding real-time features (SSE\u002FWebSocket), hardening for production.\nDO NOT TRIGGER when: pure frontend UI work, pure CSS\u002Fstyling, database schema only.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2344,2347,2348,2351,2354],{"name":2345,"slug":2346,"type":15},"Backend","backend",{"name":2332,"slug":2333,"type":15},{"name":2349,"slug":2350,"type":15},"Full-stack","full-stack",{"name":2352,"slug":2353,"type":15},"REST API","rest-api",{"name":2335,"slug":2336,"type":15},"2026-07-13T06:16:43.219005",{"slug":2357,"name":2357,"fn":2358,"description":2359,"org":2360,"tags":2361,"stars":2247,"repoUrl":2248,"updatedAt":2370},"gif-sticker-maker","create animated GIF stickers from photos","Convert photos (people, pets, objects, logos) into 4 animated GIF stickers with captions.\nUse when: user wants to create cartoon stickers, GIF expressions, emoji packs, animated avatars,\nor convert photos to Funko Pop \u002F Pop Mart blind box style animations.\nTriggers: sticker, GIF, cartoon, emoji, expression pack, avatar animation.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2362,2363,2364,2367],{"name":2327,"slug":2328,"type":15},{"name":2263,"slug":2264,"type":15},{"name":2365,"slug":2366,"type":15},"Images","images",{"name":2368,"slug":2369,"type":15},"Media","media","2026-07-13T06:16:51.74461",{"slug":2372,"name":2372,"fn":2373,"description":2374,"org":2375,"tags":2376,"stars":2247,"repoUrl":2248,"updatedAt":2386},"ios-application-dev","develop iOS applications with SwiftUI and UIKit","iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific topics, see the reference files.\nUse when: developing iOS apps, implementing UI, reviewing iOS code, working with UIKit\u002FSnapKit\u002FSwiftUI layouts, building iPhone interfaces, Swift mobile development, Apple HIG compliance, iOS accessibility implementation.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2377,2378,2381,2382,2385],{"name":2233,"slug":2234,"type":15},{"name":2379,"slug":2380,"type":15},"iOS","ios",{"name":2242,"slug":2243,"type":15},{"name":2383,"slug":2384,"type":15},"SwiftUI","swiftui",{"name":2245,"slug":2246,"type":15},"2026-07-13T06:16:55.686092",{"slug":2388,"name":2388,"fn":2389,"description":2390,"org":2391,"tags":2392,"stars":2247,"repoUrl":2248,"updatedAt":2403},"minimax-docx","create and edit DOCX documents","Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET). Three pipelines: (A) create new documents from scratch, (B) fill\u002Fedit content in existing documents, (C) apply template formatting with XSD validation gate-check. MUST use this skill whenever the user wants to produce, modify, or format a Word document — including when they say \"write a report\", \"draft a proposal\", \"make a contract\", \"fill in this form\", \"reformat to match this template\", or any task whose final output is a .docx file. Even if the user doesn't mention \"docx\" explicitly, if the task implies a printable\u002Fformal document, use this skill.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2393,2394,2397,2400],{"name":20,"slug":21,"type":15},{"name":2395,"slug":2396,"type":15},"DOCX","docx",{"name":2398,"slug":2399,"type":15},"Office","office",{"name":2401,"slug":2402,"type":15},"Templates","templates","2026-07-13T06:16:40.461868",{"slug":2405,"name":2405,"fn":2406,"description":2407,"org":2408,"tags":2409,"stars":2247,"repoUrl":2248,"updatedAt":2413},"minimax-music-gen","generate music and audio tracks","Use when user wants to generate music, songs, or audio tracks. Triggers on any request involving music creation, song writing, lyrics generation, audio production, or covers. Also triggers when user provides lyrics and wants them turned into a song, or describes a mood\u002Fscene and wants background music. Supports multilingual triggers — match equivalent phrases in any language. Do NOT use for music playback of existing files, music theory questions, or music recommendation without generation.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2410,2411,2412],{"name":2260,"slug":2261,"type":15},{"name":2263,"slug":2264,"type":15},{"name":2368,"slug":2369,"type":15},"2026-07-13T06:16:50.381758",{"slug":2415,"name":2415,"fn":2416,"description":2417,"org":2418,"tags":2419,"stars":2247,"repoUrl":2248,"updatedAt":2423},"minimax-music-playlist","generate personalized music playlists","Generate personalized music playlists by analyzing the user's music taste and generation feedback history. Triggers on any request involving playlist generation, music taste profiling, or personalized music recommendations. Supports multilingual triggers — match equivalent phrases in any language.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2420,2421,2422],{"name":2260,"slug":2261,"type":15},{"name":2263,"slug":2264,"type":15},{"name":2368,"slug":2369,"type":15},"2026-07-13T06:16:57.002997",37,{"items":2426,"total":738},[2427,2442,2462,2474,2485,2497,2513],{"slug":2428,"name":2428,"fn":2429,"description":2430,"org":2431,"tags":2432,"stars":22,"repoUrl":23,"updatedAt":2441},"algorithmic-art","generate algorithmic art with p5.js","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2433,2434,2435,2438],{"name":2263,"slug":2264,"type":15},{"name":2273,"slug":2274,"type":15},{"name":2436,"slug":2437,"type":15},"Generative Art","generative-art",{"name":2439,"slug":2440,"type":15},"Graphics","graphics","2026-07-16T06:02:02.834983",{"slug":2443,"name":2443,"fn":2444,"description":2445,"org":2446,"tags":2447,"stars":22,"repoUrl":23,"updatedAt":2461},"artifacts-builder","build complex React HTML artifacts","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2448,2449,2452,2455,2458],{"name":2332,"slug":2333,"type":15},{"name":2450,"slug":2451,"type":15},"HTML","html",{"name":2453,"slug":2454,"type":15},"React","react",{"name":2456,"slug":2457,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":2459,"slug":2460,"type":15},"Tailwind CSS","tailwind-css","2026-07-13T06:17:37.887194",{"slug":2463,"name":2463,"fn":2464,"description":2465,"org":2466,"tags":2467,"stars":22,"repoUrl":23,"updatedAt":2473},"brand-guidelines","apply brand guidelines to documents","Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2468,2471,2472],{"name":2469,"slug":2470,"type":15},"Branding","branding",{"name":2273,"slug":2274,"type":15},{"name":2282,"slug":2283,"type":15},"2026-07-13T06:17:36.624966",{"slug":2475,"name":2475,"fn":2476,"description":2477,"org":2478,"tags":2479,"stars":22,"repoUrl":23,"updatedAt":2484},"canvas-design","create visual art and design documents","Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2480,2481,2482,2483],{"name":2263,"slug":2264,"type":15},{"name":2273,"slug":2274,"type":15},{"name":2365,"slug":2366,"type":15},{"name":14,"slug":4,"type":15},"2026-07-16T06:01:59.313156",{"slug":2396,"name":2396,"fn":2486,"description":2487,"org":2488,"tags":2489,"stars":22,"repoUrl":23,"updatedAt":2496},"create and edit Word documents","Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2490,2491,2492,2493],{"name":20,"slug":21,"type":15},{"name":2395,"slug":2396,"type":15},{"name":2398,"slug":2399,"type":15},{"name":2494,"slug":2495,"type":15},"Word","word","2026-07-13T06:17:51.582447",{"slug":2498,"name":2498,"fn":2499,"description":2500,"org":2501,"tags":2502,"stars":22,"repoUrl":23,"updatedAt":2512},"internal-comms","draft internal company communications","A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2503,2506,2509],{"name":2504,"slug":2505,"type":15},"Communications","communications",{"name":2507,"slug":2508,"type":15},"Operations","operations",{"name":2510,"slug":2511,"type":15},"Writing","writing","2026-07-13T06:17:28.861835",{"slug":2514,"name":2514,"fn":2515,"description":2516,"org":2517,"tags":2518,"stars":22,"repoUrl":23,"updatedAt":2526},"mcp-builder","build MCP servers for external integrations","Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node\u002FTypeScript (MCP SDK).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2519,2520,2523],{"name":2257,"slug":2258,"type":15},{"name":2521,"slug":2522,"type":15},"API Development","api-development",{"name":2524,"slug":2525,"type":15},"MCP","mcp","2026-07-13T06:17:18.339572"]