Will McGugan 07f859fa87 about
2022-09-10 11:19:35 +01:00
2022-05-26 17:02:30 +01:00
2022-09-09 11:54:19 +01:00
2022-09-09 17:52:12 +01:00
2022-09-10 09:48:26 +01:00
2021-08-27 16:51:47 +01:00
2022-09-01 11:11:03 +01:00
2022-09-09 11:38:26 +01:00
2022-09-09 17:52:12 +01:00
2022-09-02 14:02:58 +01:00
eof
2021-08-31 17:53:41 +01:00
2022-03-02 17:12:58 +00:00
2022-04-27 14:02:28 +01:00
2021-04-08 16:24:48 +01:00
2022-09-06 15:32:02 +01:00
2022-09-09 11:38:26 +01:00
2021-07-05 20:48:00 +01:00
2022-09-06 13:11:06 +01:00
2022-08-17 08:46:06 +01:00
2022-09-10 11:19:35 +01:00

Supported Python Versions PyPI version

Textual

Textual splash image

Textual is a Python framework for creating applications within your terminal—powered by Rich.

Video preview

This is the 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

About

Textual adds interactivity to Rich with a Python API you can use to build sophisticated applications. Inspired by modern web development, Textual makes app building both quick and easy.

On modern terminal software (installed by default on most system) Textual apps can use 16.7 million colors with mouse support and smooth flicker-free animation. A powerful layout engine and re-usable components makes it possible to build apps that rival the desktop and web.

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 Textual development tools.

Features

calculator screenshot

code browser screenshot

stopwatch light screenshot

stopwatch dark screenshot

Description
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.
Readme MIT 490 MiB
Languages
Python 98.8%
Scheme 0.8%
Jinja 0.3%
TypeScript 0.1%