Populate fillable pdf forms from a csv file
pdfforms provides both high- and low-level APIs for filling pdf forms. For a concrete example, see the API Example.