Skip to main content

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.

Screenshot

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!

Metadata

Release files for termqt 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for termqt 1.1
File Size Uploaded
termqt-1.1.tar.gz 34.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for termqt 1.1
File Interpreter ABI Platform
termqt-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 68.9 kB

Release files / termqt-1.1.tar.gz

Download URL termqt-1.1.tar.gz
Size 34.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a88939610307a1afb6b274906b0dd37e3ab30d462eb914f2783ab11d4511cc64
BLAKE2b-256 checksum
How to use checksums
4b2f5c1b687d846d5ff2c5dfae733518b963dbcb94bbf218f507d7da5817344e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / termqt-1.1-py3-none-any.whl

Download URL termqt-1.1-py3-none-any.whl
Size 34.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82c9582e83e6a9a291643c82afb6a433d15b933255633c1d903a49e40fbb29be
BLAKE2b-256 checksum
How to use checksums
8b8e23a40fcba01303cb356c010161c56c65ac692031d67d8121f2c32796faca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page