mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
45 lines
1.2 KiB
Markdown
45 lines
1.2 KiB
Markdown
[](https://pypi.org/project/textual/) [](https://badge.fury.io/py/textual)
|
|
|
|
# Textual
|
|
|
|
Textual is a Python framework for creating applications within your terminal.
|
|
|
|
Textual is a Python framework for creating applications within your terminal—powered by [Rich](https://github.com/Textualize/rich).
|
|
|
|
Build sophisticated Text User Interfaces (TUIs) with just your Python skills.
|
|
|
|
## Preview
|
|
|
|
This is the [code_browser.py](./examples/code_browser.py) example which clocks in at 61 lines, *including* docstrings and blank lines.
|
|
|
|
|
|
|
|
https://user-images.githubusercontent.com/554369/189394703-364b5caa-97e0-45db-907d-7b1620d6411f.mov
|
|
|
|
|
|
|
|
## Compatibility
|
|
|
|
Textual runs on Linux, MacOS, and Windows. Rich requires Python 3.7 or above.
|
|
|
|
## Installing
|
|
|
|
Install Textual via pip:
|
|
|
|
```
|
|
pip install textual[dev]
|
|
```
|
|
|
|
The addition of `[dev]` installs some additional development tools.
|
|
|
|
## Features
|
|
|
|
|
|

|
|
|
|

|
|
|
|

|
|
|
|

|