kivy / kivy/oscpy

Async oscpy, question, help !

Open
#59 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
114
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Hi, how could I implement oscpy with cooroutines using asyncio, I don't understand how to implement the below.
OSCAsyncServer exist in somewere ?

Server (async) (TODO!)

from oscpy.server import OSCThreadServer

with OSCAsyncServer(port=8000) as OSC:
for address, values in OSC.listen():
if address == b'/example':
print("got {} on /example".format(values))
else:
print("unknown address {}".format(address))

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing OSCThreadServer entry point in oscpy.server and the asyncio coroutine requirements shown in the issue. Determine whether an OSCAsyncServer is intended to be added and define completion around an asyncio-compatible server that supports the demonstrated listening and address-handling flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.