A simple event signaling system
Project description
SignalSemaphore
A lightweight Python event signaling system.
Installation
pip install signalsemaphore
Usage
from SignalSemaphore import Semaphore
semaphore = Semaphore()
def handler(data):
print(f"Received: {data}")
semaphore.connect("event", handler)
semaphore.emit("event", "Hello")
semaphore.disconnect("event", handler)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
signalsemaphore-0.0.5.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file signalsemaphore-0.0.5.tar.gz.
File metadata
- Download URL: signalsemaphore-0.0.5.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2a254a2f5e2794d0aca2573b0e31e37e9a740ae2c53c320a45b99bb57cc7fba
|
|
| MD5 |
db32703e2c283992dbb3c6c65f7c5258
|
|
| BLAKE2b-256 |
9ee95a96fce9668436c0287e1d8bffe0408310aad36e4852695aee05ea38dba0
|
File details
Details for the file signalsemaphore-0.0.5-py3-none-any.whl.
File metadata
- Download URL: signalsemaphore-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2225a9009e79fed1e739ea48244ccdd9e4b080adc71c14d82712ee51c3c40c57
|
|
| MD5 |
ff644e9859c5fd8b216bc903556f3c25
|
|
| BLAKE2b-256 |
ff94fbd760d67454a9abdabfc5bda8a83a5bdcbd0a97fa6a1c1de9f6d695e74f
|