Python Support and Documentation


#1

Is it possible to use Python to program/control Matrix?
If yes, where is the documentation?
If not, are you planning to develop some python support (and if so, do you have a date)?


#2

There are two approaches to using Python with the Matrix. Neither of which is formally documented.

One is to attach to 0MQ on MALOS. Look at the JS examples to see the approach we’re using (https://github.com/matrix-io/matrix-creator-malos/tree/master/src/js_test).

Two, which is a few months out, will be native support for Python on MATRIX OS ( https://github.com/matrix-os ). This will be the easiest approach. We’re still finalizing our JS API, once that is done and seems successful for users, Python is next.


#3

The promise of Python support is why I finally purchased. Though I did wait until the last 24 hours, mainly to decide if I should buy one or two.

I bought two.


#4

Hi! there are now Python support???


#5

I’m still hoping for/waiting on Python support as well!


#6

Python support would really help me as well.


#7

Same here. Really don’t want to port existing code base to nodejs.


#8

Hey guys, really looking forward to Python support.
Do we have any information on when it might be ready?


#9

Ya, me too. I bought this expecting the python support as mentioned in the video. Come on mates!! Show me your python…no, not that python.


#10

Python support is appreciated.


#11

Any update on this? Thanks either way!


#12

Looks like a dead end here, especially regarding the usage of the micarray.


#13

Hi all,

Sorry about this long wait. Just to inform that we have a better support now with examples for python regarding all the sensors and the LEDs. These python example talk with our MALOS layer using protocol buffers and zmq. See here : https://github.com/matrix-io/matrix-creator-malos/tree/master/src/python_test

Regarding the mics, we are working on full support for pyaudio/portaudio. Please be patient, we will be releasing it not too far. Meanwhile you can use workarounds like this to record from python.


Please share any questions regarding this.

Yoel.


#14

Many thanks for the update.

Workarounds like the above for audio recording are used by many of us but the biggest issue is that many speech recognition projects out there use pyaudio / portaudio and its a quasi standard with regards to audio handling within Python. We have luck that for instance snowboy supports MC though pyaudio is missing by using alsa.

Looking forward for proper Python audio support with pyaudio / portaudio. Hopefully this doesn’t take several months again. If i am not wrong those issues are raised about September / October 2016.

Thank you.