SpiffSignal

A signal/event mechanism for Python
Download

SpiffSignal Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Samuel Abels
  • Publisher web site:
  • http://code.google.com/p/exscript/

SpiffSignal Tags


SpiffSignal Description

A signal/event mechanism for Python SpiffSignal is a Python library that implements a simple signal/event mechanism:from SpiffSignal import Trackableclass WatchMe(Trackable): def __init__(self): Trackable.__init__(self) def do_something(self): self.signal_emit('did-something', 'hello world')def my_callback(arg): print argfoo = WatchMe()foo.signal_connect('did-something', my_callback)foo.do_something() Requirements: · Python


SpiffSignal Related Software