BFG is based on WSGI and is from the same guys who brought you worked on the Repoze project. BFG only provides URL mapping, templating and security; the rest is up to you.
What I like about BFG (after a few minutes of perusal): views as callables (meaning you can define a view class), built-in … Read more
If you’re following this blog (and if you are, you’re one of the few) you’re probably wondering what’s happened here. I recently changed my blog so that it imports my tweets. I’m not happy with how it looks but it was a quick and painless addition to a stagnating … Read more
In creating a Windows PDF generation app for a client of mine, I ran into a limitation of py2exe which prevents resource loading with pkg_resources. The module attempts to load resources from py2exe’s library.zip. As the zipfile is reserved for compiled bytecode, there’s no option to copy files into it. You can copy … Read more
I’ve been spending some of my spare time recently putting together some Python bindings for ImageMagick’s MagickWand API. While most bindings I’ve seen just look like generated ctypes code from C header files, these bindings are more object-oriented, completely hiding the MagickWand methods. While this is still in … Read more
Creating PDFs is difficult. Creating PDFs for print is even more difficult. Reportlab does a great job, but it defaults to RGB in most cases. This necessitates some tweaking of both Reportlab code and the code using Reportlab. Testing the result is difficult, mostly because I don’t know of any command-line tools to do … Read more