ptysh (pypi): Python Teletype Shell
Keywords: shell|tty|terminal