Category Archive: code monkey


Tweepy – Python Twitter Library

It‘s pretty awesome and easy to use.  The whole oauth circle is a nice thing to know, but it’s major headache the first time around.  Tweepy hides a lot of the not so fun parts and sets up a simple interface.  So, I’ll assume we can forward past the whole registering a Twitter account in …

Continue reading »


Sphinx Docs

So we’re adding auto-doc’ing capabilities to Nudge, and I’m in charge of Sphinx docs right now.  They’re a PITA…  One space is off? FFFFFFUUUUUUUUUUUUUUUUUUU.  Yup about that awesome.  They also don’t like having table items be longer than the column separators.  I’m not sure what they’re really called, but they’re the set of = signs …

Continue reading »



Recently, whenever I have downtime on the couch I try to learn something new about Python.  For the moment that learning has come through reading other people’s questions on Stack Overflow or the Python subreddit. Last week, I learned about setdefault(‘key’, default_value), and I got a lot of satisfaction while working on Nudge during the …

Continue reading »


Playing with Google AppEngine (part 1)

So, I’ve been playing around with some CRUD appengine services, and I found something interesting. Let’s say you have: class Person(db.Model): firstname = db.StringProperty() lastname = db.StringProperty() and you do something like pass the following dictionary through the POST body: p = {“firstname”:”foo”,”lastname”:”bar”} then you instantiate a Person as follows (I’m ignoring all data validation …

Continue reading »