This is a fork of the original bindings for liblo, making it pip installable
import liblo
server = liblo.Server(8080)
def test_handler(path, args, types, src):
print(args)
server.add_method("/test", None, test_handler)
while True:
server.recv(100)
- liblo >= 0.28
liblo
must be installed previously
sudo apt install liblo-dev
brew install liblo
See http://liblo.sourceforge.net/README-platforms.html
pip install pyliblo3
pyliblo - Python bindings for the liblo OSC library
Copyright (C) 2007-2011 Dominic Sacré <dominic.sacre@gmx.de>
http://das.nasophon.de/pyliblo/
To install, run "./setup.py build", followed by "./setup.py install". This
will install both the python module and the send_osc/dump_osc scripts.
See doc/API.html and doc/examples.html for API documentation and some
example code.