flare

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

Subpackages

Submodules

Package Contents

Classes

Cache

Functions

updateConf(other)

Merges other into conf.

_html5WidgetSetHidden(widget, hidden)

_html5WidgetGetHidden(widget)

_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

_setHidden

_getHidden

_super_setDisabled

_setDisabled

class flare.Cache

Bases: object

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

Merges other into conf.

flare._html5WidgetSetHidden(widget, hidden)
flare._setHidden
flare._html5WidgetGetHidden(widget)
flare._getHidden
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.