Not ready yet but the structure of the python and elisp files is more or less there: git://github.com/AndreaCrotti/empathy.git
Feel welcome for any comments/hints. About the communication between the processes I think I'll use stdin/out too, since it comes quite natural using emacs sub-processes. At the moment I'm only reading a line at a time, but probably I should send an EOF somehow from the emacs side, and then I could simply use read() every time on stdin.
-- http://mail.python.org/mailman/listinfo/python-list