Skip to main content

A terminal emulator widget implemented in Python/Qt.

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

termqt-1.1.tar.gz (34.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

termqt-1.1-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

Details for the file termqt-1.1.tar.gz.

File metadata

  • Download URL: termqt-1.1.tar.gz
  • Upload date:
  • Size: 34.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for termqt-1.1.tar.gz
Algorithm Hash digest
SHA256 a88939610307a1afb6b274906b0dd37e3ab30d462eb914f2783ab11d4511cc64
MD5 9f47af89798c88bca407ae1f680ae504
BLAKE2b-256 4b2f5c1b687d846d5ff2c5dfae733518b963dbcb94bbf218f507d7da5817344e

See more details on using hashes here.

File details

Details for the file termqt-1.1-py3-none-any.whl.

File metadata

  • Download URL: termqt-1.1-py3-none-any.whl
  • Upload date:
  • Size: 34.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for termqt-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82c9582e83e6a9a291643c82afb6a433d15b933255633c1d903a49e40fbb29be
MD5 2966b8977569c003f020336353dc24d4
BLAKE2b-256 8b8e23a40fcba01303cb356c010161c56c65ac692031d67d8121f2c32796faca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page