Hacker News new | ask | show | jobs
by tmearnest 1829 days ago
What about the API design is so awesome?
1 comments

Mainly it's the absurd amount of functionality that's packed into the library, in a way that interoperates in a predictable way.

Rich does a LOT of stuff, and all of the things it does work with each other - so it's easy to compose them together into sophisticated combined layouts.

It can render Markdown in a way that works on a console. It 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.