Full stack web developer, interested in all the things, but especially the web, code, design, Linux, OS X, PHP, WordPress, JavaScript & robots.

Tagged: python

About Faviconator

The other night, I built Faviconator, a little GUI application for creating favicon files from images. I’m pretty pleased with the result and the app works quite well, I think.

Screenshot of Faviconator running on Ubuntu

Screenshot of Faviconator running on Ubuntu.

To be honest, it’s not often that I have to create favicons, but that’s one of the reasons I created the app. Prior to creating the app, I had to try and remember (read as lookup via Google) some archaic ImageMagick command, or use one of the many ad-ridden web services, and neither was a pleasant experience.

Also, when I was using OS X, I really liked the fact that the App Store was full of little apps that were designed to perform a single task. I’d like to see more of that for Ubuntu, so Faviconator and pwgenGUI are contributions towards meeting that goal.

Anyhow, if you’d like to try the app, you can find more details here.

About pwgenGUI

At work, I often have to create new passwords for users. It’s not terribly difficult to do and I usually open my browser, navigate to one of the many password generating sites and grab a new password. Easy, but then I thought to myself, could it be even easier? I mean, I really should be able to do this with just 1 click of the mouse.

So, the other night, I created a little Python+GTK GUI application to do just that. pwgenGUI is basically a front-end for pwgen, a command line tool for generating passwords. I’m not sure if anyone else will find it useful, but I’ve packaged the application for Ubuntu and installation instructions can be found here.

Building Python GTK+ Applications on Ubuntu

Recently, I’ve been playing around with building some little Python GTK+ applications on Ubuntu. It’s lots of fun and a welcome break from my normal PHP work. I’ve not done any real Python development since I ended my CrunchBang project, so I’m somewhat rusty. Finding good documentation to help me develop my applications has been a bit hit and miss. I guess this is mostly due to my own ignorance on the subject (not knowing what to search for), but also because there is a lot of old GTK+ 2 documentation around, which Google insists on returning results for. Grr.

If there was one reference point I wished I had known about before I started, it would have been the PyGObject (aka PyGI) page on the GNOME wiki. It has a Documentation section that contains links to the resources that I’ve painstakingly found myself over the last few days. Doh.

The documentation that I’ve found most helpful is:

  1. Python GObject Introspection API Reference
  2. The Python GTK+ 3 Tutorial
  3. GNOME Platform Demos in Python

Anyhow, this post is mostly a note-to-self, but hopefully it might save others from wasting time searching with Google.