cuiprogress

Progress bars using CUI interface.

class rios.cuiprogress.CUIProgressBar[source]

Simple progress as a percentage pronted to the terminal

displayError(text)[source]
displayException(trace)[source]
displayInfo(text)[source]
displayWarning(text)[source]
reset()[source]
setLabelText(text)[source]
setProgress(progress)[source]
setTotalSteps(steps)[source]
wasCancelled()[source]
class rios.cuiprogress.GDALProgressBar[source]

Uses GDAL’s TermProgress to print a progress bar to the terminal

displayError(text)[source]
displayException(trace)[source]
displayInfo(text)[source]
displayWarning(text)[source]
reset()[source]
setLabelText(text)[source]
setProgress(progress)[source]
setTotalSteps(steps)[source]
wasCancelled()[source]
class rios.cuiprogress.LogProgressBar[source]

A progress object specifically for printing to logs. The other progress objects here don’t print to logs - only terminals. This saves unecessary info being put into the log but does make it difficult to monitor a job from the logs. To avoid too much information being saved to the log only unique percentages are printed.

displayError(text)[source]
displayException(trace)[source]
displayInfo(text)[source]
displayWarning(text)[source]
reset()[source]
setLabelText(text)[source]
setProgress(progress)[source]
setTotalSteps(steps)[source]
wasCancelled()[source]
class rios.cuiprogress.SilentProgress[source]

A progress object which is completely silent.

displayError(text)[source]
displayException(trace)[source]
displayInfo(text)[source]
displayWarning(text)[source]
reset()[source]
setLabelText(text)[source]
setProgress(progress)[source]
setTotalSteps(steps)[source]
wasCancelled()[source]