textual

Modern Python framework for building text user interfaces in the terminal.

pipmacoslinuxwindows
Try with needOr install directly
Source

About

Modern Text User Interface framework

Examples

create interactive terminal applications with Python$ python -m textual
build a todo list app with buttons and text input$ python -c "from textual.app import ComposeResult, RenderableType; from textual.containers import Container; from textual.widgets import Button, Input"
make a dashboard that updates in real time$ python -m textual.pilot your_app.py
create a file browser with keyboard navigation$ python -c "from textual.widgets import DirectoryTree; from textual.app import App"
build a progress bar or loading indicator$ python -c "from textual.widgets import ProgressBar; from textual.app import App"