Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(0)  |  Derive(0)  |  Import(9)
django-notifier is an app to manage notification preferences and permissions
per user and per group.

To send a notification:

from notifier.shortcuts import create_notification, send_notification
create_notification('test-notif')
send_notification('test-notif', [user1, user2, ..])

src/d/j/django-notifier-0.7/notifier/management/__init__.py   django-notifier(Download)
 
# User
import notifier
from notifier.models import Backend
from notifier import settings as notifier_settings

src/d/j/django-notifier-HEAD/notifier/management/__init__.py   django-notifier(Download)
 
# User
import notifier
from notifier.models import Backend
from notifier import settings as notifier_settings

src/p/i/pinyin-toolkit-HEAD/pinyin/anki/main.py   pinyin-toolkit(Download)
import hooks
import mediamanager
import notifier
import utils
 

src/s/s/sshproxy-HEAD/lib/email_notifier/__init__.py   sshproxy(Download)
def __setup__():
    from sshproxy import menu
    from sshproxy.config import get_config
    from sshproxy.util import istrue
    import notifier

src/k/a/kaa-base-0.99.2dev-384-2b73caca/src/nf_wrapper.py   kaa-base(Download)
            # pynotifier is not allowed
            raise ImportError()
        import notifier
        if notifier.loop:
            raise RuntimeError('pynotifier already initialized')

src/d/j/django-notifier-HEAD/docs/conf.py   django-notifier(Download)
sys.path.insert(0, os.path.abspath(os.path.split(os.path.abspath(__file__))[0] + '/../demo'))
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "demo.settings")
import notifier
 
# -- General configuration -----------------------------------------------------

src/f/e/feedIO-HEAD/feedio/ui.py   feedIO(Download)
import prioritizer
import purify
import notifier
import twitterPlugin
import rilPlugin

src/k/a/kaa-base-HEAD/src/nf_wrapper.py   kaa-base(Download)
            # pynotifier is not allowed
            raise ImportError()
        import notifier
        if notifier.loop:
            raise RuntimeError('pynotifier already initialized')