Watching my Twitter Userstream

I wanted this, and I couldn’t find a working example of connecting to a Twitter userstream using eventlet and python-oauth2.

So here one is: userstream.py. There’s plenty of room for improvement, but I’ve been using something very close to this to play with ways to watch my userstream for the past several days.