simple events propogation
Python _ _ _ _____ _____ _ _| |_| |_ ___ _ _(_)______ _ _ / -_) V / -_) ' \ _| ' \/ _ \ '_| |_ / _ \ ' \ \___|\_/\___|_||_\__|_||_\___/_| |_/__\___/_||_|
Supported Pythons: 2.6+, 3.2+
A Python package for propogating events, without messy hooks and subclassing. Useful when you have multiple components that need to communicate and share data around.
Since this component is used for systems where they integrate with multiple other components, the most important development goal is stability. Extensibility is already built into the module, so it comes “for free”.
from eventhorizon import signal done = signal('test-done') @done.register def finalize(): return done.trigger() done.silence(finalize)
Most of this package is inspired by the Backbone.js web framework and it’s events system. You can also use Eventhorizon as a substitute for the blinker library, but Eventhorizon is lighter and provides less features.
The documentation for the library is available and hosted in Github pages.