Today I learned that the pyPDF project is NOT dead, as I had originally thought. In fact, it's been forked into PyPDF2 (note the slightly different spelling). There's also a possibility that someone else has taken over the original pyPDF project and is actively working on it. You can follow all that over on reddit […]
Today we'll be looking at a simple PDF generation library called pyfpdf, a port of FPDF which is a php library. This is not a replacement for Reportlab, but it does give you more than enough to create simple PDFs and may meet your needs. Let's take a look and see what it can do! […]
Last time we learned how to create modules and packages. Today we're going to take the package we created and use Python's distutils to create a couple different ways to distribute our code. In this tutorial, we'll be learning the following: How to create a setup.py file How to create a source distribution How to […]
Creating Python modules is something that most Python programmers do every day. Any time you save a new Python script, you have created a new module. You can import your module into other modules. A package is a collection of modules. The things you import into your scripts from the standard library are modules or […]
I'm always on the lookout for Python PDF libraries and I happened to stumble across pdfrw the other day. It looks like a replacement to pyPDF in that it can read and write PDFs, join PDFs and can use Reportlab for concatenation and watermarking, among other things. The project also appears slightly dead in that […]
My long time readers may remember me mentioning that I was trying to put my article code into a Mercurial repository on bitbucket. I haven't been doing a very good job of that lately, but I did decide to release a whole bunch of wxPython example scripts on there. I use them a lot when […]