Itching a scratch with Python, del.icio.us and 3x5 index cards

October 09, 2006

Once again I found myself at a bookstore, so overwhelmed with choice I forgot what I was looking for. Never again. With some help from effbot, ReportLab and my trusty Python, I whipped up this, what-to-read.py.

In a nutshell, this little script grabs up to 15 items recently tagged “readinglist” from my del.icio.us account, applies some simple formatting and then builds a 3x5 PDF suitable for your Hipster PDA. It’s stream of consciousness coding with lots of hardcoded stuff, but it works just fine for me. Bugs exist, e.g. it’ll get confused if you use certain characters in your item titles. I had a few extra minutes so now you can also build arbitrary lists, like this or this. The hardcoded formatting can either work for or against you.

Of course, there’s no support for this. If you can find something useful out of it, great. Otherwise, sorry.

TAGS:

software  pdf