Is there a Python equivalent for the Perl module Term::VT102?
See also ashttp built on top of Pexcept:
ashttp can serve any text application over http, like : $ ashttp 8080 top to serve a top on port 8080, or : $ ashttp 8080 watch -n 1 ls -lah /tmp to serve an actualized directory listing of /tmp
(Source: https://mdk.fr/blog/ashttp-vt100-screen-scraping-exported-over-http.html )
Pexpect, which has support for VT100, might be of help to you.