--- id: pypdfium2 version: "5.13.0" license: BSD-3-Clause, Apache-2.0, dependency licenses license_treatment: permissive maintenance: active --- # pypdfium2 — Python bindings to PDFium License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install pypdfium2 uv add pypdfium2 poetry add pypdfium2 ## Description # pypdfium2 pypdfium2 is an ABI-level Python 3 binding to [PDFium](https://pdfium.googlesource.com/pdfium/+/refs/heads/main), a powerful and liberal-licensed library for PDF rendering, inspection, manipulation and creation. It is built with [ctypesgen](https://github.com/pypdfium2-team/ctypesgen) and external [PDFium binaries](https://github.com/bblanchon/pdfium-binaries/). The custom setup infrastructure provides a seamless packaging and installation process. A wide range of platforms is covered with pre-built packages. Check out our [platform support page](https://pypdfium2-team.github.io/pypdfium2/platforms.html). pypdfium2 includes [helpers](#support-model) to simplify common use cases, while the [raw PDFium API](#raw-pdfium-api) (ctypes) remains accessible as well. ## Installation ### From PyPI (recommended) ```bash python -m pip install -U pypdfium2 ``` If available for your platform, this will use a pre-built wheel package, which is the easiest way of... ## AI interpretation — verify before relying pypdfium2 is a Python binding to PDFium that enables PDF rendering, inspection, manipulation, and creation through a ctypes interface to the underlying C library. Verdict: pypdfium2 is a stable, actively maintained PDF library (Production/Stable, 807 GitHub stars, released 2026-08-13) with broad platform coverage and zero known vulnerabilities. Permissive licensing and no mandatory runtime dependencies make it low-friction for most use cases, though binary availability varies by platform. [View on SkillFed](https://skillfed.io/packages/pypdfium2) · [View on PyPI](https://pypi.org/project/pypdfium2/)