Package circuits

Package circuits

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

Author: James Mills

Copyright: Copyright (C) 2004-2009 by James Mills

License: MIT

Submodules

Variables
  __name__ = "circuits"
  __description__ = 'Event framework with a Component architecture'
  __author_email__ = 'James Mills, prologic at shortcircuit dot ...
  __maintainer__ = 'James Mills'
  __maintainer_email__ = 'James Mills, prologic at shortcircuit ...
  __url__ = 'http://trac.shortcircuit.net.au/circuits/'
  __download_url__ = 'http://trac.softcircuit.com.au/circuits/do...
  __platforms__ = 'POSIX'
  __keywords__ = 'circuits Event Library Framework Component Arc...
  __classifiers__ = ['Development Status :: 4 - Beta', 'Environm...
  __str__ = 'circuits-1.2'
  __package_data__ = {}
  __install_requires__ = []
  __setup_requires__ = []
  __extras_require__ = {}
  __entry_points__ = '[console_scripts]\ncircuits.bench = circui...
  __package__ = 'circuits'
Variables Details

__author_email__

Value:
'James Mills, prologic at shortcircuit dot net dot au'

__maintainer_email__

Value:
'James Mills, prologic at shortcircuit dot net dot au'

__download_url__

Value:
'http://trac.softcircuit.com.au/circuits/downloads/circuits-1.2.tar.gz\
'

__keywords__

Value:
'circuits Event Library Framework Component Architecture'

__classifiers__

Value:
['Development Status :: 4 - Beta',
 'Environment :: Console',
 'Environment :: No Input/Output (Daemon)',
 'Environment :: Other Environment',
 'Environment :: Plugins',
 'Environment :: Web Environment',
 'Intended Audience :: Developers',
 'Intended Audience :: Information Technology',
...

__entry_points__

Value:
'''[console_scripts]
circuits.bench = circuits.tools.bench:main
circuits.sniffer = circuits.tools.sniffer:main
circuits.web = circuits.web.main:main
'''