Example code for my live coded demo at the January 2015 SF Python meetup. The slides are available but fair warning, they won't make much sense without corresponding audio of the talk. I'll post a video link when it becomes available.
This talk goes along with the Resources for WebSockets with Python blog post.