套件:python-morris(1.2-1)
announcement (signal/event) system for Python 2
Morris is a simple Python library for creating notification mechanism similar to Qt signals or C# events. Application developers can create signals with a simple decorator (@signal), send signals by calling the decorated method or function, connect to and disconnect from signals with signal.connect() and signal.disconnect().
Morris comes with support for writing high-level unit tests using the SignalTestCase.{watchSignal,assertSignalFired,assertSignalNotFired}() methods. Appropriate ordering constraints on multiple signals can be tested using the SignalTestCase.assertSignalOrdering() method.
This package contains version of the library for Python 2
其他與 python-morris 有關的套件
|
|
|
|
-
- dep: python
- interactive high-level object-oriented language (Python2 version)
-
- enh: python-sphinx
- documentation generator for Python projects (implemented in Python 2)