pdf

Extract text and tables from PDFs using pypdf and pdf2image.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/lucasmattosped/Blueberry-Math-Analyzer- --skill pdf-lucasmattosped
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/lucasmattosped/Blueberry-Math-Analyzer-/tree/main/pdf
Command: npx skills add https://github.com/lucasmattosped/Blueberry-Math-Analyzer- --skill pdf-lucasmattosped

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF documents often require manual, error-prone extraction of text and tables, and repetitive, tedious form processing.

Core Features & Use Cases

  • Automated PDF text and table extraction: convert content into usable data.
  • Form handling and annotation-based editing: fill forms, add annotations, and manage fields programmatically.
  • Batch processing and document manipulation: create, merge, split, and annotate PDFs in scalable workflows.

Quick Start

Extract all text and tables from sample.pdf and export them as text and CSV files.

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 files in Python?

To extract text and tables from PDF documents, this solution uses pypdf to parse content and convert it into usable data. It processes batch files and exports extracted information as text and CSV files for immediate analysis.

Can I fill PDF forms and add annotations programmatically?

Yes, you can fill PDF forms and add annotations programmatically. The solution uses pypdf for field extraction and form filling with proper appearance, alongside Pillow and pdf2image to render pages and draw annotation-based outputs.

What is the best way to batch process PDF creation and manipulation?

The best way to batch process PDF creation and manipulation is using Python tooling and command-line workflows. This solution handles scalable workflows to create, merge, split, and annotate multiple PDF documents efficiently.

Does pypdf support rendering PDF pages as images for extraction?

pypdf handles text and form field extraction, while pdf2image and Pillow render PDF pages as images. Together they parse PDFs, render visual page representations, and draw annotations to support complex data extraction workflows.

Why does PDF text extraction return misaligned or missing data?

PDF text extraction can return misaligned data when complex layouts break standard parsing. Using pdf2image to render pages and Pillow for visual processing helps capture structural context that raw text parsing might miss.