468,321 Members | 1,686 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,321 developers. It's quick & easy.

[ANN]: circuits-1.0a2 released!

Hi all,

I'm pleased to announce the release of circuits-1.0a2


circuits is an event-driven framework with a focus on Component
Software Architectures where System Functionality is defined in
Components. Components communicate with one another by propagating
events throughout the system. Each Component can react to events and
expose events to other parts of the system Components are able to
manage their own events and can also be linked to other Components.

circuits has a clean architecture and has no external dependencies on
any other library. It's simplistic design is unmatchable but yet
delivers a powerful framework for building large, scalable,
maintainable applications and systems. circuits was a core integral
part of the pymills library developed in 2006 and was partly inspired
by the Trac architecture.

Quick Examples

Hello World!
>>from circuits.core import listener, Component, Event, Manager

class Hello(Component):
.... @listener("hello")
.... def onHELLO(self):
.... print "Hello World!"
>>manager = Manager()
manager += Hello()
manager.push(Event(), "hello")
Hello World!

Hello Web!

from circuits.lib.web import Server, Controller
class HelloWorld(Controller):
def index(self):
return "Hello World!"
server = Server(8000)
server += HelloWorld()

Hello Web! (WSGI)

from circuits.lib.web import Application, Controller
class HelloWorld(Controller):
def index(self):
return "Hello World!"
application = Application()
application += HelloWorld()

Download circuits using easy_install or from here:
or from the Python Package Index.

Please visit the circuits website for more information about circuits,
or to file bug reports or enhancements.



-- "Problems are solved by method"
Nov 20 '08 #1
0 948

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Pat Cavanagh | last post: by
reply views Thread by apsolar | last post: by
1 post views Thread by killet | last post: by
15 posts views Thread by Bjoern Schliessmann | last post: by
reply views Thread by wesley chun | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.