Some small python OSC applications
pyOSC for python2
and python-osc for python3
Inside the Blender folder there's an example of an operator receiving 4 floating numbers at an specific OSC address and rotating an object with those values as a quaternion.
In order to use it you need to put the python-osc module inside the Blender scripts/modules folder. The exact location depends on your system and version, for example:
~/.config/blender/2.77/scripts/modules/
Inside blender you have to run run_in_blender.py
to register the operator.
Then you can invoke the operator from the spacebar menu, with the name receive OSC
.
It assumes that there is an scene called 'Scene' and an object called 'Cube'.
To close the server press ESC or RMB