Metadata-Version: 2.1
Name: PDFpy
Version: 0.0.21
Summary: Simple PDF editing made fast
Home-page: UNKNOWN
Author: Jonas Ha
Author-email: <jonasharriehausen@gmail.com>
License: UNKNOWN
Description: 
        A simple PDF editor that handles PDFs like lists of pages

        

        # Functionality

        

        

        from PDFpy import PDF

        

        #load two PDFs

        a = PDF("example1.pdf")

        b = PDF("example2.pdf")

        

        ## delete every other page from a

        del a[::2]

        

        ## delete page 3 4 and 7 from b

        del b[[3, 4, 7]]

        

        ## replace Page 3 from a with page 5 from b

        a[3] = b[5]

        

        ## merge the first 10 pages of a with all but the first 13 pages of b

        c = a[:10] + b[13:]

        

        ## save c as "example3.pdf"

        c.save("example3.pdf")

        

        
Keywords: python,PDF,PDFpy
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
