pdf

Extract text and tables from PDFs using pypdf and pdfplumber.

997|201|Updated May 6, 2014
One-click install
npx skills add https://github.com/freekmurze/dotfiles --skill pdf-freekmurze
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/freekmurze/dotfiles/tree/main/config/claude/skills/pdf
Command: npx skills add https://github.com/freekmurze/dotfiles --skill pdf-freekmurze

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a comprehensive toolkit for working with PDF documents, enabling automated text and table extraction, creation of new PDFs, merging/splitting documents, and handling forms to streamline document workflows.

Core Features & Use Cases

  • Text and table extraction from PDFs using pypdf and pdfplumber.
  • PDF creation and manipulation using reportlab.
  • Merging, splitting, and annotating PDFs, and form handling (fillable and non-fillable).
  • Use Case: automate invoice processing by extracting data and generating reports.

Quick Start

Install the required packages and run the sample workflow to extract text, merge PDFs, or fill forms.

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?

Yes, you can merge, split, and annotate PDFs using Python libraries like pypdf and reportlab. This automates batch document workflows by manipulating multiple PDF files programmatically.

Does Python support filling both fillable and non-fillable PDF forms?

Yes, Python supports filling both fillable and non-fillable PDF forms to automate form digitization. This handles form processing across many documents for streamlined workflows.

What's the best way to create a new PDF and generate reports in Python?

The best way to create a new PDF and generate reports in Python is using the reportlab library. It renders and generates PDFs for automated invoice processing and data reporting.

Can I convert PDF pages to images for rendering with Python?

Yes, you can convert PDF pages to images for rendering using the pdf2image and Pillow libraries. This parses and renders PDF documents to support automated image-based document workflows.

What are the limitations of pypdf and pdfplumber for PDF text extraction?

Limitations of pypdf and pdfplumber for PDF text extraction include handling complex layouts or scanned documents, which may require rendering pages to images with pdf2image for accurate parsing.