Skip to main content

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


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

EventPython-0.0.1-py2-none-any.whl (3.7 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page