Skip to main content

Python bindings for the liblo OSC library

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyliblo3-0.12.0.tar.gz (11.9 kB view hashes)

Uploaded Source

Built Distributions

pyliblo3-0.12.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (507.0 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

pyliblo3-0.12.0-cp39-cp39-manylinux2010_x86_64.whl (514.1 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

pyliblo3-0.12.0-cp39-cp39-macosx_10_9_x86_64.whl (99.9 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pyliblo3-0.12.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (529.7 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

pyliblo3-0.12.0-cp38-cp38-manylinux2010_x86_64.whl (580.1 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

pyliblo3-0.12.0-cp38-cp38-macosx_10_9_x86_64.whl (98.5 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page