$npx skillfedfor your agent

pdfrw2

PDF file reader/writer library

With conditionsPyPI LibrariesReleased Nov 2021266.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pdfrw2-0.5.0-py2.py3-none-any.whl
v0.5.0 · released 2021-11-30

Yes, if you need pure-Python PDF manipulation without external dependencies and your PDFs conform to standard formats. The library is stable and has proven track record in production. However, be cautious: the package is abandoned (last commit 2022-11-09), so it may not handle modern PDF features or newly discovered edge cases. Use it for established workflows on well-formed PDFs; avoid it if you need active maintenance or support for cutting-edge PDF specifications.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • However, the package is marked as abandoned with the last commit on 2022-11-09, and has not been actively maintained since its November 2021 release.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions. No licensing concerns for adoption.

last release 2021-11-30 (1718 days) · last repo commit 2022-11-09 · 35 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 266,839 downloads/mo, #8,300 on PyPI

Verify before relying

pip install pdfrw2

from pdfrw import PdfReader, PdfWriter

reader = PdfReader('input.pdf')
writer = PdfWriter()
writer.addpages(reader.pages)
writer.write('output.pdf')
  • Whether the package works reliably on Python versions beyond 3.9 despite no recent updates
  • Current state of bug fixes claimed in the fork description and whether all reported issues remain resolved
  • Compatibility with modern PDF specifications and recently-generated PDFs
Same gist for agents: .md · .json

What it is and what it does

pdfrw2 is a pure-Python PDF reader and writer library that lets you programmatically manipulate PDF files. It supports operations like extracting and rearranging pages, merging multiple PDFs, rotating pages, modifying metadata, adding watermarks, and embedding portions of one PDF into another using Form XObjects. The library is designed to work standalone or alongside reportlab for creating new PDFs that reuse content from existing ones.

This is a maintained fork of the original pdfrw that fixes bugs including corrupted PDF forms. It has been used in production pre-press workflows and can faithfully reproduce vector images without rasterization. The package has no runtime dependencies, making it lightweight to install. However, the fork itself has not been updated since November 2022, so it may not handle newer PDF features or edge cases introduced after that time.

Use it for

  • Automate PDF page rearrangement for printing (e.g., creating booklets or n-up layouts from existing PDFs)
  • Extract images and embedded pages from PDFs to reuse in new documents created with reportlab or rst2pdf
  • Batch-modify PDF metadata (title, author, subject) across multiple files without altering document structure
  • Split, merge, or rotate pages in PDFs programmatically as part of document processing pipelines
  • Add watermarks or overlay graphics to existing PDFs while preserving original navigation and structure

Worth the install?

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

With conditions

Yes, if you need pure-Python PDF manipulation without external dependencies and your PDFs conform to standard formats.

The library is stable and has proven track record in production. However, be cautious: the package is abandoned (last commit 2022-11-09), so it may not handle modern PDF features or newly discovered edge cases. Use it for established workflows on well-formed PDFs; avoid it if you need active maintenance or support for cutting-edge PDF specifications.

Install

pdfrw2 on PyPI

Before you install

Low install friction with no runtime dependencies. However, the package is marked as abandoned with the last commit on 2022-11-09, and has not been actively maintained since its November 2021 release.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions. No licensing concerns for adoption.

Quickstart

pip install pdfrw2

from pdfrw import PdfReader, PdfWriter

reader = PdfReader('input.pdf')
writer = PdfWriter()
writer.addpages(reader.pages)
writer.write('output.pdf')

Verify before relying

  • Whether the package works reliably on Python versions beyond 3.9 despite no recent updates
  • Current state of bug fixes claimed in the fork description and whether all reported issues remain resolved
  • Compatibility with modern PDF specifications and recently-generated PDFs

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,718 days since the last release
Last repo commit
First released
Downloads266,839 / month, #8,300 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Multimedia :: Graphics :: Graphics ConversionTopic :: PrintingTopic :: Software Development :: LibrariesTopic :: Text ProcessingTopic :: Utilities

Evidence: pdfrw2-0.5.0-py2.py3-none-any.whl

Tags

Capabilities
pdf read write librarypdf page manipulationpdf merge split rotatepdf metadata editingpure python pdf parserpdf watermark extractpdf form xobject
Topics
pdf-processingno-dependencies
PyPI keywords
pdfvectorgraphicsPDFnupwatermarksplitjoinmerge

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 form xobject”

  • pdfrw2pdfrw2 reads, writes, and manipulates PDF files with operations…
  • PyPDFFormPyPDFForm creates, inspects, styles, and fills PDF forms via Python…
  • fillpdfFills, flattens, and manipulates PDF forms by reading form fields,…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also pdfrw · fillpdf · pikepdf · pypdftk · PyPDF2 · PyPDFForm · PyPDF3 · rst2pdf · playa-pdf · PyPDF4