Skip to main content

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.2

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

Source distribution (sdist)

Source distribution for cuifw 1.6.2
File Size Uploaded
cuifw-1.6.2.tar.gz 17.4 kB Details

Built distribution (wheel)

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

Total release size: 34.1 kB

Release files / cuifw-1.6.2.tar.gz

Download URL cuifw-1.6.2.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1562d5bab0078a8bc3b2b1cd20dd82e884440d57b3b6baf98f6177fb759e551c
BLAKE2b-256 checksum
How to use checksums
1ae47f4fb988d092de46945c635fe7e56e87dbe40d985babe7127aa4961af482
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.2-py3-none-any.whl

Download URL cuifw-1.6.2-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0a4a24cdb7cdf1b605b1d7af45e9d182fa31faeba098b362458b11634513610
BLAKE2b-256 checksum
How to use checksums
da995171dade8ee213df726c321fa8140950996b5ea6e8afa1ade2848f2a187b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release history Release notifications | RSS feed

1.7.0

2 release files

1.6.9

2 release files

1.6.8

2 release files

1.6.7

2 release files

1.6.6

2 release files

1.6.5

2 release files

1.6.4

2 release files

1.6.3

2 release files

This release

1.6.2 This release

2 release files

1.6.1

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