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 details)

Uploaded Python 2

File details

Details for the file EventPython-0.0.1-py2-none-any.whl.

File metadata

  • Download URL: EventPython-0.0.1-py2-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/2.7.16

File hashes

Hashes for EventPython-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 e6422cf89ce273b8c3cd53f9e989bf185eb2692957eb522402180db78e87876f
MD5 2ad6b66d5724f4ca2650c9a2ff6efad3
BLAKE2b-256 7d086593e543b0c12250eb769bc16a91259185f07d12796e62de3bdff235a1e1

See more details on using hashes here.

Supported by

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