Progress bars: printing iterations/second and unbounded processes #926
Replies: 4 comments 2 replies
-
Yes, tasks have a Have a look at TransferSpeedColumn, which assumes your units are bytes of data, but you could modify that to display iterations per second. Probably worth adding that to the core lib, so feel free to PR that. |
Beta Was this translation helpful? Give feedback.
-
Hey there, is this problem of "number of iterations per second" is resolved or a PR for it is ok? |
Beta Was this translation helpful? Give feedback.
-
I'd love this feature too |
Beta Was this translation helpful? Give feedback.
-
@aziz0x00 and @deo-nikita Since I had a similar usecase, I just submitted #3533. Hope it will help you too (if/once it's accepted). |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm wondering if there's a way to use
rich.progress
to print information - specifically the number of iterations per second - for a process with an unknown number of steps. Withtqdm
, I do this as follows:Is there a way to do this or something similar with
rich
? Apologies if this is a question already answered in the docs - I read through what seemed to be the relevant sections, but may have missed something.Beta Was this translation helpful? Give feedback.
All reactions