# pmaupin/pdfrw

pdfrw is a pure Python library that reads and writes PDFs

Repository: https://github.com/pmaupin/pdfrw
Canonical: https://ross.abutalabs.com/products/pdfrw
Language: Python
License: NOASSERTION
License Family: other
Last push: 2024-04-29T09:01:02+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4113, "days_push": 856, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1911, forks 278 (observed 2026-08-28T04:05:53.205502+00:00)

## What it is
pdfrw is a pure Python library that reads and writes PDF files, supporting operations like merging, rotating, subsetting, watermarking, and metadata modification. It faithfully reproduces vector graphics without rasterization and can be used standalone or alongside reportlab and rst2pdf.

## Use cases
- merge multiple pdf files into one
- add a watermark to every page of a pdf
- extract a subset of pages from a pdf
- rotate pages in a pdf document
- modify pdf metadata without changing structure
- reuse existing pdf pages in reportlab-generated documents
- create printable booklets from pdf pages

## When to choose
- you need a pure Python PDF parser with no compiled dependencies
- you must preserve vector graphics fidelity when manipulating PDFs
- you want to combine existing PDFs with reportlab output
- you need fast PDF parsing for pre-press or print workflows

## When to avoid
- you need to extract or manipulate text content, not just structure
- you need to handle encrypted PDFs without pre-processing with pdftk
- you need active development and modern Python version support
- you need form filling or advanced PDF features

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, pdf, serialization
- domain: pdf, files, developer-tools
- platform: python, cross-platform
- tags: pdf-manipulation, vector-graphics, reportlab-integration, pure-python

## Member repositories
- pmaupin/pdfrw (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:53.205502+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:11:02.474676+00:00, confidence not recorded.
  - readme: https://github.com/pmaupin/pdfrw (fetched 2026-08-28T04:05:53.205502+00:00, sha 8a99761b20e6)
  - registry_pypi: https://pypi.org/pypi/pdfrw/json (fetched 2026-08-29T10:49:56.113393+00:00, sha 1b489936c500)
- Data as of 2026-08-30T08:39:29.467469+00:00.
