Termqt
A terminal emulator widget implemented in Python/Qt.
Install / Use
/learn @TerryGeng/TermqtREADME
termqt
termqt is the python implementation of a terminal emulator, based on Qt. It is designed to be embedded as a widget in other programs. It implements a subset of the functions described in VT100 User Guide and XTerm Control Sequence. While can't be considered as a fully functional terminal emulator like those most used by people, it can run IPython and perhaps more complicated applications.
<img src="screenshots/screenshot-1.jpg" alt="Screenshot" style="zoom:50%;" />Dependencies
- Python 3.5+ (to get PyQt5 running),
- PyQt5 /PyQt6 / PySide2 / PySide6.
Installation
pip install termqt
Get Started
termqt is divided into a Terminal widget that can be embedded in any Qt
program, and a TerminalIO that is used to communicate with child processes
like bash or ipython. One has to connect all callbacks inside Terminal
and TerminalIO in order to get them running. One may also build his own
TerminalIO backend instead of using the existing ones.
A quick minimalistic example can be found in start.py. It creates a
Terminal and a TerminalExecIO that runs bash under Linux (and other
POSIX-compatible environments) or cmd under Windows.
Issues / Feature Requests
If you spot a bug or want to propose a feature, please feel free to submit an issue. At this time, my time working on this project is not guaranteed, but I will try my best. Other volunteers are also welcomed to submit PRs. All your efforts are appreciated!
Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
