由 Textualize 开发的文本 Python TUI 应用框架
Textual is a lean application framework for Python that lets you build sophisticated terminal user interfaces with a simple API. Apps built with Textual run in the terminal and can also be served in a web browser, making it ideal for dashboards, data explorers, and developer tools.
Installation
Use the upstream install or setup path that matches your environment:
- pip install textual textual-dev
Requirements and caveats from upstream:
-
- Build cross-platform user interfaces with a simple Python API. Run your apps in the terminal or a web browser.
- Textual's API combines modern Python with the best of developments from the web world, for a lean app development experience.
Basic usage or getting-started notes:
- app.run()
- See getting started for details.
- <img src="https://img.spacergif.org/spacer.gif" width="1" height="32"/>
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/Textualize/textual/HEAD/README.md