Python bindings for the liblo OSC library
Project description
pyliblo3
This is a fork of the original bindings for liblo, making it pip installable.
As of version 0.16 the provided wheels include the liblo
library
and don't have any further dependencies.
Example
Simple blocking server
import pyliblo3 as 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)
Threaded server
TODO
Installation
pip install pyliblo3
Installation from source
When installing from source, liblo
needs to be installed.
Linux
sudo apt install liblo-dev
git clone https://github.com/gesellkammer/pyliblo3
cd pyliblo3
pip install .
MacOS
First install liblo
brew install liblo
Or, without using brew:
git clone https://github.com/radarsat1/liblo
cd liblo
mkdir macosbuild
cd macosbuild
cmake -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" ../cmake
cmake --build . --config Release
sudo cmake --install .
Then install pyliblo3
git clone https://github.com/gesellkammer/pyliblo3
cd pyliblo3
pip install .
Windows
git clone https://github.com/radarsat1/liblo
cd liblo
New-Item -ItemType Directory -Force -Path "windowsbuild"
cd windowsbuild
cmake -A x64 -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=OFF -DWITH_CPP_TESTS=OFF -DWITH_EXAMPLES=OFF -DWITH_TOOLS=OFF ../cmake
cmake --build . --config Release
Get-ChildItem -Recurse
cmake --install .
git clone https://github.com/gesellkammer/pyliblo3
cd pyliblo3
pip install .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pyliblo3-0.16.1.tar.gz
.
File metadata
- Download URL: pyliblo3-0.16.1.tar.gz
- Upload date:
- Size: 175.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 485ca8bb78633eb83260a9789be359cd7c84be2ad0eb1e9340f163fbecf9a4d3 |
|
MD5 | 1ec1dabaf509a0781f1abf0a899f45e1 |
|
BLAKE2b-256 | 797a58fe5bd1fea0ccf0a777dbb45828a8828482483d35b4d7365db5d2d91037 |
File details
Details for the file pyliblo3-0.16.1-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: pyliblo3-0.16.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 131.6 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db579506cba06cdd99a12d3f6c43d7ceb6269204fd819d6c5d58c7d6df961db3 |
|
MD5 | d11cb0355f306a1ff44f869cc0f6575c |
|
BLAKE2b-256 | 5f380eb3f645562886327cfb1688de0cbb8107ebcb553b156742fb2cc5eb6e58 |
File details
Details for the file pyliblo3-0.16.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pyliblo3-0.16.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 621.6 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c54574342c38163ca062ed415a4e5d1ca98fc44e6fae87c48121dffbd78b6512 |
|
MD5 | c60e895a4d33a712f47bc8e2ef4aaa24 |
|
BLAKE2b-256 | 5adc676af180089fbb0ca156748d4c5d2772de2b114b5e713d12067f9f016486 |
File details
Details for the file pyliblo3-0.16.1-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: pyliblo3-0.16.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 169.9 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eda8e4c04cc5bad64c7f8c03bbe79d498608a9dfba22963198e41f0eb1ff2a82 |
|
MD5 | 9a4e5e205c69ebf1f523afa3d7f11dd8 |
|
BLAKE2b-256 | 3ac7b683a1705e47b657c5d7c12aeae1b88291811ad46349736f7221f0f8222c |
File details
Details for the file pyliblo3-0.16.1-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: pyliblo3-0.16.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 132.4 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38567d921741337a59dd31cc0211e5d1cb2f95cc79c953e108b45d3d513db34e |
|
MD5 | b982ace4d696207286a81d611f01d48d |
|
BLAKE2b-256 | ddc699e6a4e3408af72425c2d4ec74206f37dbf37df0f5b27c58a940d9da380f |
File details
Details for the file pyliblo3-0.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pyliblo3-0.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 630.9 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2e7ee50d0c66d8460b0529366cc5cc432055faca873e4ea7990f95c4cbbf0ee |
|
MD5 | 899670dfc9a051525426dfa69e5fcc3c |
|
BLAKE2b-256 | 3512f39a3ea3d584b039f79c821928170d3825a1c5e2658ab58cbb6af7a05b5c |
File details
Details for the file pyliblo3-0.16.1-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: pyliblo3-0.16.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 170.4 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e3cb0bcb34ff9b5c5f8ff469b330774fe21ca0acbdc5cafe0e3b0ed2a351485 |
|
MD5 | c86da18fd5d82a27c83dfe1a056c11c2 |
|
BLAKE2b-256 | f82ccf1c641443c2d5d3669f9d4969f9c266c65053591f5a05eef27c8b86d229 |
File details
Details for the file pyliblo3-0.16.1-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: pyliblo3-0.16.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 131.7 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0d65ad9f083c4871fd3fbe131d951085975dac78d80fc889c90155ceb2dfc79 |
|
MD5 | 1788bc135bc9c994d63b6ef80016960c |
|
BLAKE2b-256 | 07be4d0cc40e4b0c773eac01e3a4a7b07cda884b9e4917812a4baf21a0275696 |
File details
Details for the file pyliblo3-0.16.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pyliblo3-0.16.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 585.7 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10c57a9b00a094ae8dc2cedaf4ab8ecb85232b65b2b8a619cb4ca0451bacdbe2 |
|
MD5 | 77efc48dbeef5c30ba5922b95a310f9c |
|
BLAKE2b-256 | 5de766a29bdb6a7945924032e2fb96101fd6fd617d687bad1a1421da66c0065d |
File details
Details for the file pyliblo3-0.16.1-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: pyliblo3-0.16.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 169.6 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c4d96012b34d70b4241f5b11707f29bee84c578bf164f58e59e2797500775f9 |
|
MD5 | 1cd6cf21c8c803acc340f7660dddd299 |
|
BLAKE2b-256 | 74c982d95ca83f3a8f226f92ba255d720bd3593ab5dc963d8505c85e8a5befc2 |