gavo.user.plainui module

Observers for running interactive programs in the terminal.

class gavo.user.plainui.PlainUI(eh)[source]

Bases: SemiStingyPlainUI

An Observer spitting out most info to the screen.

This is to configure the UI. Enable it by calling api.PlainUI(api.ui).

announceIndexing(indexName)[source]
announceNewSource(srcString)[source]
announceScriptRunning(arg)[source]
announceShipout(noShipped)[source]
announceSourceError(srcString)[source]
announceSourceFinished(srcString)[source]
closeProcess(procId)[source]
openProcess(procId)[source]
printInfo(message)[source]
reportProgress(nextMessage)[source]
class gavo.user.plainui.SemiStingyPlainUI(eh)[source]

Bases: StingyPlainUI

A StingyPlainUI that at least displays warnings.

This is to configure the UI. Enable it by calling api.SemiStingyPlainUI(api.ui).

printWarning(message)[source]
class gavo.user.plainui.StingyPlainUI(eh)[source]

Bases: ObserverBase

An Observer swallowing infos, warnings, and the like.

This is to configure the UI. Enable it by calling api.StingyPlainUI(api.ui).

announceSourceError(srcString)[source]
popIndent()[source]
printErrMsg(errMsg)[source]
pushIndent()[source]
showMsg(msg)[source]