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.0.0
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.0.0.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cuifw-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.7 kB
Release files / cuifw-1.0.0.tar.gz
| Download URL | cuifw-1.0.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d9da2557937610cda9713046641de977d356c52dec96fadc7c578a9e8876bff
|
|
BLAKE2b-256 checksum How to use checksums |
7317bce5aa519d7902f686900153e3e8d3e87ff759aa5ba361a5115e6d45127e
|
| 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.0.0-py3-none-any.whl
| Download URL | cuifw-1.0.0-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf51957c97f405b8824909934a58f1753443dc30af496675afd291b3f9dbb4ee
|
|
BLAKE2b-256 checksum How to use checksums |
a594d829ec4341fd3fc705ae371336eea7a224a6b11f4d8d94271e6f2f180168
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|