flare

Flare is an application development framework for writing software frontends in pure Python.

Subpackages

Submodules

Package Contents

Classes

Cache

Functions

updateConf(other: Dict)

Merges other into conf.

_html5WidgetSetHidden(widget, hidden)

_html5WidgetSetDisabled(widget, disabled)

loadProjectConf(aconf)

Update the default flare config with project configuration.

bindApp(app, injectdata)

Add the app instance as "app" to global config.

Attributes

conf

_super_setHidden

_setHidden

_super_setDisabled

_setDisabled

class flare.Cache

Bases: object

updateStructure(self, module, structure)
update(self, module, key, data, structure=None)
lookup(self, module, key='current')
struct(self, module)
start(self, plan, finishHandler=None, failureHandler=None)
finish(self, plan)
require(self, *args)
invalidate(self, *args)
onDataChanged(self, module, key=None, **kwargs)
request(self, *args, finishHandler=None, failureHandler=None)
flare.conf
flare.updateConf(other: Dict)

Merges other into conf.

flare._html5WidgetSetHidden(widget, hidden)
flare._super_setHidden
flare._setHidden
flare._html5WidgetSetDisabled(widget, disabled)
flare._super_setDisabled
flare._setDisabled
flare.loadProjectConf(aconf)

Update the default flare config with project configuration.

flare.bindApp(app, injectdata)

Add the app instance as “app” to global config.