I have a large number of PDF forms (think government applications) that I need to write data into. Right now we are doing it by hand, but I would love to find a tool that allows us to
1. Map some sort of schema to a PDF
2. On a POST request, generate a new PDF via the POST data and the mapping<p>Any recommendations for how to solve this?
This article
<a href="http://www.blog.pythonlibrary.org/2018/05/22/filling-pdf-forms-with-python/" rel="nofollow">http://www.blog.pythonlibrary.org/2018/05/22/filling-pdf-for...</a>
mentions pdfforms
<a href="https://pypi.org/project/pdfforms/" rel="nofollow">https://pypi.org/project/pdfforms/</a>
which uses pdftk to fill forms.
I used this a while back (<a href="https://github.com/galkahana/HummusJS" rel="nofollow">https://github.com/galkahana/HummusJS</a>) and it worked quite well. While the support has ended, I think it should still work.<p>Worth a try. HTH