tuio

musings on tuio support

TUIO and Python 3.x

Python 3 has been released about 3-4 years ago and there still isn't any compatible implementation available. This is a bit of a problem as the 2.x branch of Python will see no new major releases after the 2.7 release from 2010. So here's a roundup of currently available TUIO and OSC implementations which could be used as a starting point for a reimplementation or a port.

OSC

there is an age old implementation by S. Kersten: OSC.py (v1.2 is from the year 2000)

pyOSC is based on Holth&McChesney's work: OSC.py v0.3.6 (2010-04-19)
there is/was also a python 3 version under development (last commit 2011-06-28)
the original implementation was part of the ProctoLogic/Wiretap project (see: oscpy)

txOSC has its own OSC 1.1 implementation and, according to the project description, has "less bugs and more tests and features than the OSC.py and simpleosc.py modules found everywhere on the Web": osc.py (last change 2011-02-18)

python-osc 0.2 was written for Python 3.0, but no dev releases will be published until the project reaches version 1.0.0 (last update 2010-06-14)

pyo uses pyliblo which is a wrapper for the liblo OSC library. It's probably faster than the pure Python implementations but is dependent on Cython
pyliblo 0.9.1 is from 2011-01-29 and seems to function under Python 3

TUIO

touchpy and pytuio haven't been ported to Python 3. Both projects haven't been updated since 2008 and use old pyosc code: osc.py (last change 2002-02-13)
However, touchpy also supports pyliblo

py3tuio

I wrote a very basic Python 3 TUIO 1.x server based on pyliblo and put it on GitHub:
https://github.com/arminbw/py3tuio

Syndicate content