http://stackoverflow.com/questions/24935591/python-script-instead-of-browser-as-client-for-web-socket-to-django-server
AutoBahnというのをクライアント&サーバで使えばいいらしい。
https://github.com/tavendo/AutobahnPython
AutoBahn自体はTwistedとasyncioを内部的に使っているとのこと。
https://twistedmatrix.com/trac/
https://docs.python.org/3.4/library/asyncio.html