Textual is a TUI (Text User Interface) framework for Python inspired by modern web development.
Textual is a TUI (Text User Interface) framework for Python inspired by modern web development. Textual uses Rich to render rich text, so anything that Rich can render may be used in Textual. Event handling in Textual is asynchronous (using async and await keywords). Widgets (UI components) can independently update and communicate with each other via message passing. Textual has more in common with modern web development than it does with curses; layout is done with CSS grid and (soon) the theme may be customized with CSS. Other techniques are borrowed from JS frameworks such as Vue and React.
Textual is a TUI (Text User Interface) framework for Python inspired by modern web development. Textual uses Rich to render rich text, so anything that Rich can render may be used in Textual. Event handling in Textual is asynchronous (using async and await keywords). Widgets (UI components) can independently update and communicate with each other via message passing. Textual has more in common with modern web development than it does with curses; layout is done with CSS grid and (soon) the theme may be customized with CSS. Other techniques are borrowed from JS frameworks such as Vue and React.
To install py310-textual, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install py310-textual
To see what files were installed by py310-textual, run:
port contents py310-textual
To later upgrade py310-textual, run:
sudo port selfupdate && sudo port upgrade py310-textual
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.