Developer Tooling ยท zero-dependency ยท MIT

larztui

Pretty terminal UI - panels, tables and rules.

A rich-style toolkit with no dependency: bordered panels, aligned box-drawing tables, titled rules and columns. Width-aware - it measures visible width ignoring ANSI so styled cells still align - and colour auto-disables off-TTY.

larzscript pkg install tui
View on GitHub →Learn the stack

What you get

Try it

import "tui" as tui
print(tui.panel("Status", "All systems operational", "single"))
print(tui.table([["Name", "Age"], ["Ada", "36"], ["Bo", "24"]]))
print(tui.rule(20))
Output
+-------------------------+
| Status                  |
| ----------------------- |
| All systems operational |
+-------------------------+
+------+-----+
| Name | Age |
+------+-----+
| Ada  | 36  |
| Bo   | 24  |
+------+-----+
--------------------

Why it's in the Larz Stack

larztui is a real Larzscript package (larzscript pkg install tui) - money-native, zero dependencies, the same language as the rest of the estate, not a separate Python runtime. It composes with the rest of the Larz Stack and the Larz framework.