Welcome to PyPDFForm⚓︎
PyPDFForm is a Python library for PDF form processing. It contains the essential functionalities needed to interact with PDF forms:
- Inspect what data a PDF form needs to be filled with.
- Fill a PDF form by simply creating a Python dictionary.
- Create form fields on a PDF.
It also supports other common utilities such as extracting pages and merging multiple PDFs together.
Quickstart⚓︎
Here's a quick look at how PyPDFForm works:
from PyPDFForm import Fields, RawElements
pdf.draw([
RawElements.RawText("My Textfield:", 1, 100, 600),
RawElements.RawText("My Checkbox:", 1, 100, 550),
])
pdf.bulk_create_fields([
Fields.TextField("my_textfield", 1, 180, 596, height=16),
Fields.CheckBoxField("my_checkbox", 1, 180, 546, size=16),
])
What's next?⚓︎
- Read the User Guide for detailed usage guides.
- Read the Developer Guide if you want to contribute.
- Submit GitHub Issues to report bugs.
- Star to support this project.