Category Archives: websockets

ws4py – WebSocket client and server library for Python

Recently I released ws4py, a package that provides client and server WebSocket support for Python 2.6 and 2.7. Let’s first have a quick overview of what ws4py offers for now: WebSocket specification draft-10 of the current specification. A threaded client. … Continue reading

Posted in android, python, websockets, ws4py | Tagged , , | 12 Comments

WebSocket for CherryPy 3.2

Just a quick note about the first draft of support for WebSocket in CherryPy. You can find the code here. Note that this is still work in progress but does work against Chrome and the pywebsocket echo client. It supports … Continue reading

Posted in python, websockets | Tagged , | 11 Comments

A quick chat WebSockets/AMQP client

In my previous article I described how to plug WebSockets into AMQP using Tornado and pika. As a follow-up, I’ll show you how this can be used to write the simplest chat client. First we create a web handler for … Continue reading

Posted in amqp, python, websockets | Tagged , , | 6 Comments

Plugging AMQP and WebSockets

In my last article, I discussed the way the WSPBus could help your management of Python processes. This time, I’ll show how the bus can help plugging in heterogeneous frameworks and manage them properly too. The following example will plug … Continue reading

Posted in amqp, python, websockets | Tagged , , | 6 Comments