github yfedoseev/pdf_oxide v0.3.21
v0.3.21 | Log Level Honored in Python, Multi-Arch Wheels

latest releases: v0.3.74, go/v0.3.74, v0.3.73...
3 months ago

Bug Fixes

  • Log level now fully respected in Python (#283)extract_log_debug! / extract_log_trace! / etc. were printing to stderr directly via eprintln!, bypassing the log crate and therefore ignoring pdf_oxide.set_log_level(...) and Python's logging.basicConfig(level=...). Messages like [DEBUG] Parsing content stream for text extraction and [TRACE] Detected document script: Latin leaked through at ERROR level. The macros now forward to log::debug! / log::trace! / etc. and are properly gated by the log crate's max level filter. Reported by @marph91 as a follow-up to #280.

Packaging

  • Multi-arch Python wheels (#284) — Added wheels for Linux aarch64 (manylinux_2_28_aarch64), Linux musl x86_64 and aarch64 (musllinux_1_2_*), and Windows ARM64 (win_arm64). Lowered the manylinux glibc floor from 2_34 to 2_28 to cover RHEL 8, Debian 11, Ubuntu 20.04, and Amazon Linux 2023. A source distribution (sdist) is now published for any platform with a Rust toolchain. Reported by @jhhayashi.

Installation

Rust (crates.io)

cargo add pdf_oxide

Python (PyPI)

pip install pdf_oxide

JavaScript/WASM (npm)

npm install pdf-oxide-wasm

CLI (Homebrew)

brew install yfedoseev/tap/pdf-oxide

CLI (Scoop — Windows)

scoop bucket add pdf-oxide https://github.com/yfedoseev/scoop-pdf-oxide
scoop install pdf-oxide

CLI (Shell installer)

curl -fsSL https://raw.githubusercontent.com/yfedoseev/pdf_oxide/main/install.sh | sh

CLI (cargo-binstall)

cargo binstall pdf_oxide_cli

MCP Server (for AI assistants)

cargo install pdf_oxide_mcp

Pre-built Binaries
Download archives for Linux, macOS, and Windows from the assets below. Each archive includes both pdf-oxide (CLI) and pdf-oxide-mcp (MCP server).

Platform Support

Platform Architecture Archive
Linux x86_64 (glibc) pdf_oxide-linux-x86_64-*.tar.gz
Linux x86_64 (musl) pdf_oxide-linux-x86_64-musl-*.tar.gz
Linux ARM64 pdf_oxide-linux-aarch64-*.tar.gz
macOS x86_64 (Intel) pdf_oxide-macos-x86_64-*.tar.gz
macOS ARM64 (Apple Silicon) pdf_oxide-macos-aarch64-*.tar.gz
Windows x86_64 pdf_oxide-windows-x86_64-*.zip

Changelog

See CHANGELOG.md for full details.

Don't miss a new pdf_oxide release

NewReleases is sending notifications on new releases.