BSD Ports

graphics/py-pypdfium2 5.13.0 DragonFly

Python bindings to the PDFium PDF rendering library

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20, BSD3CLAUSE, MIT
Categories
graphics, python
Package size
208.7 KiB, 1304.5 KiB installed

Description

pypdfium2 is a set of Python bindings to PDFium, the open-source PDF rendering engine developed by Google and used in Chromium.

It provides a comprehensive API for working with PDF files including:

  • Rendering PDF pages to images (Pillow, NumPy arrays, or raw bytes)
  • Text extraction with character-level metadata
  • Table of contents access
  • Form field handling
  • PDF attachment access
  • Page object model (paths, images, text)

NOTE: This port uses the PDFium shared library provided by graphics/pdfium.

In the other systems

The newest version among them is 5.15.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlygraphics/py-pypdfium25.13.0 behind since 2026-11-10none known-[email protected]-
FreeBSDgraphics/py-pypdfium25.15.2 newestnone known-[email protected]2026-11-10
HardenedBSDgraphics/py-pypdfium25.13.0 behind since 2026-11-10no data-[email protected]-
GhostBSDgraphics/py-pypdfium25.13.0 behind since 2026-11-10no data-[email protected]-

Version history 1

  1. 5.13.0

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-pypdfium2

From DPorts:

cd /usr/dports/graphics/py-pypdfium2 && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2
Required by 1