pyee
pyee supplies an event_emitter object that acts similar to the EventEmitter that comes with node.js.
Example
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')
BANG BANG
In [5]:
Easy-peasy.
For more, visit <https://github.com/jfhbrook/pyee> .
Metadata
Release files for pyee 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyee-1.0.1.tar.gz | 4.1 kB | Details |
Release files / pyee-1.0.1.tar.gz
| Download URL | pyee-1.0.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
445c9cd811a53eeee3dd5649a02960eef142cbbf8f6fa10e5d31ebc4f8c78f68
|
|
BLAKE2b-256 checksum How to use checksums |
0b946820b8b1a21ce4d6a1c807342ac35cf4d5fd89b94b3f12e10de3c34d5507
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |