textual

The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.

25799
800
Python

Discord
Supported Python Versions
PyPI version
OS support

Textual

Build sophisticated, cross-platform, user interfaces with a simple Python API.

Run your apps in the terminal or a web browser with Textual Web or Textual Serve.

Videos

🎬 Demonstration

https://github.com/user-attachments/assets/71afec49-fe89-4e8d-a8cf-148fa2601362

🎬 Textual Serve

https://github.com/user-attachments/assets/97ab8825-0af6-42e9-b7e5-f554303a2112

Textual in Action

buttons

tree

datatables

inputs

Impatient?

Try the textual demo without installing.

uvx --python 3.12 textual-demo

Textual supports themes

Installing

Install Textual via pip:

pip install textual textual-dev

Check out the demo:

python -m textual

See getting started for details.

Documentation

Head over to the Textual documentation to start building!

Join us on Discord

Join the Textual developers and community on our Discord Server.