/pyliblo3

fork of pyliblo with better setup (python3)

Primary LanguageCythonGNU Lesser General Public License v2.1LGPL-2.1

pyliblo3

This is a fork of the original bindings for liblo, making it pip installable

Example

Simple Server

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)

Dependencies

  • liblo >= 0.28

Installation

1. Install liblo

liblo must be installed previously

Linux

sudo apt install liblo-dev

macOS

brew install liblo

Windows

See http://liblo.sourceforge.net/README-platforms.html

2. Install pyliblo3

pip install pyliblo3


Original README

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.