I would like to write a simple, command-line based, monitoring tool in Python that displays, on the command line, a visual indicator of a tally. The tally in question is the tally of messages on a queue but that’s not really important, what’s important is I want to display a visual indicator of a tally that can increase or decrease. I do know what the maximum possible value will be.
Does anyone know of an easy way of achieving this in Python?
In my head I’m envisaging a horizontal bar in the shell that shrinks and grows according to the tally. Note I don’t want a progress bar (I know I could use tqdm to give me progress bars) because this is an unbounded tally, there is no notion of it ending.
Any suggestions would be most welcome.