Skip to main content

Morris is an announcement (signal/event) system for Python

Project description

=========================================================
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()`





History
=======

1.2 (2015-02-030
----------------
* Merge backwards compatibility features for Plainbox migration.
(signal_name, SignalInterceptorMixIn)
* Fix a bug in signal.__repr__()
* Document internals better

1.1 (2015-02-02)
----------------

* Merge ``Signal`` and ``signal`` into one class.
* Make ``Signal`` an alias of ``signal``.
* Make ``Signal.define`` an alias of ``signal``.
* Fix signal support on standalone functions
(https://github.com/zyga/morris/issues/1)
* Add more documentation and tests
* Enable travis-ci.org integration

1.0 (2014-09-21)
----------------

* First release on PyPI.


2012-2014
---------

* Released on PyPI as a part of plainbox as ``plainbox.impl.signal``

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

morris-1.2.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

morris-1.2-py2.py3-none-any.whl (15.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file morris-1.2.tar.gz.

File metadata

  • Download URL: morris-1.2.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for morris-1.2.tar.gz
Algorithm Hash digest
SHA256 b3bdc506603c2555d55f59d6bfb1bc9adbac3fa2ddc6324ac9fb0d03add9d6e2
MD5 6704e34929206c2ea8fd5da36151a69a
BLAKE2b-256 142105db91b9b36a5deaecfa6e66df9f273022f98d8b7532ea010f62418e5b0d

See more details on using hashes here.

File details

Details for the file morris-1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for morris-1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d6332334f87288b8c6b0185345053195ef1dd6d1d6e8051ef2e96070682d04c4
MD5 a99af199eb201bc47514211d74f4c2d2
BLAKE2b-256 d638b0dcde4ad1ded9ebf3bd6823ccc45e873c791271e411c04c2f7774096448

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page