pdf

Extract text and tables from PDF documents using pypdf and pdfplumber.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/andrescardonas7/salchipapa-web --skill pdf-andrescardonas7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/andrescardonas7/salchipapa-web/tree/main/.cursor/skills/pdf
Command: npx skills add https://github.com/andrescardonas7/salchipapa-web --skill pdf-andrescardonas7

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, reportlab, pytesseract, pdf2image, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of interacting with PDF documents, automating tasks like text and table extraction, form filling, and document generation, thereby reducing manual effort and potential errors.

Core Features & Use Cases

  • Text and Table Extraction: Extract textual content and structured data from PDFs into various formats.
  • PDF Creation and Modification: Generate new PDFs, merge, split, and rotate existing documents.
  • Form Handling: Fill out PDF forms programmatically.
  • Use Case: An analyst needs to extract all tables from a series of research papers to compile a dataset for further analysis. This Skill can automate that extraction process.

Quick Start

Use the pdf skill to extract all text from the attached file 'report.pdf'.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text and tables from a PDF document programmatically?

To extract text and tables from a PDF, you can use libraries like pypdf and pdfplumber. These tools allow you to automate the extraction of textual content and structured data, converting PDF information into formats suitable for further analysis.

What is the best way to generate and merge PDF files in Python?

The best way to generate and merge PDF files is by using Python libraries such as reportlab for creation and pypdf for merging. This approach automates document generation and modification, reducing manual effort and potential errors.

Can I fill out PDF forms automatically using a Python script?

Yes, you can fill out PDF forms automatically using a Python script. This capability allows you to handle administrative documents programmatically, streamlining workflows by populating form fields without manual data entry.

Does pdfplumber support extracting structured data for dataset compilation?

Yes, pdfplumber supports extracting structured data like tables from PDFs. It is specifically useful for compiling datasets from research papers or reports, allowing you to automate the extraction of tabular data into analytical formats.

Why does text extraction fail on scanned PDF documents?

Text extraction often fails on scanned PDFs because they contain images rather than embedded text. To process these documents, optical character recognition tools like pytesseract and pdf2image are required to convert the scanned images into readable text.