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.4.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.4.tar.gz.
File metadata
- Download URL: signalsemaphore-0.0.4.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 |
b697f79a47b750e6f837ac88985e0eb09795e5a2bc834a92d05a7b4494150cbd
|
|
| MD5 |
8b23dfbf37f7478bcffcdc6357d16543
|
|
| BLAKE2b-256 |
15c7530eecdc89d82fa41ac6cf392812cf661149f331571167e1abd473a11798
|
File details
Details for the file signalsemaphore-0.0.4-py3-none-any.whl.
File metadata
- Download URL: signalsemaphore-0.0.4-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 |
0e252c0f594a592c6c9829f0cb62bbebb429474c1e8e9f8780538ef040e7b859
|
|
| MD5 |
3918a6396c8e9e6cb166679848a85e40
|
|
| BLAKE2b-256 |
35124fc71686129976b3a5425afb8a45b1d2a87dd13a578d9f50eb4fc288f089
|