rich

Dev tools

terminal output library

SHOW HN2020

Legend

rich

Python lib for rich text, markdown, tables, etc. in the terminal

github.com

#python terminal#rich text#terminal tables#progress bar#console formatting

362points
47comments
#102of 3,028 in 2020
Top 4%of 2020 by points

How HN took it

LovedMost comments that take a side are positive

20 positive, 12 neutral or asking, 0 mixed, 1 critical, out of 33 comments about the project. Thread score +0.59.

Design: 3 for, 0 againstIdea: 2 for, 0 againstDocs: 1 for, 0 againstExecution: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Beautiful, polished output and detailed README

    From 2 comments
    • I'm blown away. That's amazingly gorgeous!
      kstrauser on HN
    • It's beautiful, but what I love most is the detailed README. Thank you for the attention to detail.
      20wenty on HN
  • Useful for progress bars, tables, logging and Jupyter support

    From 3 comments
    • Wow. That progress bar - I’m sold. Looking forward to trying it out
      jpxw on HN
    • This is great! Will certainly be using it in all my command line tools and scripts. Particularly the log handler. Also, like how it has special support for Jupyter notebooks.…
      hagy on HN
    • Awesome work, the Jupyter notebook support is really appreciated!
      kelsolaar on HN
  • Clean API design

    From 1 comment
    • This is SO cool! Amazing collection of features, really clean API design. I had no idea how much I wanted this.
      simonw on HN

Objections

  • Does not work in PyCharm console

    From 1 comment
    • Is anyone able to get this working in PyCharm? I can get it working on both a shell Python and iPython console, but not in the PyCharm console.
      alexpetralia on HN
  • No list of supported terminals

    From 1 comment
    • This looks great. I love stuff like this, especially that it is cross platform. One thing that would be nice to see is a list of which terminals are supported, or at least what…
      dec0dedab0de on HN

Requests

  • Traceback coloring enabled by default

    From 1 comment
    • Excellent ! Really love the traceback coloration, would love to have that enabled by default, should probably check pythonrc if it can hook that up. Also, RST support would be…
      1337shadow on HN
  • Curses or TUI integration

    From 1 comment
    • Looks great! Any chances of curses or other TUI integration, or is that out of scope for the project?
      ipsum2 on HN
  • HTML or email output

    From 1 comment
    • Related to this - is there a way to have a similar rich-styling library designed for email outputs? I have some daily reports generated by a python script via cron. The script…
      maest on HN

Questions

  • Does it work in PyCharm console

    From 1 comment
    • Is anyone able to get this working in PyCharm? I can get it working on both a shell Python and iPython console, but not in the PyCharm console.
      alexpetralia on HN

Alternatives named

  • urwid

    From 2 comments
    • Other great tools in the python terminal sphere are colorama, blessings and urwid. Colorama is just for cross platform colouring, blessings is a very elegant wrapper over curses…
      rozab on HN
    • Perfect timing. I was looking at Urwid (http://urwid.org/) last night for a new project. Urwid is a console user interface library for python.
      _e on HN
  • colorama

    From 1 comment
    • Other great tools in the python terminal sphere are colorama, blessings and urwid. Colorama is just for cross platform colouring, blessings is a very elegant wrapper over curses…
      rozab on HN
  • blessed

    From 1 comment
    • please also consider blessed, an API-compatible fork of blessings that adds Windows 10 support, 24-bit color, keyboard input, and more.…
      jquast on HN
  • prompt-toolkit

    From 1 comment
    • Don’t forget prompt-toolkit. Notably it is a dependency of the truly excellent IPython shell.
      jnwatson on HN
  • termcolor

    From 1 comment
    • This is awesome. I’ve used termcolor and urwid in the past, will give this a shot.
      dave_sullivan on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/23070821)