Release: SpiffSignal 0.1.0
SpiffSignal is a simple signal/event mechanism for Python. This is the initial release. Instead of screenshots, look at the following example that prints “hello world”:
from SpiffSignal import Trackable class WatchMe(Trackable): def __init__(self): Trackable.__init__(self) def do_something(self): self.signal_emit('did-something', 'hello world') def my_callback(arg): print arg foo = WatchMe() foo.signal_connect('did-something', my_callback) foo.do_something()