BSD Ports

textproc/py-pdfrw 0.4nb5 NetBSD

PDF file reader/writer pure Python library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit AND modified-bsd
Categories
textproc, python
Package size
98.9 KiB, 498.6 KiB installed

Description

pdfrw is a Python library and utility that reads and writes PDF files:

* Version 0.2 is tested and works on Python 2.6, 2.7, 3.3, and 3.4. * Operations include subsetting, merging, rotating, modifying metadata, etc. * The fastest pure Python PDF parser available * Has been used for years by a printer in pre-press production * Can be used with rst2pdf to faithfully reproduce vector images * Can be used either standalone, or in conjunction with reportlab to reuse existing PDFs in new ones * Permissively licensed

pdfrw will faithfully reproduce vector formats without rasterization, so the rst2pdf package has used pdfrw for PDF and SVG images by default since March 2010.

pdfrw can also be used in conjunction with reportlab, in order to re-use portions of existing PDFs in new PDFs created with reportlab.

In the other systems

SystemPortVersion
NetBSDtextproc/py-pdfrw0.4nb5
FreeBSDtextproc/py-pdfrw0.4_1
DragonFlytextproc/py-pdfrw0.4_1
HardenedBSDtextproc/py-pdfrw0.4_1
GhostBSDtextproc/py-pdfrw0.4_1

Install

Binary package:

pkgin install py311-pdfrw

From pkgsrc:

cd /usr/pkgsrc/textproc/py-pdfrw && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.4nb5
NetBSD 10.1 aarch640.4nb5
SmartOS / illumos x86_640.4nb5
macOS 15 arm640.4nb5

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-pdfrw-0.4nb5, py313-pdfrw-0.4nb5, py314-pdfrw-0.4nb5