No project description provided
Project description
messaging
A simple event handling package.
Almost all application are event driven, for instead , when a serial port is open you want to notify other objects that want to use it. The module provide a clear interface like C# event handlers to help you handle events.
from jimobama_events.event import Event;
from jimobama_events.eventhandler import EventHandler;
def OnClicked(event):
print(event.Type);
handler = EventHandler();
handler += OnClicked;
handler(Event('SERIAL_OPEN');
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jimobama_event-1.0.1.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for jimobama_event-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e130a51f37f3be8ab27383e166baecbc16f14fb067dd9dfcb1b4bc38f826de3 |
|
MD5 | 48843e65eabc80cd7f75102732128fe8 |
|
BLAKE2b-256 | d6548045bf1578b1c4e41800e012f9e9e60957a537ba1ed564f70a525f938568 |