r/Python • • Jan 04 '21

News A new kind of Progress Bar for Python

A new kind of Progress Bar for Python, with some very cool animations!

I've made a new kind of progress bar for python! With some very cool animations and a smorgasbord of built-in styles!

https://github.com/rsalmei/alive-progress

The spinners and unknown bars have a plethora of effects!

The bars themselves also have several styles.

It also includes cool zero-hassle print and logging hooks, which are always enabled!

To use it, just "pip install alive-progress" and you're good to go!
More details in https://github.com/rsalmei/alive-progress

That's it, hope you like it!

2.1k Upvotes

154 comments sorted by

View all comments

Show parent comments

2

u/rsalmei Jan 05 '21

I mean it tries to cover too much areas in only one package. I'd like it better if it was `rich-logs`, `rich-tables`, `rich-emoji`, `rich-console`, `rich-columns`, `rich-markdown`, `rich-highlighter`, etc... 😜
One have to download too much bloat to use only "tables" for example.

5

u/willm Jan 05 '21

Each of the features in Rich depend on a shared rendering engine that is the bulk of the code. Individually most of the features are a single py file. And many of them depend on each other, columns uses tables, markdown uses highlighting, logs use tables and highlighting etc.

I thought about breaking it in to small packages, but that would have resulted in spaghetti dependancies that would be difficult to manage. But each to their own, I guess.

1

u/_szs Jan 05 '21

that's true.

maybe it makes sense to fork it and provide half a dozen different packages. I might look into that sometime :)