BSD Ports

textproc/py-pdf 6.18.1 NetBSD

Pure-python PDF library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
f50b141e15
License
modified-bsd
Categories
textproc, python
Package size
727.2 KiB, 5694.8 KiB installed

Description

pypdf is a free and open-source pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. It can also add custom data, viewing options, and passwords to PDF files. pypdf can retrieve text and metadata from PDFs as well.

Install

Binary package:

pkgin install py312-pdf

From pkgsrc:

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

Dependencies

Run dependencies 4

Configuration

No options to configure.

Service scripts
none
Flavors
py313-pdf-6.18.1, py314-pdf-6.18.1

Commit history 10

DateCommitCreditsLog message
f50b141e15 wiz py-pdf: update to 6.21.1.
## Version 6.21.1, 2026-10-17 ### Security (SEC) - Only open /DCTDecode image data with the Pillow JPEG plugin (#4222) ## Version 6.21.0, 2026-10-16 ### Security (SEC) - Improve performance and limit field work (#4219) - Limit stream parsing work (#4218) ### New Features (ENH) - Allow custom fit modes for named destinations (#4181) ### Bug Fixes (BUG) - Treat NUL as whitespace in ArrayObject (#4198) - Avoid overwriting unread objects in add_form_topname (#4190) - Read an indirect page box on a writer page (#4179) ## Version 6.20.1, 2026-10-12 ### Security (SEC) - Prevent cyclic tree handling (#4188) ### Bug Fixes (BUG) - Only read the color operator from a text field's default appearance (#4158)
65c9b1c391 adam Forget Python 3.10
c459e2dc88 wiz py-pdf: improve test results after upstream feedback
a38e0da0ef wiz py-pdf: update to 6.20.0.
Security (SEC) Limit work per stream (filter count, accumulated decoding work) (#4173) by @stefan6419846 New Features (ENH) Add support for BrotliDecode filter (PDF 2.0) (#4168) by @stefan6419846 Performance Improvements (PI) Parse an embedded CFF font program once per stream (#4164) by @marshalltech81 Parse numbers, indirect references, names and nulls faster (#4148) by @MartinThoma Do not inherit PdfObject from a Protocol (#4149) by @MartinThoma Speed up cloning direct objects (#4152) by @MartinThoma Bug Fixes (BUG) Report the correct page number for identical pages (#4154) by @pasmud Decrypt the XMP metadata stream unless /EncryptMetadata is false (#4151) by @metsw24-max Robustness (ROB) Multiple changes by @RavSinghChandan …
f8c360c1f2 wiz py-pdf: update to 6.19.0.
## Version 6.19.0, 2026-09-16 ### Security (SEC) - Limit size of alphabetical page labels (#4096) ### Deprecations (DEP) - Replace PdfWriter method add_js (#3979) ### Performance Improvements (PI) - Move static value out of loop body for appearance stream data (#4087) - Reduce number of full data lookups for attachment mapping API (#4081) ### Bug Fixes (BUG) - Do not copy unrelated pages when appending pages with non-terminal fields (#4078) - Use page reference for existing internal link targets (#4076) - Arabic-Indic digits are reversed during text extraction (#4077) - Parse a string rect for add_uri into a rectangle (#4074)

The latest 5 of 10 in the history this site was built from.