File: README.rst

package info (click to toggle)
python-morris 1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 260 kB
  • sloc: python: 378; makefile: 149; sh: 4
file content (26 lines) | stat: -rw-r--r-- 1,060 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
=========================================================
Morris - an announcement (signal/event) system for Python
=========================================================

.. image:: https://badge.fury.io/py/morris.png
    :target: http://badge.fury.io/py/morris

.. image:: https://travis-ci.org/zyga/morris.png?branch=master
        :target: https://travis-ci.org/zyga/morris

.. image:: https://pypip.in/d/morris/badge.png
        :target: https://pypi.python.org/pypi/morris

Features
========

* Free software: LGPLv3 license
* Documentation: https://morris.readthedocs.org.
* Create signals with a simple decorator :class:`morris.signal`
* Send signals by calling the decorated method or function
* Connect to and disconnect from signals with :meth:`morris.signal.connect()`
  and :meth:`morris.signal.disconnect()`.
* Test your code with :meth:`morris.SignalTestCase.watchSignal()`,
  :meth:`morris.SignalTestCase.assertSignalFired()`,
  :meth:`morris.SignalTestCase.assertSignalNotFired()`
  and :meth:`morris.SignalTestCase.assertSignalOrdering()`