txomon / ubus

Ubus library from openwrt. Python bindings not functional
40 stars 20 forks source link

Example for python usage ? #3

Open hubgitname opened 6 years ago

hubgitname commented 6 years ago

Hi, Do you have a python example for a server/client working with the ubus library ?

Thanks.

txomon commented 6 years ago

Nope, when creating this, I realised the problem on having to attach the python runtime to the loop, and at that time python asyncio wasn't really a thing. It was too much work for the use I was going to make out of it. Doing it in python3.6 should be doable now though.