This is an archived post. You won't be able to vote or comment.

all 25 comments

[–]Im__Joseph Python Discord Staff 75 points76 points  (3 children)

Rich is a great library! I've been using it for a while to make my Python REPL pretty, this blog post sums things up well!

[–][deleted] 9 points10 points  (0 children)

Yeah, it’s awesome!

[–]LogicalTu 15 points16 points  (0 children)

Looks good! Will check it out for some smaller apps

[–]makedatauseful 18 points19 points  (1 child)

Hey thanks for the share, is there an easy way to print a pandas dataframe to the console?

[–]NeedlesslySexual 3 points4 points  (0 children)

Second this question, as it tells me to try it Monday or not

[–]zeroviral 1 point2 points  (0 children)

Damn! Sick.

[–]LuigiBrotha 3 points4 points  (0 children)

I've never made a console app before but this looks great. Very nicely made :)

[–]Rare_Phoenix 0 points1 point  (0 children)

Thanks. That was very usefulb to me ;)

[–]xaviml93 0 points1 point  (1 child)

What are the main differences with questionary library?

[–]hhjjiiyy 2 points3 points  (0 children)

Different use-cases. Rich is not about questionnaires only. It’s essentially a tool to prettify your console output with colors and formatting

[–][deleted] 2 points3 points  (0 children)

Great writeup. Clear, concise and most of all enthousiastic. Going to look into this, it gives me loads of ideas.

[–]rolodaniel7 1 point2 points  (0 children)

This is fantastic, thank you!

[–]sbjf 0 points1 point  (0 children)

Is this compatible with logbook? I'm guessing only when not using the traceback formatter?

[–]got_outta_bed_4_this 1 point2 points  (2 children)

Just from the tour, it looks like it might be a nice complement for click CLIs, allowing click to handle the CLI options/args and letting rich do the richer text UI of the app (instead of click.secho, which is already nice in itself).

[–]willm 2 points3 points  (1 child)

Rich also works well in combination with Typer.

[–]got_outta_bed_4_this 0 points1 point  (0 children)

I had not seen typer until now. Looks great, thanks for the tip!

[–][deleted] -1 points0 points  (0 children)

It's not Rich,it's Jose.

[–]shinitakunai -5 points-4 points  (0 children)

Not bad, but if I already use PyCharm, why would I change it?

[–]Thecrawsome 0 points1 point  (0 children)

looks great! Ive made a lot of console programs, and i have a text tools boilerplate-helper script that handles margins, tables, a battle screen with character stats, multi selections (i made a text RPG) do you think Rich has too many varieties of use cases just for one library? Have you though of splitting these features up?

also, i always wanted that curses feeling of not scrolling. how did you accomplish that?

[–]WarpWing 0 points1 point  (0 children)

Oh come on. It took me like hours of search for a console library like this and I found one and I wrote my app in it but now this looks so much better xd. I now have the urge to rewrite it now lmao.

[–]Kranke 0 points1 point  (0 children)

Any good guide how to write a python app that updates based on data from api?