Textualize/rich
View on GitHub ↗ ★ 57,701 Python
Rich is a Python library for rich text and beautiful formatting in the terminal.
46 mentions on Hacker News by 41 people: 8 stories, 38 comments · first 2020-04-08 · latest 2024-08-12
20082026
-
…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…
comment by justinclift · 2024-08-12 · in Things I've learned building a modern TUI Framework (2022) -
I recently used the rich library to print tables in terminal. https://github.com/Textualize/rich
comment by INTPenis · 2024-07-29 · in ps aux written in bash without forking -
…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...
comment by emmanueloga_ · 2024-07-26 · in Show HN: Wat – Deep inspection of Python objects -
…PWA, or use Electron to display it in app form. Please let me know if someone actually tries this! https://github.com/Textualize/rich
comment by nikisweeting · 2024-05-07 · in Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones? -
I like https://github.com/Textualize/rich and Textual by the same team, they solve a similar need but using Python.
comment by nikisweeting · 2024-05-07 · in Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones? -
▲ 3
Rich is a Python library for rich text and beautiful formatting in the terminalstory by tosh · 2024-03-14 · 0 comments
-
…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
comment by Ringz · 2024-02-25 · in Neat Parallel Output in Python -
…is a good guy, and Scottish: https://www.willmcgugan.com/about/ https://www.textualize.io/ https://github.com/Textualize/rich
comment by kingkongjaffa · 2023-10-09 · in Ask HN: Programmers and Technologists in Scotland -
…easier and prettier. [0] https://rich.readthedocs.io/en/stable/logging.html [1] Try this example: https://github.com/Textualize/rich/blob/master/examples/exce... [2] Side note: does anyone know how to get these properly working when using…
comment by godelski · 2023-10-02 · in Python 3.12 -
I am working on a new python project and one of the first things I added was https://github.com/Textualize/rich because of how easy it is to make things look good in the terminal.
comment by jdoss · 2023-08-18 · in Textual: Rapid Application Development framework for Python -
…it ;) ¹ https://github.com/1j01/textual-paint ² https://news.ycombinator.com/item?id=36859880 ³ https://github.com/textualize/rich ⁴ https://textual.textualize.io/
comment by JNRowe · 2023-08-10 · in Piano Emulator in Your Terminal -
▲ 5
Show HN: Picopins, a CLI Pinout for the Raspberry Pi Picostory by gadgetoid · 2023-05-12 · 0 comments
-
…recommend checking out rich to replace stackprinter and tqdm from the article (and do a lot more) https://github.com/Textualize/rich
comment by aranke · 2023-05-09 · in Python's Missing Batteries: Essential Libraries You're Missing Out On -
…written by Will McGugan, designed to bring stylized text formatting to terminals and consoles. https://github.com/Textualize/rich
comment by johnohara · 2023-01-03 · in Ask HN: What are you working on this year? -
…tools with Python. [1] https://datascienceatthecommandline.com/2e/chapter-4-creatin... [2] https://github.com/Textualize/rich [3] https://click.palletsprojects.com/en/8.1.x/
comment by jeroenjanssens · 2022-10-02 · in Bash one-liner to produce a list of HEX color codes that read like English words -
…Terminal.app. It reports: >>> rich.get_console() <console width=109 ColorSystem.STANDARD> If I read https://github.com/Textualize/rich/blob/33040731973d44cf6326... correctly, if you specify a truecolor it will downgrade with the following…
comment by eesmith · 2022-08-04 · in Things I've learned building a modern TUI framework -
…to point me to what I missed. You could have a look at Rich itself, which is what Textualize uses: https://github.com/Textualize/rich . I don't build UIs but the number of files/LOC gives me a bit more confidence that my personal…
comment by mwt · 2022-04-24 · in Textualize – A framework for building Text User Interface applications -
…and Textual are the way to go. However, its not low/no-code. https://github.com/Textualize/textual https://github.com/Textualize/rich
comment by aitoehigie · 2022-03-27 · in Ask HN: Simple framework/way to create command-line apps? -
…Just exectue the cell with your data frame variable. The alternative might be to use rich package ( https://github.com/Textualize/rich ) but I don't have a tutorial yet.
comment by pplonski86 · 2022-01-23 · in Show HN: Mercury – Publish Jupyter Notebook as web app by adding YAML header -
…off the formatting when it detects you're not outputting to a terminal. Here's where it checks: https://github.com/Textualize/rich/blob/5a457bfbc662ab8701dc... (and I just tested to confirm it does indeed work)
comment by varenc · 2022-01-21 · in Make Your Python CLI Tools Pop with Rich -
▲ 389
Rich: A Python library for rich text and formatting in the terminalstory by willm · 2022-01-15 · 82 comments
-
…put there? For developers to quickly visually test stuff by running the module? Here, for example https://github.com/willmcgugan/rich/blob/master/rich/color.p...
comment by roveo · 2021-12-27 · in Ask HN: Good Python projects to read for modern Python? -
I’ve worked on rich https://github.com/willmcgugan/rich including adding strict mypy typing https://mypy.readthedocs.io/en/stable/command_line.html#cmdo... . I found Will’s codebase easy to read and reason about, making it easy to help…
comment by npage97 · 2021-12-27 · in Ask HN: Good Python projects to read for modern Python? -
…doing Google searches): - tqdm: progress bars ( https://tqdm.github.io/ ) - rich: text formatting ( https://github.com/willmcgugan/rich ) - textual: TUI, using rich ( https://github.com/willmcgugan/textual ) - fastpi: Rest APIs (…
comment by dogline · 2021-12-16 · in Tqdm (Python) -
For building rich terminal UIs in Python, I recommend Rich the library https://github.com/willmcgugan/rich
comment by miohtama · 2021-10-13 · in How does apt render its fancy progress bar? -
Rich (for formatting) and textual (for TUI) from Will McGugan are great libraries: https://github.com/willmcgugan/rich https://github.com/willmcgugan/textual
comment by abdusco · 2021-10-13 · in How does apt render its fancy progress bar? -
https://github.com/willmcgugan/rich > Rich is a Python library for rich text and beautiful formatting in the terminal. > The Rich API makes it easy to add color and style to terminal output. Rich can also render pretty tables, progress…
comment by capableweb · 2021-09-29 · in I'm working on open source full time -
…# Python, more polished presentation - but I cannot judge the technical foundation https://github.com/willmcgugan/rich
comment by ho_schi · 2021-08-30 · in Writing Programs with Ncurses -
…thank you Will for creating it! Very impressive to see how much it evolved over the last year. [1] https://github.com/willmcgugan/rich
comment by guiambros · 2021-08-08 · in Show HN: Textual – An async-powered terminal application framework for Python -
…has gorgeous progress bars and spinners built in. It has a very competent table layout mechanism. https://github.com/willmcgugan/rich/tree/master/examples is full of neat examples of what it can do - all very Pythonic in the way they work.
comment by simonw · 2021-06-19 · in Textual: a Python text user interface with Rich as the renderer -
…apt-stuff or the kernel config aside from that: https://invisible-island.net/ncurses/ // classic https://github.com/willmcgugan/rich // blingbling https://github.com/dankamongmen/notcurses // hacker For the old stuff I recommend looking…
comment by ho_schi · 2021-06-08 · in Notepad++ v8 release -
rich[0] has some nice Lay-out functionality [1] [0]: https://github.com/willmcgugan/rich [1]: https://www.willmcgugan.com/blog/tech/post/building-rich-ter...
comment by dangrie158 · 2021-06-05 · in Ftxui: C++ Functional Terminal User Interface -
This looks cool. I had never come across rich[0] before. [0] https://github.com/willmcgugan/rich
comment by rahimnathwani · 2021-04-08 · in How to make a Python package in 2021 -
…isn't that resource intensive so I'd stay in whatever ecosystem I have a reason to be in. 1. https://github.com/willmcgugan/rich 2. https://github.com/gizak/termui 3. https://github.com/fdehau/tui-rs Notably absent is the JVM. Another…
comment by cheriot · 2021-04-02 · in Blessed: Curses-like library with high level terminal interface API for Node.js -
…a few hours by wrapping a context-aware unit/currency conversion library with Rich Python [0]. [0]: https://github.com/willmcgugan/rich
comment by dlivingston · 2021-03-30 · in Numi – Calculator app for Mac -
…is a bit annoying to test). Talking of python cli libs I haven’t tried but will do one day - rich: https://github.com/willmcgugan/rich
comment by CraigJPerry · 2021-03-17 · in Writing Small CLI Programs in Common Lisp -
…on HN or in the OP, so I am linking it here [1], for the convenience of myself and others. [1] https://github.com/willmcgugan/rich
comment by iib · 2021-02-16 · in Building Rich Terminal Dashboards -
▲ 5
Show HN: Colorful CLI Spinners with Pythonstory by willm · 2020-12-13 · 0 comments
-
…like outputting syntax highlighted elements and colorful exceptions with little effort. [1]: https://github.com/willmcgugan/rich
comment by pridkett · 2020-11-24 · in Spectre.Console lets you make beautiful console apps with .NET Core -
…one of the Rich examples[2] identically EDIT: Oh I see they've linked Rich as a inspiration. [0] https://github.com/willmcgugan/rich [1] https://spectresystems.github.io/spectre.console/#examples [2] https://github.com/willmcgugan/rich#tabl…
comment by animal_spirits · 2020-11-10 · in Spectre.console – Pretty console apps in .NET -
* https://github.com/willmcgugan/rich/blob/837b6d7e85254f0047c... Note that it is possible to respect TERM=dumb without using termcap or terminfo, although this library does not do that.
comment by JdeBP · 2020-07-06 · in Rich Tables in the Terminal -
https://github.com/willmcgugan/rich/blob/master/rich/console... shows that's it's directly using escape codes: http://ascii-table.com/ansi-escape-sequences-vt-100.php
comment by sxp · 2020-07-05 · in Rich Tables in the Terminal -
▲ 298
Rich Tables in the Terminalstory by willm · 2020-07-05 · 50 comments
-
▲ 2
Python library for rendering rich text and beautiful formatting to the terminalstory by dricornelius · 2020-05-09 · 0 comments
-
▲ 362
Show HN: Python lib for rich text, markdown, tables, etc. in the terminalstory by willm · 2020-05-04 · 47 comments
-
▲ 4
Rich is a Python library for rich text and beautiful formatting in the terminalstory by gilad · 2020-04-08 · 0 comments