pdf

Extract text and tables from PDFs using pypdf and pdfplumber.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/erenisiklar/Pusula --skill pdf-erenisiklar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/erenisiklar/Pusula/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/erenisiklar/Pusula --skill pdf-erenisiklar

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF workflows often require repetitive, error-prone manual steps such as text extraction, form filling, and page transformations. This Skill provides a comprehensive, scriptable toolkit to automate these tasks end-to-end.

Core Features & Use Cases

  • Read, merge, split, rotate, and watermark PDFs; extract text and tables; create new PDFs.
  • Fill both fillable and non-fillable forms; extract form metadata; apply OCR to scanned PDFs.
  • Use Case: A legal admin processes hundreds of contracts monthly, automatically extracting key details and consolidating data.

Quick Start

Extract all text from document.pdf and save it to output.txt to begin.

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 PDF invoices using Python?

This Skill automates PDF text and table extraction by leveraging pdfplumber and pypdf to parse document structures. It processes invoices and forms end-to-end, extracting structured content for data entry workflows.

Can I automate PDF form filling for both fillable and scanned documents?

Yes, this PDF processing solution handles both fillable and non-fillable forms. It applies OCR to scanned documents using pdf2image and Pillow, enabling automated form filling and metadata extraction across various document types.

What is the best way to merge, split, and rotate PDF pages programmatically?

Using pypdf, this toolkit programmatically merges, splits, rotates, and watermarks PDF pages. It automates these page transformations end-to-end for admin and legal document workflows.

Do I need Python dependencies installed to perform OCR on scanned PDFs?

Yes, performing OCR on scanned PDFs requires installing pdf2image and Pillow alongside pypdf and pdfplumber. These dependencies provide the image rendering environment needed to extract text from scanned documents.

Does pdfplumber support extracting structured data from complex PDF contracts?

Yes, pdfplumber extracts structured text and tables from complex PDFs. It parses contract layouts by identifying boundaries to extract key details for legal data consolidation workflows.

Why does PDF text extraction fail on scanned documents without OCR?

PDF text extraction fails on scanned documents because they contain images without embedded text. Applying OCR via pdf2image and Pillow renders the pages as images to extract the text accurately.