This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Generic notification system for Django, with multiple input types and output backends

Project Description

A Django app that can handle multiple ways of showing different notification types. It’s all based on multiple input types and output backends.

Notifications

A notification could be anything:

  • you have received a private message on a forum
  • there is a new comment on your blog
  • someone liked your profile or article
  • a new post was created in a thread you follow
  • someone answered your poll
  • you have a new friend request or follower

As far as this project is concerned, a notification is nothing more but an (optional) subject, text body, and a list of receivers.

Backends

There are multiple output backends. Some possible examples are:

  • email
  • sms message
  • iPhone push notification
  • notification center

At this moment only two email backends are provided.

Notification types

A notification type is the glue between a message (input) and one or more possible backends (output). For example, you might want to send all account related messages to email only, but notifications about new private messages could go to email, iPhone push messages, Django’s own messages app, you name it.

Each notification type can specify its allowed backend(s), and each user can specify his preferred output backend(s). Each notification will then figure out what backend to use based on this information.

Settings

Some backends will need extra information from the user, for example a phone number or email address.

Users can also select which notification types they’re interested in, and what possible backends they would like to receive the message on.

Queue

Most notification backends can’t process in real time, instead adding them to a queue. At this moment, this is based on a simple database model and a manage.py script which can be used from your cron.

In the future celery tasks should be added too.

Installation

See INSTALL.rst

Usage

See USAGE.rst for examples

Release History

Release History

This version
History Node

0.2.2

History Node

0.2.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-generic-notifications-0.2.2.tar.gz (6.6 kB) Copy SHA256 Checksum SHA256 Source Feb 5, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting