Event support for Python.
Project description
EventPython
Event support for Python.
Use this when you need fast event-speed in your program, or when you need to run multiple event dispatchers.
Installing
All you need to do is run pip install eventpython
.
Examples
Example 1:
from eventpython import Clock, Subscriber, Event
mysubscriber = Subscriber(1)
mysubscriber.handler = lambda ev: print("Hello!")
myclock = Clock([mysubscriber])
myclock.start()
myclock.send(Event(1, "", None))
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for EventPython-0.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6422cf89ce273b8c3cd53f9e989bf185eb2692957eb522402180db78e87876f |
|
MD5 | 2ad6b66d5724f4ca2650c9a2ff6efad3 |
|
BLAKE2b-256 | 7d086593e543b0c12250eb769bc16a91259185f07d12796e62de3bdff235a1e1 |