Tag Archives: python

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 , , | 30 Comments

Running CherryPy on Android with SL4A

CherryPy runs on Android thanks to the SL4A project. So if you feel like running Python and your own web server on your Android device, well you can just do so. You’ve probably not heard something that awesome since the … Continue reading

Posted in android, python | Tagged , , , | 11 Comments

Integrating SQLAlchemy into a CherryPy application

Quite often, people come on the CherryPy IRC channel asking about the way to use SQLAlchemy with CherryPy. There are a couple of good recipes on the tools wiki but I find them a little complex to begin with. Not … Continue reading

Posted in python | Tagged , | 10 Comments

Using Jython as a CLI frontend to HBase

HBase, the well known non-relational distributed database, comes with a console program to perform various operations on a HBase cluster. I’ve personally found this tool to be a bit limited and I’ve toyed around the idea of writing my own. … Continue reading

Posted in hbase, headstock, jython, python | Tagged , , , | Leave a comment

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

Book Review – Expert Python Programming

Expert Python Programming by Tarek Ziadé is a great book that I recommend to anyone wishing to explore Python in a professional fashion. The book covers topics that aren’t usual for Python books, at least to my knowledge, like how … Continue reading

Posted in python | Tagged , | 5 Comments