pdf

Extract text and tables from PDFs using Python libraries.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/bbzsking/copaw --skill pdf-bbzsking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/bbzsking/copaw/tree/main/src/qwenpaw/agents/skills/pdf-zh
Command: npx skills add https://github.com/bbzsking/copaw --skill pdf-bbzsking

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill streamlines complex PDF workflows, eliminating the need to switch between multiple tools to read, extract text or tables, merge or split files, rotate pages, add watermarks, create new PDFs, fill forms, encrypt/decrypt, and OCR scanned documents.

Core Features & Use Cases

  • Data extraction: read PDFs and pull text and tables into usable formats.
  • Form handling: fill both fillable and non-fillable PDFs, with guidance for fields and validation.
  • Multi-step processing: merge, split, watermark, encrypt, decrypt, and OCR for scanned PDFs; supports creation of new PDFs.
  • Use Case: process invoices, contracts, and forms to digitize records and automate archival workflows.

Quick Start

Extract all text and metadata from the provided 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 using Python?

PDF text extraction uses pdfplumber and pypdf to parse document content into structured formats. It reads PDFs and pulls text and tables into usable data, automating manual processing for invoices, contracts, and forms digitization workflows.

Can I fill both fillable and non-fillable PDF forms with Python?

PDF form filling supports both fillable and non-fillable documents with field guidance and validation. It automates form handling by processing PDF fields, enabling automated completion of contracts and archival forms across diverse workflows.

Does pytesseract OCR work with scanned PDFs for text extraction?

OCR for scanned PDFs uses pytesseract and pdf2image to convert image-based pages into searchable text. It processes scanned documents by converting pages to images, then applying OCR to extract text that standard PDF parsing cannot reach.

What's the best way to merge, split, and watermark PDF files in Python?

PDF merging, splitting, and watermarking is handled through pypdf to modify document structures. It automates multi-step PDF processing by combining, dividing, and stamping pages, streamlining document management and archival workflows.

How do I encrypt and decrypt PDF documents for secure archival?

PDF encryption and decryption secures documents using pypdf to apply or remove password protection. It automates secure document management by encrypting sensitive PDFs and decrypting protected files for authorized archival workflows.