September 28, 2021 by
Mike The Portable Document Format (PDF) is a very popular way to share documents across multiple platforms. The goal of the PDF is to create a document that will look the same on multiple platforms and that will print the same (or very similar) on various printers. The format was originally developed by Adobe but has […]
In this video, you will get an introduction to ReportLab's Canvas object. You use ReportLab to create PDFs using Python and this tutorial will show you one way to accomplish that Want to learn more about working with PDFs in Python? Then check out my book: ReportLab: PDF Processing with Python Purchase now on Leanpub
The PyPDF2 package is a pure-Python PDF library that you can use for splitting, merging, cropping and transforming pages in your PDFs. According to the PyPDF2 website, you can also use PyPDF2 to add data, viewing options and passwords to the PDFs too. Finally you can use PyPDF2 to extract text and metadata from your […]
Patrick Maupin created a package he called pdfrw and released it back in 2012. The pdfrw package is a pure-Python library that you can use to read and write PDF files. At the time of writing, pdfrw was at version 0.4. With that version, it supports subsetting, merging, rotating and modifying data in PDFs. The […]
ReportLab is the primary toolkit that I use for generating PDFs from scratch. However, I have found that there is another one called fpdf2. The fpdf2 package is actually a port of the "Free"-PDF package that was written in PHP. Note: PyFPDF is now dead. This article was originally written with that package in mind. […]
The PyPDF2 package allows you to do a lot of useful operations on existing PDFs. In this article, we will learn how to split a single PDF into multiple smaller ones. We will also learn how to take a series of PDFs and join them back together into a single PDF. Getting Started PyPDF2 doesn't […]