[$] Textual: a framework for terminal user interfaces

For developers seeking to create applications with terminal user
interfaces (TUIs), options have been relatively limited compared to the
vast number of graphical user interface (GUI) frameworks available. As a
result, many command-line applications reinvent the same user interface
elements. Textual aims to
remedy this: it’s a rapid-application-development framework for
Python TUI applications. Offering cross-platform support, Textual
incorporates layouts, CSS-like styles, and an expanding collection of
widgets.

Source: LWN.net – [$] Textual: a framework for terminal user interfaces