Skip to content

split-pdf skill: consider migrating PyPDF2 → pypdf (PyPDF2 is deprecated) #21

@sbecon

Description

@sbecon

Hi! Thanks for the split-pdf skill — really useful for reading papers without blowing up the context window.

One small heads-up: the skill uses PyPDF2 (from PyPDF2 import PdfReader, PdfWriter, and pip install PyPDF2). PyPDF2 was deprecated back in Dec 2022 — all active development moved to its renamed successor, pypdf. The API is identical (same PdfReader/PdfWriter), so the migration is essentially:

-from PyPDF2 import PdfReader, PdfWriter
+from pypdf import PdfReader, PdfWriter

plus pip install pypdf instead of pip install PyPDF2 in the SKILL.md instructions.

It's a minor change and PyPDF2 still installs/works today, so totally your call — just flagging it for long-term maintenance. Happy to send a PR if you'd like one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions