It is base on https://github.com/includeleec/mixin-python3-sdk, author is leec
I only modified websocket reconnect server part and added a little common functions. Please see MIXIN_WS_API.initWebsocket for details.
Codes has tested using Python 3.7.4-64 bit on Windows 10.