Skip to main content
Help us improve Python packaging – donate today!

Event framework with a Component architecture

Project Description

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!

Release history Release notifications

History Node

3.2

History Node

3.1.0

History Node

3.0

History Node

3.0.0.dev

History Node

2.1.0

History Node

2.0.1

History Node

2.0.0

History Node

1.6

History Node

1.5.1

History Node

1.5

History Node

1.4

History Node

1.3.3

History Node

1.3.2

History Node

1.3.1

History Node

1.3

History Node

1.2.1

History Node

1.2

History Node

1.1.1

This version
History Node

1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
circuits-1.1-py2.5.egg (221.1 kB) Copy SHA256 hash SHA256 Egg 2.5 Mar 22, 2009
circuits-1.1-py2.6.egg (220.8 kB) Copy SHA256 hash SHA256 Egg 2.6 Mar 22, 2009
circuits-1.1.tar.gz (149.8 kB) Copy SHA256 hash SHA256 Source None Mar 22, 2009

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page