[HN Gopher] Show HN: Textual - An async-powered terminal applica...
___________________________________________________________________
Show HN: Textual - An async-powered terminal application framework
for Python
Author : willm
Score : 40 points
Date : 2021-08-08 13:02 UTC (10 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| willm wrote:
| I'm the author of Rich, a Python library for fancy formatting in
| the terminal. Textual is a framework I'm building around Rich for
| creating terminal applications. It's powered by async and borrows
| a number of techniques from web development.
|
| It's still in active development, but it has reached a point
| where you can play with it. The most recent release adds a tree
| control which you can use to navigate a directory and pick files.
|
| My hope is that a Textual UI will be at-least as easy to write as
| a command line interface, and projects will grow a --tui switch
| to launch an interactive app.
|
| There's already an app using Textual:
| [wtpython](https://github.com/what-the-python/wtpython)
| guiambros wrote:
| I'm a big fan of Rich [1], thank you Will for creating it! Very
| impressive to see how much it evolved over the last year.
|
| [1] https://github.com/willmcgugan/rich
| noloblo wrote:
| Exactly what I have been looking for
| noloblo wrote:
| Will are there examples of how to use textual with Rich ?
| Thanks
| noloblo wrote:
| Is it inspired by aiohttp or which web framework do you plan on
| using as inspiration for textual
___________________________________________________________________
(page generated 2021-08-08 23:02 UTC)