--- id: pypdfform version: "5.5.5" license: MIT license_treatment: permissive maintenance: active --- # PyPDFForm — The Python library & CLI for PDF forms. License: permissive · Maintenance: active · Downloads: 201.1K/mo ## What it is and what it does PyPDFForm is a Python library and CLI tool for working with PDF forms end-to-end. It lets you create new forms and form fields from scratch, inspect existing form structure and metadata, update field styling and behavior, fill forms programmatically, and perform common PDF operations like page extraction and merging. The library wraps lower-level PDF manipulation via pikepdf and reportlab, exposing a straightforward API for both Python code and command-line workflows. Typical use cases range from one-off form filling to building larger document automation pipelines. You can load a template PDF, populate its fields with data, and write the result—or use the CLI for quick command-line form operations. The package is actively maintained, supports modern Python versions, and carries no known security vulnerabilities. Use it for: - Batch-fill hundreds of PDF forms with data from a database or spreadsheet in a single script. - Inspect form field names and types programmatically before deciding how to populate them. - Create new PDF forms with custom fields, styling, and behavior from Python code. - Automate document workflows that require extracting pages from multiple PDFs and merging them. - Build a CLI tool for non-developers to fill forms without writing code. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. PyPDFForm creates, inspects, styles, and fills PDF forms via Python API or command line, with utilities for page extraction and PDF merging. Yes. PyPDFForm is actively maintained, carries no known vulnerabilities, has low install friction, and is licensed permissively under MIT. It solves a real problem—PDF form automation—with a clean API and CLI interface. The 6 dependencies are all well-established libraries. Install it if you need to create, inspect, or fill PDF forms programmatically. ## Install pip install pypdfform uv add pypdfform poetry add pypdfform ## Installing PyPDFForm Before you install: Low install friction with a pure-Python wheel distribution. Actively maintained with a release 6 days ago and 1236 repository stars. Requires modern Python (3.10+) but supports current versions through 3.14. License in practice: MIT license permits commercial and private use with minimal restrictions—you may use, modify, and distribute PyPDFForm freely provided you include the license notice. Quickstart: pip install PyPDFForm from PyPDFForm import PdfWrapper filled = PdfWrapper("form.pdf", need_appearances=True).fill({ "field_name": "value", "checkbox": True, }) filled.write("output.pdf") Requires Python 3.10 or later. Underlying dependencies (pikepdf, reportlab, pillow) may require system libraries for image and font handling on some platforms. Verify before relying: - Whether the package handles complex nested form structures or only flat field layouts. - Performance characteristics when processing large batches of forms or very large PDF files. - Extent of CLI feature parity with the Python API for form creation and styling. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 201.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pdf form filling automation, create pdf forms python, inspect pdf form fields, pdf form styling, batch fill pdf forms, pdf merge extract pages, command line pdf tool, pdf-automation, form-filling, cli-tool [View on SkillFed](https://skillfed.io/packages/pypdfform) · [View on PyPI](https://pypi.org/project/pypdfform/)