Skip to main content

aioevents

Events for asyncio (PEP 3156)

Usage

To declare an event:

from aioevents import Event

class Spam:
	egged = Event("The spam has been egged")

To register a handler:

spam = Spam()

@spam.egged.handler
def on_egged(sender, amt):
    print("Spam got egged {} times".format(amt)")

Triggering an event:

spam.egged(42)

Metadata

Release files for aioevents 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aioevents 0.2
File Size Uploaded
aioevents-0.2.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aioevents 0.2
File Interpreter ABI Platform
aioevents-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / aioevents-0.2.tar.gz

Download URL aioevents-0.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5d5d1284eacb8d70f61e02d19644b3faa09a897727de6fa9e6285a1aa9fdbe2e
BLAKE2b-256 checksum
How to use checksums
f9eb3d1b903f1d6818a811ec1545e2f745a8342dbcf76b6f32b5dc829237d51e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / aioevents-0.2-py3-none-any.whl

Download URL aioevents-0.2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10133951aff3668eed7436899aa801230338edc173a7657dc2e78e9d9170ad9b
BLAKE2b-256 checksum
How to use checksums
6d758a9c7db9578756f6c64e170e6abb35e3302fadb9c8f914a441d88ab3ef78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page