textual
rich
Our great sponsors
textual | rich | |
---|---|---|
127 | 140 | |
19,489 | 43,442 | |
3.1% | 1.0% | |
10.0 | 9.3 | |
7 days ago | 7 days 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.
textual
-
How to format output for a stand-alone display screen? Larger numbers, colors, redrawing the screen from the top left instead of printing a new line every time?
If you are looking for something more flexible that just printing to a terminal, take a look at Asciimatics and textual. Both are available from Pypi.
-
Ratatui: Build rich terminal user interfaces
As someone that use both Python and Rust, it's hard to motivate myself to write TUI in Rust, because with Python we have the amazing textual.
- BFS for shortest path
-
Show HN: Trogon – An automatic TUI for command line apps
I would also[0] be interested in an argparse equivalent of this for my tool Library[1]
-
coBib 4.0: a modern UI using Textualize libraries
Today I released coBib 4.0, my console bibliography manager written in Python, which now uses rich and textual to provide a cohesive and modern user experience in both its CLI and TUI.
-
After tearing my hair out writing JavaScript the last few days how close are we to Python in the browser?
I don't think it is exactly what you're looking for, but Textual will be supporting something close to what I think you're after, soon. https://github.com/Textualize/textual
-
Ink: React for interactive command-line apps
For Golang there is Bubbletea [1], Textual [2] for Python and tui-rs for Rust [3].
[1] https://github.com/charmbracelet/bubbletea
-
Tried Textual to build a simple TUI - Skylab (a tool to track upcoming space launches)
I guess you looked at it a while ago because the docs are quite detailed with lots of examples.
-
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.
-
A beautiful TUI periodic table for GNU/Linux terminals (ptable) in C
Concerning your roadmap, you might wanna take some inspiration from Textual, it's a really mordern approach to TUIs. I understand that the level of abstraction is high and might be tasking to implement many of the ideas in there in C... and please fgs, don't think about doing the CSS shit.
rich
-
I made a library for making user terminal input really really pretty!
You might consider taking inspiration from the rich module. In particular, I like how rich supports inline color theming which seems much more cumbersome in your framework, requiring the use of context managers as well as familiarity with how your framework structures color objects. Other than that though, I'm impressed!
-
coBib 4.0: a modern UI using Textualize libraries
Today I released coBib 4.0, my console bibliography manager written in Python, which now uses rich and textual to provide a cohesive and modern user experience in both its CLI and TUI.
-
Rails is the Best web framework I have ever worked with. Rails is ❤️❤️❤️.
Apart from those libraries, I really liked: * https://github.com/Textualize/rich for beautiful CLI output * https://kivy.org/ for GUI * https://python-visualization.github.io/folium/quickstart.html#Getting-Started for maps * https://github.com/antscloud/fretboardgtr for guitar diagrams * https://github.com/sourabhv/FlapPyBird with PyGame
-
GitHub - INeddHelp/PyPuts: Open source library for colorful text in python
How is this better than rich https://github.com/Textualize/rich ?
-
How to do licenses?
No. I just remembered the rich package of Python. And here is how it handles the same problem. It is also licensed under MIT, and for implementing the CLI spinners, the maintainers decided to distribute another not less famous, MIT-licensed cli-spinners. Just see the rich/_spinners.py file. They added the license notice of the cli-spinners right on the top of the file.
- KleverNotes : Still working on it !
-
Released my first pypi project!
Great job on publishing your first project. But are you aware of the rich library which offers the same functionality and a lot more console formatting? How does your library compare to it?
-
This week(s) in DocArray
We ported back the pretty printing from DocArray v1 to v2 and tidied it up a bit to reflect the new v2 schema! Under the hood, we're relying on the awesome rich library for everything related to UI.
-
lord-of-the-clips (lotc): CLI app to download, trim/clip, and merge videos. Supports lots of sites. Downloads/trims at multiple points. Merges multiple clips.
This app leverages these powerful libraries: - yt-dlp: video downloader - moviepy: video trimmer/merger - click: CLI app creator - rich / rich-click: CLI app styler
-
tempy: render beautiful weather data to your terminal
- rich, a base rich text library with tons of raw capabilities and convenience classes/functions. `tempy` makes use of `rich` for all its rendering capabilities.
What are some alternatives?
tqdm - A Fast, Extensible Progress Bar for Python and CLI
colorama - Simple cross-platform colored terminal text in Python
pytermgui - Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
blessed - Blessed is an easy, practical library for making python terminal apps
alive-progress - A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
notcurses - blingful character graphics/TUI library. definitely not curses.
WindTerm - A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal.
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.
DearPyGui - Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.