cuifw
Console User Interface FrameWork The GUI framework for the terminal.
cuifw is what tkinter is for the desktop - but for the terminal.
- 2024 lines, 64.9 KB, zero dependencies
- GUI widgets: Label, Button, Menu, Panel, Input, Table, Slider, Tabs
- 2D + 3D ASCII rendering: lines, circles, hearts, cubes, spheres, torus
- Dialogs: MessageBox, InputDialog, FileDialog
- Layout: VSTACK, HSTACK, GRID
- Themes: Style, Theme, dark/light
- Events: EventBus, FocusManager
- Keyboard: raw mode, arrows, Enter, Esc, F-keys
- Network: Channel (sockets), Web (HTTP server)
- Process: StartPyCode, KillPyScript, WaitForProcess
Works everywhere Python runs: Linux, macOS, Windows, Android (Pydroid3), SSH, Docker, CI.
Install
pip install cuifw
Quick start
from cuifw import Colors, Render, Canvas, MessageBox
print(Colors.colorize("Hello, world!", Colors.GREEN))
points = Render.get_heart_points(40, 12, size=8, char='@', color=Colors.RED)
Render.DrawPic(points, width=80, height=25)
canvas = Canvas(80, 24)
MessageBox.showinfo(canvas, "Welcome", "Hello, Suleiman!")
License
MIT - see LICENSE.
Author: Suleiman steal.apet@mail.ru Copyright (c) Suleiman 2026
Metadata
Release files for cuifw 1.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cuifw-1.6.1.tar.gz | 16.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cuifw-1.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.5 kB
Release files / cuifw-1.6.1.tar.gz
| Download URL | cuifw-1.6.1.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
175f945789ccee1b059652b00cbe5cac0a8d52396c4852083fbb92fef5635dbb
|
|
BLAKE2b-256 checksum How to use checksums |
98643f0b5ac301bd92d0055d771558eb97d2c9d7099c135b358791ae59b648f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / cuifw-1.6.1-py3-none-any.whl
| Download URL | cuifw-1.6.1-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37264bee88f070abbef3749d104082d65c17312affc4ceed1598ccd08d6ea2b4
|
|
BLAKE2b-256 checksum How to use checksums |
82f9fea9162d48d41bd47a908d78717cacdce828c0b1da1d172ee9053570884e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|