question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use Rich for formatting summary output

See original GitHub issue

Description

The Rich library is so cool and beautiful that I feel it would be very interesting to see if we could use rich

For a preview of rich v9.9.0’s capabilities, this is the output of python -m rich

python_m_rich

and python -m rich.palette

rich_palette

It seems that it could be quite useful for adding color highlights to some of the summary information we could output at times, especially with the pyhf CLI API.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lukasheinrichcommented, Feb 14, 2021

yeah the summary output is a good target for this!

1reaction
beojancommented, Jan 29, 2021

rich is an amazing library. By the way, it can also do really nice progress bars and spinners so it can replace tqdm too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rich CLI Tool : File formatting in the Terminal
Simply use the Rich command followed by the path to your chosen file and you will amazed by the output you see in...
Read more >
Introduction — Rich 12.6.0 documentation
Rich is a Python library for writing rich text (with color and style) to the terminal, and for displaying advanced content such as...
Read more >
Rich Text and Beautiful Formatting in the Terminal with Python ...
In this tutorial we will explore rich, a python library for rich text and beautiful formatiing in the terminal another addition to Colored ......
Read more >
gtsummary - Daniel D. Sjoberg
Customize gtsummary tables using a growing list of formatting/styling functions. Bold labels, italicize levels, add p-value to summary tables, style the ...
Read more >
Creating Rich Results - Jamovi
... we will add rich results to our analysis; a nice APA formatted table like ... the values with indices ( [[x]] ),...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found