liblo osc库的python绑定
pyliblo3的Python项目详细描述
Pyliblo3
这是liblo原始绑定的分叉,使其pip可安装
示例
简单服务器
importlibloserver=liblo.Server(8080)deftest_handler(path,args,types,src):print(args)server.add_method("/test",None,test_handler)whileTrue:server.recv(100)
依赖关系
- liblo=0.28
安装
一。安装liblo
liblo
必须预先安装
Linux
sudo apt安装liblo dev
Mac操作系统
brew安装liblo
窗口
见http://liblo.sourceforge.net/README-platforms.html
2.安装Pyliblo3
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.