Metadata-Version: 1.1
Name: PdfFormFiller
Version: 0.4
Summary: Insert text into pdf templates
Home-page: https://github.com/diafygi/pdfformfiller
Author: Daniel Roesler
Author-email: diafygi@gmail.com
License: GPLv3
Download-URL: https://github.com/diafygi/pdfformfiller/archive/0.4.tar.gz
Description: PdfFormFiller
        -------------
        
        Source Code: https://github.com/diafygi/pdfformfiller
        
        Documentation: https://pdfformfiller.readthedocs.org/
        
        This is a library that lets you easy insert text into a pdf. It is super useful
        when you need to prefill an existing pdf template (for example, a grant
        application form) with your own data. ::
        
            pip install pdfformfiller
        
        Once installed, you can add text fields to any pdf. You specify the bounding
        box of the field, and the text will auto-resize to fit within that rectangle. ::
        
            from pdfformfiller import PdfFormFiller
            filler = PdfFormFiller("myform.pdf")
            filler.add_text(text, pagenum, (x1, y1), (x2, y2))
            filler.write(outfile)
        
        In order to determine the correct (x1, y1), (x2, y2) coordinates for your test
        field bounding box, we recommend dumping your existing pdf template to images
        with 72 dpi and using an image editor (like GIMP) to find the pixel coordinates
        of the rectangle you want your bounding box to be. ::
        
            pdftoppm -png -r 72 myform.pdf myform-pages
        
        
Keywords: pdf,reportlab,PyPDF2
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Printing
