There are no reviews yet. Be the first to send feedback to the community and the maintainers!
Example: from pyPdf import PdfFileWriter, PdfFileReader output = PdfFileWriter() input1 = PdfFileReader(file("document1.pdf", "rb")) # add page 1 from input1 to output document, unchanged output.addPage(input1.getPage(0)) # add page 2 from input1, but rotated clockwise 90 degrees output.addPage(input1.getPage(1).rotateClockwise(90)) # add page 3 from input1, rotated the other way: output.addPage(input1.getPage(2).rotateCounterClockwise(90)) # alt: output.addPage(input1.getPage(2).rotateClockwise(270)) # add page 4 from input1, but first add a watermark from another pdf: page4 = input1.getPage(3) watermark = PdfFileReader(file("watermark.pdf", "rb")) page4.mergePage(watermark.getPage(0)) # add page 5 from input1, but crop it to half size: page5 = input1.getPage(4) page5.mediaBox.upperRight = ( page5.mediaBox.getUpperRight_x() / 2, page5.mediaBox.getUpperRight_y() / 2 ) output.addPage(page5) # print how many pages input1 has: print "document1.pdf has %s pages." % input1.getNumPages()) # finally, write "output" to document-output.pdf outputStream = file("document-output.pdf", "wb") output.write(outputStream)
rethinkdb-net
A C# / .NET client driver for RethinkDB.pg8000
A Pure-Python PostgreSQL Drivergo-soap
WSDL Parser for Golangheroku-buildpack-python-libffi
A fork of heroku-buildpack-python that includes some additional build dependencies: libffi. This buildpack is not currently supported or maintained.go-osmpbf-filter
Filters OpenStreetMap PBF files using tag-based criteriacloud-persistent-storage
A tool to attach persistent storage devices to autoscaling cloud servers.EventLoggerPlugin
Source (TF2/L4D/etc) Server Plugin for Event Logging to a PostgreSQL Databaseaws_instance_metadata
Rust micro-library providing read access to AWS instance metadataabtracetogether-nodejs
Desktop Bluetooth LE app for interacting with and testing ABTraceTogetherironman-monitor
A Python tool to monitor Ironman live-tracking pages and send out SMS messages on changes.Pybrary.Plot
Pybrary.Plot is a C# / .NET library designed for simple X/Y graphs and plots.LinodeDynamicDNS
twitter-remote-wall
A small and simple Python app to consume Twitter's streaming API, and display it on a web page, with remote reconfiguration capabilitiesdominion-engine
A rules engine for Rio Grande Games' DominionLove Open Source and this site? Check out how you can help us