This is the code and accompanying slides for a talk I gave to the Jakarta python users group, June 2013