$npx skillfedfor your agent

pypdf

A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files

Worth itPyPI Python ModulesReleased Aug 2026129.4M downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pypdf-6.16.0-py3-none-any.whl
v6.16.0 · released 2026-08-13 · Python >=3.9 · 1 runtime deps: typing_extensions

Yes. pypdf is actively maintained (release 1 day old), has no known vulnerabilities, low install friction, and a permissive BSD-3-Clause license. It's a top-1000 PyPI package with strong community adoption. Install it if you need pure-Python PDF manipulation without external system dependencies.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • For AES encryption/decryption, install with: pip install pypdf[crypto]
  • Low friction: single runtime dependency (typing_extensions), pure Python wheel, and actively maintained with a release 1 day old.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause (permissive): you can use, modify, and distribute pypdf freely in commercial and private projects, provided you include the license notice and disclaimer.

last release 2026-08-13 (1 days) · last repo commit 2026-08-13 · 10,154 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 129,364,007 downloads/mo, #292 on PyPI

Verify before relying

pip install pypdf

from pypdf import PdfReader

reader = PdfReader("example.pdf")
page = reader.pages[0]
text = page.extract_text()
  • Performance characteristics when handling large PDFs or batch operations
  • Completeness of text extraction across different PDF encodings and formats
  • Specific limitations or edge cases in PDF transformation operations
Same gist for agents: .md · .json

What it is and what it does

pypdf is a mature, pure-Python PDF manipulation library that handles the full lifecycle of PDF operations—reading, writing, splitting, merging, and transforming pages. It extracts text and metadata from PDFs and supports encryption and decryption (with optional AES support). The library has a single runtime dependency (typing_extensions) and requires Python 3.9 or later.

Developers use pypdf when they need to programmatically work with PDF files without external system dependencies like Ghostscript or ImageMagick. It's suitable for batch processing, document automation, and PDF analysis tasks where a lightweight, pure-Python solution is preferred over heavier alternatives.

Use it for

  • Extract text and metadata from PDF files for indexing, search, or data extraction pipelines
  • Split large PDFs into individual pages or merge multiple PDFs into a single document
  • Crop, rotate, or transform PDF pages for document preprocessing or reformatting
  • Add passwords or encryption to PDFs for secure document distribution
  • Automate PDF manipulation in server-side applications without system library dependencies

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

pypdf is actively maintained (release 1 day old), has no known vulnerabilities, low install friction, and a permissive BSD-3-Clause license. It's a top-1000 PyPI package with strong community adoption. Install it if you need pure-Python PDF manipulation without external system dependencies.

Install

pypdf on PyPI

Before you install

Low friction: single runtime dependency (typing_extensions), pure Python wheel, and actively maintained with a release 1 day old. Status is active with recent commits.

Requires Python 3.9 or later. For AES encryption/decryption, install with: pip install pypdf[crypto]

License in practice

BSD-3-Clause (permissive): you can use, modify, and distribute pypdf freely in commercial and private projects, provided you include the license notice and disclaimer.

Quickstart

pip install pypdf

from pypdf import PdfReader

reader = PdfReader("example.pdf")
page = reader.pages[0]
text = page.extract_text()

Verify before relying

  • Performance characteristics when handling large PDFs or batch operations
  • Completeness of text extraction across different PDF encodings and formats
  • Specific limitations or edge cases in PDF transformation operations

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
typing_extensions
MaintenanceActively maintained 1 days since the last release
Last repo commit
First released
Downloads129,364,007 / month, #292 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: pypdf-6.16.0-py3-none-any.whl

Tags

Capabilities
pdf splitting and mergingextract text from pdfpdf manipulation pythonpdf cropping transformingpdf encryption decryptionread pdf metadatapdf page manipulation
Topics
pdf-processingdocument-automationtext-extraction

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pdf splitting and merging”

  • pypdfpypdf is a pure-Python library for reading, splitting, merging,…
  • PyPDF2PyPDF2 is a pure-Python library for reading, splitting, merging,…
  • PyPDF3PyPDF3 is a pure-Python PDF toolkit for extracting document…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also PyPDF2 · PyPDF3 · PyPDF4 · pikepdf · pdftext · fpdf2 · playa-pdf · pdfrw · pdfminer · pdfrw2