Skip to content
Sections
>> Trisquel >> Packages >> aramo >> python >> python3-termbox
nabia  ] [  aramo  ]
[ Source: termbox  ]

Package: python3-termbox (1.1.2+dfsg-3build6)

Library for writing text-based user interfaces (Python)

Termbox is a library that provides minimalistic API which allows the programmer to write text-based user interfaces.

It is based on a very simple abstraction. The main idea is viewing terminals as a table of fixed-size cells and input being a stream of structured messages. Would be fair to say that the model is inspired by windows console API. The abstraction itself is not perfect and it may create problems in certain areas. The most sensitive ones are copy & pasting and wide characters (mostly Chinese, Japanese, Korean (CJK) characters). When it comes to copy & pasting, the notion of cells is not really compatible with the idea of text. And CJK runes often require more than one cell to display them nicely. Despite the mentioned flaws, using such a simple model brings benefits in a form of simplicity. And KISS principle is important.

At this point one should realize, that CLI (command-line interfaces) aren't really a thing termbox is aimed at. But rather pseudo-graphical user interfaces.

This package ships with Python3 binding of termbox.

Other Packages Related to python3-termbox

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.33)
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: python3 (<< 3.11)
    interactive high-level object-oriented language (default python3 version)
    dep: python3 (>= 3.10~)

Download python3-termbox

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 40.8 kB125 kB [list of files]
arm64 38.9 kB124 kB [list of files]
armhf 34.7 kB83 kB [list of files]
ppc64el 51.7 kB224 kB [list of files]