This repository is example of thin_ws_server.
git clone https://github.com/atoy322/remote_minecraft
pip install thin-ws-server
cd remote_minecraft- launch websocket server
from requester import CommandRequester
cr = CommandRequester()
cr.accept() # accept client connection
cr.request("setblock", "~~~", "tnt") # run setblock command
cr.close() # connection close- Run below command in minecraft.
/connect {YOUR IP}:8000- You can remote control the Minecraft.
not completed. developing now