Author Archives: Sylvain Hellegouarch

ws4py – WebSocket client and server library for Python

Posted on September 6, 2011 by Sylvain Hellegouarch

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 android, cherrypy, python | 30 Comments

Acceptance testing a CherryPy application with Robot Framework

Posted on June 12, 2011 by Sylvain Hellegouarch

I recently received the Python Testing Cookbook authored by Greg L. Turnquist and was happy to read about recipes on acceptance testing using Robot Framework. We’ve been using this tool at work for a few weeks now with great results. … Continue reading

Posted in python | Tagged acceptance testing, cherrypy, robot framework, selenium | 5 Comments

Hosting a Django application on a CherryPy server

Posted on June 5, 2011 by Sylvain Hellegouarch

Recently at work I’ve had the requirement to host a Django application in a CherryPy server. I first looked for various projects I knew were doing just that. Unfortunately, after trying them I was rather disapointed. Their approach is to … Continue reading

Posted in python | Tagged cherrypy, django | 8 Comments

Should we assess OpenData innovation and impacts?

Posted on March 25, 2011 by Sylvain Hellegouarch

Yesterday, I was at a talk titled: “OpenData, basis for a new political technologies ?” at la Cantine Numérique Rennaise [fr], a place about the digital age located in Rennes. During the debate, I asked how we could assess the … Continue reading

Posted in opendata | Tagged opendata | 2 Comments

Thoughts on technical strategies for an OpenData world

Posted on March 22, 2011 by Sylvain Hellegouarch

I’ve been part of a very interesting discussion on a French forum around some technical aspects of the opening of public data. To provide a bit of context, the French city of Rennes, Brittany, has been leading the way in … Continue reading

Posted in opendata | Tagged opendata | 2 Comments

WebSocket for CherryPy 3.2

Posted on November 22, 2010 by Sylvain Hellegouarch

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 cherrypy, websocket | 11 Comments

Running CherryPy on Android with SL4A

Posted on August 23, 2010 by Sylvain Hellegouarch

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 android, cherrypy, python, sl4a | 11 Comments

Integrating SQLAlchemy into a CherryPy application

Posted on July 31, 2010 by Sylvain Hellegouarch

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 cherrypy, python | 10 Comments

Using Jython as a CLI frontend to HBase

Posted on June 27, 2010 by Sylvain Hellegouarch

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 cherrypy, hbase, jython, python | Leave a comment

A quick chat WebSockets/AMQP client

Posted on June 14, 2010 by Sylvain Hellegouarch

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 amqp, python, websockets | 6 Comments