Home | Trees | Indices | Help |
|
---|
|
A Lightweight, Event driven Framework with a strong Component Architecture.
Components communicate with one another by propagating Events on Channels throughout the System. Each Component has a set of Event Handlers that can listen for or filter Events on one or more Channels. Components react to Events and in turn expose further Events into the System. Each Component is capable of managing it's own Events as well as those of other Components. Complex directed graph structures can be created with Component Registrations, this gives a level of hierarchy and separation of concern.
Example:
>>> from time import sleep >>> from circuits import Event, Component >>> >>> class App(Component): ... def hello(self): ... print "Hello World!" >>> app = App() >>> app.start() >>> app.push(Event(), "hello") >>> sleep(1) Hello World!
Version: 1.2.1
Author: James Mills
Copyright: Copyright (C) 2004-2009 by James Mills
License: MIT
Submodules | |
|
Variables | |
__name__ = "circuits"
|
|
__description__ =
|
|
__author_email__ =
|
|
__maintainer__ =
|
|
__maintainer_email__ =
|
|
__url__ =
|
|
__download_url__ =
|
|
__platforms__ =
|
|
__keywords__ =
|
|
__classifiers__ =
|
|
__str__ =
|
|
__package_data__ =
|
|
__install_requires__ =
|
|
__setup_requires__ =
|
|
__extras_require__ =
|
|
__entry_points__ =
|
Variables Details |
__author_email__
|
__maintainer_email__
|
__download_url__
|
__keywords__
|
__classifiers__
|
__entry_points__
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Feb 4 00:24:46 2010 | http://epydoc.sourceforge.net |