Hacker GitHub

← All repos

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

Mentions per year 46 mentions · busiest year 2021 (16)
20082026
  1. …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…
  2. 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
  3. …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...
  4. …PWA, or use Electron to display it in app form. Please let me know if someone actually tries this! https://github.com/Textualize/rich
  5. I like https://github.com/Textualize/rich and Textual by the same team, they solve a similar need but using Python.
  6. ▲ 3
    Rich is a Python library for rich text and beautiful formatting in the terminal
    story by tosh · 2024-03-14 · 0 comments
  7. …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
  8. …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
  9. …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
  10. 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.
  11. …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
  12. ▲ 5
    Show HN: Picopins, a CLI Pinout for the Raspberry Pi Pico
    story by gadgetoid · 2023-05-12 · 0 comments
  13. …recommend checking out rich to replace stackprinter and tqdm from the article (and do a lot more) https://github.com/Textualize/rich
  14. …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?
  15. …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/
  16. …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…
  17. …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…
  18. …and Textual are the way to go. However, its not low/no-code. https://github.com/Textualize/textual https://github.com/Textualize/rich
  19. …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.
  20. …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)
  21. ▲ 389
    Rich: A Python library for rich text and formatting in the terminal
    story by willm · 2022-01-15 · 82 comments
  22. …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...
  23. 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…
  24. …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)
  25. For building rich terminal UIs in Python, I recommend Rich the library https://github.com/willmcgugan/rich
  26. Rich (for formatting) and textual (for TUI) from Will McGugan are great libraries: https://github.com/willmcgugan/rich https://github.com/willmcgugan/textual
  27. 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
  28. …# 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
  29. …thank you Will for creating it! Very impressive to see how much it evolved over the last year. [1] https://github.com/willmcgugan/rich
  30. …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.
  31. …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
  32. 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
  33. 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
  34. …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…
  35. …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
  36. …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
  37. …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
  38. ▲ 5
    Show HN: Colorful CLI Spinners with Python
    story by willm · 2020-12-13 · 0 comments
  39. …like outputting syntax highlighted elements and colorful exceptions with little effort. [1]: https://github.com/willmcgugan/rich
  40. …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
  41. * 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
  42. 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
  43. ▲ 298
    Rich Tables in the Terminal
    story by willm · 2020-07-05 · 50 comments
  44. ▲ 2
    Python library for rendering rich text and beautiful formatting to the terminal
    story by dricornelius · 2020-05-09 · 0 comments
  45. ▲ 362
    Show HN: Python lib for rich text, markdown, tables, etc. in the terminal
    story by willm · 2020-05-04 · 47 comments
  46. ▲ 4
    Rich is a Python library for rich text and beautiful formatting in the terminal
    story by gilad · 2020-04-08 · 0 comments