Recent versions of IRIS come with Lite Terminal available from VSCode. It's a websocket server, with JSON messaging. Here's how to connect to it from Python:
VSCode is a short name form for a popular cross-platform editor VisualStudio Code from Microsoft.
