FreeBSD Ports

graphics/py-pypdfium2 5.13.0

Python bindings to the PDFium PDF rendering library

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
6a1023719b
License
APACHE20, BSD3CLAUSE, MIT
Categories
graphics, python

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.

Install

As a binary package — by origin, or by package name:

pkg install graphics/py-pypdfium2
pkg install py312-pypdfium2

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-pypdfium2>0:graphics/py-pypdfium2

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-5.13.0---
FreeBSD:14:quarterly-5.13.0n/a--
FreeBSD:15:latest5.13.05.13.0n/a--
FreeBSD:15:quarterly-5.13.0n/an/an/a
FreeBSD:16:latest-5.13.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 1

Test 3

The full lists below include those, and their dependencies in turn.

All build dependencies 16
All run dependencies 18

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pypdfium2-team-pypdfium2-5.13.0_GH0.tar.gz643105c8d9a7eb69693dd858bd9c14bdbc59f35bcee13821e77ea2766a1d905501366d

Commit history 1

DateCommitCreditsLog message
6a1023719b Yuri Victorovich graphics/py-pypdfium2: update 5.7.1 → 5.13.0