pytermgui
rich
pytermgui | rich | |
---|---|---|
50 | 156 | |
2,402 | 51,207 | |
1.6% | 1.4% | |
5.5 | 9.1 | |
3 months ago | 4 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pytermgui
-
5 Best Python TUI Libraries for Building Text-Based User Interfaces
4.Pytermgui Pytermgui Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
-
Using Textual to Build a ChatGPT TUI App
Several libraries, such as urwid or PyTermGUI, allow the development of TUI applications in Python. For enhancing the functionality and aesthetics of TUI apps, they offer some fundamental and more sophisticated utilities. But there is one package that is truly exceptional and might even be so amazing that it sparks a TUI renaissance (I really wanted to put "TUI renaissance" somewhere in this article).
-
How difficult is ncurses?
There are plenty of terminal UI libraries that are actually nice to work with. For Python, there's Textual and PyTermGUI. For Rust, there's ratatui and Cursive (or, if you want something a bit lower level, crosster or termion). For Go, there's bubbletea.
-
Any Good Recommendations for a Tutorial on PyTermGUI?
Talking about resources, their docs are pretty good and contains some examples too. Documentation: https://ptg.bczsalba.com/pytermgui.html
-
Create TUI's (Terminal User Interface) using Textual
Have you tried PyTermGUI? It looks promising, but I wonder if there are any pitfalls. I need to build a professional CLI for a robot, and half-baked packages just won't do.
-
Looking for Github projects with strong communities and Discords. Active and frequently mentoring new-comers.
While the community is relatively small right now, my TUI framework PyTermGUI has a lot of the attributes you're looking for! We don't currently have a section dedicated to this yet, but if you come to the discord I'm sure we can help you :)
- Version 7.2.0 brings automatically generated palettes using color theory!
- The brand-new TIM engine arrives with version 7.0.0!
-
Verison 6.3.0 has cometh, featuring the new InputField!
Check out the changelog here.
- Ask HN: Are there any high-level TUI tools?
rich
-
🚀 Launching a High-Performance DistilBERT-Based Sentiment Analysis Model for Steam Reviews 🎮🤖
rich: Enhances the command-line interface with rich text formatting.
-
5 Best Python TUI Libraries for Building Text-Based User Interfaces
2.Rich Rich Rich is a modern Python library designed for rich text and beautiful formatting in the terminal. While Rich is often used for rendering formatted logs or terminal output, it also includes a TUI toolkit for building full-fledged interactive applications.
-
5 Open Source Python Projects You Should Know About in 2024
Where to check it out: https://github.com/Textualize/rich
-
Things I've learned building a modern TUI Framework
> Personally I found Textual a little weird to use, but better than ncurses.
Out of curiosity, have you looked at it's sibling project "rich"?
https://github.com/Textualize/rich
Seems like it provides a TUI toolkit as well, and it looks a bit less weird than the approach Textual uses.
Was thinking of trying it out with a side project recently, but got pulled onto some other stuff instead so haven't yet started. Nor made the choice between them. ;)
-
Ps aux written in bash without ever forking
I recently used the rich library to print tables in terminal.
https://github.com/Textualize/rich
-
Wat – Deep inspection of Python objects
Right! I usually use rich's print [1] for this kind of thing too, which I chose after testing a few other libraries that do pretty printing.
--
1: https://github.com/Textualize/rich?tab=readme-ov-file#rich-p...
-
A Simple Instagram Tracking Script Written in Python
Rich
- Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
- Rich is a Python library for rich text and beautiful formatting in the terminal
-
Neat Parallel Output in Python
There is an open issue [1] on GitHub to make it more modular and get rid of markdown and syntax highlighting but I have no hope for rich to get more minimal.
[1]: https://github.com/Textualize/rich/issues/2277
What are some alternatives?
textual - Lean TUI application framework for Python. Build sophisticated terminal user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
tqdm - :zap: A Fast, Extensible Progress Bar for Python and CLI
py_cui - A python library for intuitively creating CUI/TUI interfaces with widgets, inspired by gocui.
colorama - Simple cross-platform colored terminal text in Python
urwid - Console user interface library for Python (official repo)