Skip to main content

A library that implements a kind of fan-out pattern, sending messages to very different endopoints. Extendable through the implementation of custom Channels.

Project description

A library that implements a kind of fan-out pattern, sending messages to very different endpoints. Extendable through the implementation of custom Channels.

Features

Introduced concepts are:

  • Channels
    A channel is a communication endpoint capable of sending some type of message exposing a “notify” method.
  • Groups
    A group is a construct bringing channels together under a common entrypoint showing up as a method call of the main Notifier object.
  • Notifier
    The main object bringing together channels as broadcast by default and exposing methods to register and unregister channels and add and remove groups.

The payload of the notification methods is by convention a dictionary with at least a “subject” and a “message” key with the appropriate values. It is designed like this so it can be very easy to implement much more complex structures like templates without needed any domain knowledge on all the channels.

For a more detailed explanation please see the USAGE.rst file.

History

0.1 (18-09-2017)

  • First release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for notifierlib, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size notifierlib-0.1.0-py2.7.egg (16.1 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size notifierlib-0.1.0.tar.gz (14.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page