skip to navigation
skip to content

circuits 1.1.1

Event framework with a Component architecture

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!
File Type Py Version Uploaded on Size # downloads
circuits-1.1.1-py2.5.egg (md5) Python Egg 2.5 2009-03-23 22:30:32.018668 216KB 156
circuits-1.1.1.tar.gz (md5) Source 2009-03-23 22:29:44.482136 155KB 128
circuits-1.1.1-py2.6.egg (md5) Python Egg 2.6 2009-03-23 22:29:57.652225 215KB 177

Log in to rate this package.

Package rating (1 vote): 2.0
  • 2 points: 1 vote

Ratings range from 0 to 5 (best).

Package Comments:
  • (benjaminws, 2009-10-26, points)