Overview

pdfforms is a small utility for populating fillable pdf forms from a spreadsheet data source. It was created with the intent of filling US tax forms using tax data prepared with a spreadsheet, but should be equally applicable to other forms.

Features

  • Assigns numeric id for each field

  • Generates test pdf showing ids of text fields

  • Merges spreadsheet data into final filled pdf

  • Works with multiple spreadsheet formats

  • Can process multiple pdfs at a time

  • Can be used as a library or CLI

  • Optional rounding and number formatting

Requirements

pdfforms requires Python 3.5 or higher, pyexcel for data loading, and pdftk, which does all the real work.

Installation

To install: pip install pdfforms