mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
84 lines
1.8 KiB
Markdown
84 lines
1.8 KiB
Markdown
|
|
# Introduction
|
|
|
|
Welcome to the [Textual](https://github.com/Textualize/textual) framework documentation. Built with ❤️ by [Textualize.io](https://www.textualize.io)
|
|
|
|
<hr>
|
|
|
|
Textual is a framework for building applications that run within your terminal. Text User Interfaces (TUIs) have a number of advantages over web and desktop apps.
|
|
|
|
<div class="grid cards" markdown>
|
|
|
|
- :material-clock-fast:{ .lg .middle } :material-language-python:{. lg .middle } __Rapid development__
|
|
|
|
---
|
|
|
|
Uses your existing Python skills to build beautiful user interfaces.
|
|
|
|
|
|
- :material-raspberry-pi:{ .lg .middle } __Low requirements__
|
|
|
|
---
|
|
|
|
Low system requirements. Run Textual on a single board computer if you want to.
|
|
|
|
|
|
|
|
- :material-microsoft-windows:{ .lg .middle } :material-apple:{ .lg .middle } :fontawesome-brands-linux:{ .lg .middle } __Cross platform__
|
|
|
|
---
|
|
|
|
Textual runs just about everywhere.
|
|
|
|
|
|
|
|
- :material-network:{ .lg .middle } __Remote__
|
|
|
|
---
|
|
|
|
Textual apps can run over SSH.
|
|
|
|
|
|
- :fontawesome-solid-terminal:{ .lg .middle } __CLI Integration__
|
|
|
|
---
|
|
|
|
Textual apps can be launched and run from the command prompt.
|
|
|
|
|
|
|
|
- :material-scale-balance:{ .lg .middle } __Open Source, MIT__
|
|
|
|
---
|
|
|
|
Textual is licensed under MIT.
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
```{.textual path="examples/calculator.py" columns=100 lines=41 press="3,.,1,4,5,9,2,_,_,_,_,_,_,_,_"}
|
|
```
|
|
|
|
```{.textual path="examples/pride.py"}
|
|
```
|
|
|
|
```{.textual path="docs/examples/tutorial/stopwatch.py" columns="100" lines="30" press="d,tab,enter,_,_"}
|
|
```
|
|
|
|
|
|
```{.textual path="docs/examples/events/dictionary.py" columns="100" lines="30" press="tab,_,t,e,x,t,_,_,_,_,_,_,_,_,_,_,_,_,_"}
|
|
```
|
|
|
|
|
|
```{.textual path="docs/examples/guide/layout/combining_layouts.py" columns="100", lines="30"}
|
|
```
|
|
|
|
```{.textual path="docs/examples/app/widgets01.py"}
|
|
```
|
|
|
|
|