DEV Community

loading...

A cool new progress bar for python!

Rogério Sampaio de Almeida
A Python aficionado and a Rust enthusiast, perfectionist and curious about the art of computer programming in general.
・1 min read

Hello!

I'm the author of alive-progress, a new kind of Progress Bar for python like you've never seen, with real time throughput, eta and very cool animations!

It's also very easy to use and feature-packed, take a look!

animating

There's a plethora of builtin spinner styles to choose from!

spinners

And you can easily create your own, there's builtin support for several special effects like frames, scrolling, bouncing, delayed and compound spinners! Get creative!

Also bar styles!

bars

To install, just:

$ pip install alive-progress
Enter fullscreen mode Exit fullscreen mode

That's it, you're good to go!

More details in alive-progress, enjoy!

Kind Regards,
Rogério.

Discussion (9)

Collapse
waylonwalker profile image
Waylon Walker

This look sick! for years I have used tqdm. recently I stole the source of pipx for a couple of small projects. I really like its dancing dot animation and the context manager approach. Your ascii animations are killer! I will definitely be using this one.

Collapse
rsalmei profile image
Rogério Sampaio de Almeida Author

Thank you man! Appreciated!
Yeah, the context manager approach is not only visually good, but also useful! It allows you to call bar() just when you want, not necessarily in all iterations! So you can count at the same time the total and "broken" items, or "ok" items, so at the end you nicely get a receipt of "4800/5000", giving you more information than tqdm ever could.

Collapse
gerile3 profile image
Berkay Girgin

Wow this looks so cool, thanks for sharing !

Collapse
delta456 profile image
Swastik Baranwal

This looks very good! Well done!

Collapse
jaht1989 profile image
Arturo Herrera 🐍

It's amazing 👍

Collapse
esafb52 profile image
Masiha Ahmadi

cool:)

Collapse
autoferrit profile image
Shawn McElroy

Now this is a keeper. Well done!

Collapse
banzyme2 profile image
EN_DEE_SA

🔥

Collapse
goodgodth profile image
Ar-ruk Kachen

That's good