force intial resize event
Textual
Textual is a Rapid Application Development framework for Python.
Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser!
🎬 Demonstration
A quick run through of some Textual features.
https://github.com/user-attachments/assets/71afec49-fe89-4e8d-a8cf-148fa2601362
Impatient?
Try the textual demo without installing.
Textual adds interactivity to Rich with an API inspired by modern web development.
A powerful layout engine, theming system, and re-usable widgets makes it possible to build apps that rival the desktop and web experience. Here are just a few examples:
Great documentation and a builtin testing framework means that Textual apps can be maintained indefinitely.
Installing
Install Textual via pip:
pip install textual textual-dev
See the docs if you need help getting started.
Demo
Run the following command to see a little of what Textual can do:
python -m textual
Documentation
Head over to the Textual documentation to start building!
Join us on Discord
Join the Textual developers and community on our Discord Server.