Signal dispatcher
Project description
sigdis
Signal dispatcher
Table of Contents
Installation
pip install sigdis
License
sigdis
is distributed under the terms of the MIT license.
Usage
from sigdis import Signal
app_started = Signal()
@app_started.connect
def do_some_actions(data, **_):
print("DATA:", data)
app_started.send(data="test")
Check out tests
for more.
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
sigdis-1.0.1.tar.gz
(5.2 kB
view hashes)
Built Distribution
sigdis-1.0.1-py3-none-any.whl
(3.5 kB
view hashes)