skip to navigation
skip to content

pyee 0.0.6

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

Latest Version: 1.0.2

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


In [1]: from pyee import Event_emitter

In [2]: ee = Event_emitter()

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.6.tar.gz (md5) Source 2012-09-01 3KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 3 downloads in the last week
  • 979 downloads in the last month