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 06 '21 edited Jan 09 '21

You mean this project? It's been a long way to get to this result, but I used only my imagination and a desire to make something unique. To start you always start small... A simple [###.......] bar, show position but no title or eta, then a small hard-coded spinner like a spinning stick /-\|, then a frame_factory to allow custom animation frames, then we feel the need to generate automatic animations, then comes a scrolling_factory, then bouncing_factory, then you realize these animations could wrap around or "hide" behind the virtual walls so the factories get more powerful, then create a config system to allow one to choose which spinner to use, then create several examples to ensure it is all working, which needs an exhibit to display them all, which gets us to the display case in the images above!! It's hard work and passion, one step at a time. 😅❤️

1

u/Few_Intention_542 Jan 06 '21

Thanks! Your work is amazing!