I implemented alternative python socket.io integration library which
works on top of the Tornado framework.
Unfortunately, looks like original library
(https://github.com/SocketTornadIO/SocketTornad.IO/) was abandoned
and has several serious bugs which were not fixed for last several months.
Library supports all socket.io transports (0.6.x branch), does not
have any dependencies except of the tornado (and simplejson on python <
2.6),
handles server-side on_open/on_close for polling transports, properly
works with unicode, etc.
It can be found here: https://github.com/MrJoes/tornadio
Hope you'll like it.
Thanks,
Serge.
An other option (expensive, not production-friendly) is to instantiate a webkit browser in your python program and utilize the JS websocket implementation in a "real" browser programmatically. But honestly that would only make sense if you want to throw together a very rough prototype.
Personally I think a python client lib doesn't exist for a good reason - socket.io wasn't meant for this. I would question the need for using socket.io exclusively in all communications with this server, even from non-browser clients.