pdfrw reads and writes PDF files. It is available at PyPI -- the current released revision is 0.1. Please see the wiki for usage information