skip to navigation
skip to content

Not Logged In

pyee 0.0.9

A port of node.js's EventEmitter to python.

pyee supplies an event_emitter object that acts similar to the EventEmitter that comes with node.js.


In [1]: from pyee import EventEmitter

In [2]: ee = EventEmitter()

In [3]: @ee.on('event')
   ...: def event_handler():
   ...:     print 'BANG BANG'

In [4]: ee.emit('event')

In [5]:


For more, visit <> .

File Type Py Version Uploaded on Size
pyee-0.0.9.tar.gz (md5) Source 2013-04-29 3KB
  • Downloads (All Versions):
  • 17 downloads in the last day
  • 185 downloads in the last week
  • 733 downloads in the last month