pdfly

Install command:
brew install pdfly

CLI tool to extract (meta)data from PDF and manipulate PDF files

https://pdfly.readthedocs.io/en/latest/

License: BSD-3-Clause

Development: Pull requests

Formula JSON API: /api/formula/pdfly.json

Formula code: pdfly.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 0.5.1

Revision: 27

Depends on:

certifi 2026.10.19 Mozilla CA bundle for Python
cryptography 50.0.2 Cryptographic recipes and primitives for Python
libsodium 1.0.22 NaCl networking and cryptography library
pillow 13.0.0 Friendly PIL fork (Python Imaging Library)
pydantic 2.14.1 Data validation using Python type hints
python@3.15 3.15.0 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

pkgconf 3.0.10 Package compiler and linker metadata toolkit
rust 1.99.1 Safe, concurrent, practical language

Uses from macOS: m4 (build), libxml2, libxslt

Binaries: pdfly

Known vulnerabilities in the current version:

GHSA-5hx5-vpf9-5wcv pypdf: Unvalidated JPEG image data loading
GHSA-qfv9-64jg-mh7p pypdf: Possible infinite loop in PdfWriter.find_outline_item
GHSA-9mx8-4j7g-633p pypdf: Possible infinite loop when removing tree items
GHSA-39mj-jf6j-2qj3 pypdf: Possible infinite loop when hitting EOF in standard xref table
GHSA-7mh2-4gg2-979f pypdf: Possible large memory usage for streams with multiple filters

Data from Homebrew/advisory-database. Run brew vulns pdfly for a live check.

Analytics:

30 days90 days365 days
Installs2727855,586
Installs (--HEAD)1115
Installs on Request2727855,584
Installs on Request (--HEAD)1115
Build Errors0