dgbpy.uibokeh

Module Contents

Classes

TrainStatusUI

ProgBar

ProgState

Generic enumeration.

TrainStatus

Generic enumeration.

Functions

getButton(nm, type=enums.ButtonType.default, callback_fn=None)

getRunStopButton(callback_fn=None)

getPauseResumeButton(callback_fn=None)

getPbar()

getRunButtonsBar(progress, runact, abortact, pauseact, resumeact, progressact, timercb)

startStopCB(cb, run_fn, abort_fn, progress_fn, timer_fn, repeat=2000)

isAborted(runbutbar)

pauseResumeCB(cb, pause_fn, resume_fn)

timerCB(cb, timer_fn)

isReady(runbutbar)

isRunning(runbutbar)

setRunning(runbutbar, start_fn=None)

startBarUpdateCB(cb, ret)

endBarUpdateCB(ret)

setReady(runbutbar)

setPaused(runbutbar)

setResumed(runbutbar)

setTabFromButton(cb, panelnm, tabnm)

setActiveTab(tabspanelwidget, tabnm)

integerListContains(listobj, index)

getGroup(grpnm, options, groups, keywd)

getAllUiFlds(objects)

setProgValue(type=None, current=0, total=0)

Create text value for a progress div widget

percentage(current, total)

Find percentage between current and total

getProgMsg(msgstr)

Returns the current and total iteration from msgstr

getProgValue(text)

Returns the current and total iteration from Div widget in ProgBar

set_augment_mthds(info)

Attributes

but_width

but_height

but_spacer

go_lbl

stop_lbl

pause_lbl

resume_lbl

timerkey

parent_bar

child_bar

widget_margin

RunState

augment_ui_map

dgbpy.uibokeh.but_width = 80
dgbpy.uibokeh.but_height = 32
dgbpy.uibokeh.but_spacer = 5
dgbpy.uibokeh.go_lbl = Run
dgbpy.uibokeh.stop_lbl = Abort
dgbpy.uibokeh.pause_lbl = ❚❚ Pause
dgbpy.uibokeh.resume_lbl = Resume
dgbpy.uibokeh.timerkey = timerobj
dgbpy.uibokeh.parent_bar = epoch_bar
dgbpy.uibokeh.child_bar = iter_bar
dgbpy.uibokeh.widget_margin = [4, 0, 0, 0]
dgbpy.uibokeh.RunState
dgbpy.uibokeh.getButton(nm, type=enums.ButtonType.default, callback_fn=None)
dgbpy.uibokeh.getRunStopButton(callback_fn=None)
dgbpy.uibokeh.getPauseResumeButton(callback_fn=None)
class dgbpy.uibokeh.TrainStatusUI
set_status(self, status)
visible(self, bool)
dgbpy.uibokeh.getPbar()
dgbpy.uibokeh.getRunButtonsBar(progress, runact, abortact, pauseact, resumeact, progressact, timercb)
dgbpy.uibokeh.startStopCB(cb, run_fn, abort_fn, progress_fn, timer_fn, repeat=2000)
dgbpy.uibokeh.isAborted(runbutbar)
dgbpy.uibokeh.pauseResumeCB(cb, pause_fn, resume_fn)
dgbpy.uibokeh.timerCB(cb, timer_fn)
dgbpy.uibokeh.isReady(runbutbar)
dgbpy.uibokeh.isRunning(runbutbar)
dgbpy.uibokeh.setRunning(runbutbar, start_fn=None)
dgbpy.uibokeh.startBarUpdateCB(cb, ret)
dgbpy.uibokeh.endBarUpdateCB(ret)
dgbpy.uibokeh.setReady(runbutbar)
dgbpy.uibokeh.setPaused(runbutbar)
dgbpy.uibokeh.setResumed(runbutbar)
dgbpy.uibokeh.setTabFromButton(cb, panelnm, tabnm)
dgbpy.uibokeh.setActiveTab(tabspanelwidget, tabnm)
dgbpy.uibokeh.integerListContains(listobj, index)
dgbpy.uibokeh.getGroup(grpnm, options, groups, keywd)
dgbpy.uibokeh.getAllUiFlds(objects)
class dgbpy.uibokeh.ProgBar(value, parent=None, **kw)
first_init(self, value)
reset(self)
visible(self, bool)
set(self, current, total)
get(self)
fail(self)
panel(self)
dgbpy.uibokeh.setProgValue(type=None, current=0, total=0)

Create text value for a progress div widget

dgbpy.uibokeh.percentage(current, total)

Find percentage between current and total

dgbpy.uibokeh.getProgMsg(msgstr)

Returns the current and total iteration from msgstr

dgbpy.uibokeh.getProgValue(text)

Returns the current and total iteration from Div widget in ProgBar

class dgbpy.uibokeh.ProgState

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

Ready = 0
Running = 1
Started = 2
class dgbpy.uibokeh.TrainStatus

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

Default = 0
Success = 1
Failed = 2
dgbpy.uibokeh.set_augment_mthds(info)
dgbpy.uibokeh.augment_ui_map