.. image:: https://secure.travis-ci.org/Numergy/signalslot.png?branch=master
:target: http://travis-ci.org/Numergy/signalslot
.. image:: https://img.shields.io/pypi/dm/signalslot.svg
:target: https://crate.io/packages/signalslot
.. image:: https://img.shields.io/pypi/v/signalslot.svg
:target: https://crate.io/packages/signalslot
.. image:: https://coveralls.io/repos/Numergy/signalslot/badge.png
:target: https://coveralls.io/r/Numergy/signalslot
.. image:: https://readthedocs.org/projects/signalslot/badge/?version=latest
:target: https://signalslot.readthedocs.org/en/latest
This package provides a simple and stupid implementation of the Signal/Slot pattern <http://en.wikipedia.org/wiki/Signals_and_slots>
_ for Python.
Wikipedia has a nice introduction:
Signals and slots is a language construct introduced in Qt for
communication between objects[1] which makes it easy to implement the
Observer pattern while avoiding boilerplate code.
Rationale against Signal/Slot is detailed in the "Pattern" section of the documentation.
Install latest stable version::
pip install signalslot
Install development version::
pip install -e git+https://github.com/Numergy/signalslot
Upgrade to the last stable version::
pip install -U signalslot
::
pip uninstall signalslot