The SmartSignal lib is an event driven system similar to QT.
Project description
Smart Signals
Install
You can install this package with pip from PyPi.
pip install SmartSignals
Usage
from smart_signals import SmartSignal, SmartSignalSlot
class Test:
@SmartSignalSlot(str)
def slot(self, message: str):
print(message)
pass
test = Test()
signal = SmartSignal(str)
signal.connect(test.slot)
signal.emit("message")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SmartSignals-0.0.1.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for SmartSignals-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b5b916b295f98cd77725e8bfdb4dfef200cba743a830af55926b95e9877cace |
|
MD5 | 9a21f9eb146317643d2a7999e6c0e0b0 |
|
BLAKE2b-256 | f75dbc4b9247a8f44e3b1ebcd768cd7d94a26614042b573c25fe65e1fd52bed5 |