TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Textual: a Python text user interface with Rich as the renderer

157 pointsby truedukealmost 4 years ago

12 comments

simonwalmost 4 years ago
I&#x27;ve been watching this evolve following Will on Twitter over the last few months - it&#x27;s really exciting. I love how he&#x27;s posting progress videos to the README too.<p>The underlying library Rich is some of the best API design I&#x27;ve seen in ages, so I have very high expectations of Textual which it looks like it&#x27;s easily going to meet.
评论 #27541946 未加载
评论 #27552210 未加载
nneonneoalmost 4 years ago
This looks beautiful. I&#x27;ve already started using Rich in the REPL - it&#x27;s definitely a nice little upgrade to get. The developer is very responsive and the project looks amazing.
minimaxiralmost 4 years ago
Show HN for the base Rich renderer a year ago: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23070821" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23070821</a><p>It&#x27;s an impressive piece of software with a few surprises. (such as rendering to HTML)
tbabejalmost 4 years ago
It&#x27;s great to see some more competitors on the TUI front of the Python ecosystem! I recently tried multiple existing frameworks and was not particularly happy with the state.<p>Here are the main contenders for libraries that provide higher-level API than urwid&#x2F;ncurses:<p>* Picotui, <a href="https:&#x2F;&#x2F;github.com&#x2F;pfalcon&#x2F;picotui" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pfalcon&#x2F;picotui</a><p>* Npyscreen, <a href="https:&#x2F;&#x2F;github.com&#x2F;npcole&#x2F;npyscreen" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;npcole&#x2F;npyscreen</a><p>* py_cui, <a href="https:&#x2F;&#x2F;github.com&#x2F;jwlodek&#x2F;py_cui" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jwlodek&#x2F;py_cui</a><p>Both Picotui and Npyscreen are relatively unmaintained &#x2F; considered feature-full. py_cui seems to be in the best shape.<p>Fingers crossed for this project making it through, building on top of Rich gives it quite a bit of headstart. You can also sponsor @willmcgugan on Github [0].<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;sponsors&#x2F;willmcgugan" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sponsors&#x2F;willmcgugan</a>
评论 #27541708 未加载
IncRndalmost 4 years ago
This looks great. If testing it works out, then using it will be very helpful for me. Thank you!
mattbuildsalmost 4 years ago
I&#x27;m a huge fan of Rich. Can&#x27;t wait to add Textual to the toolbox.
w0malmost 4 years ago
My goal is to rewrite all our internal flask apps in this (or something similar)
edwardalmost 4 years ago
I fixed a spelling mistake: <a href="https:&#x2F;&#x2F;github.com&#x2F;willmcgugan&#x2F;textual&#x2F;pull&#x2F;8" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;willmcgugan&#x2F;textual&#x2F;pull&#x2F;8</a>
salmoalmost 4 years ago
I haven&#x27;t done a TUI since using curses, which is appropriately named.<p>I do have some scripts used by non-developers, who can do things on the command line, but only by wrote. This would be really great for that vs having to build out a web-based thing.<p>This looks like DOS-based UIs, but so much nicer. I just never even considered that a possibility.<p>It looks like it&#x27;s aiming for a very usable API, I&#x27;ll try to follow its progress.
sidllsalmost 4 years ago
Reminds me of old DOS-based C++ editors I used way back in undergrad. Borland C++ being one of these. Except smoother&#x2F;nicer looking.
nexuistalmost 4 years ago
I took a brief glance at the syntax. Am I correct in thinking this is SwiftUI-like?
评论 #27546046 未加载
评论 #27545672 未加载
评论 #27544423 未加载
js2sjalmost 4 years ago
Hope there&#x27;s an equivalant framework for nodejs!