Skip to main content
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!

Send Jabber notifications from Django

Project Description
django-jabber
=============

Send Jabber notifications from Django

.. image:: https://travis-ci.org/alexmorozov/django-jabber.svg?branch=master
:target: https://travis-ci.org/alexmorozov/django-jabber

Usage
-----

.. code-block:: python

from django_jabber import send_message

recipients = ['user1', 'user2', ] # without @domain.com part
send_message(u'Hello there', recipients)

# You can also pass this job to your Celery instance
send_message.delay(u'Async message', recipients)


Installation
------------

Install the package via Pypi: `pip install django-jabber`

Add some lines to your settings.py:

.. code-block:: python

INSTALLED_APPS = (
...
'django_jabber',
...
)

JABBER_HOST = 'jabber.domain.com'
JABBER_USER = 'robot@domain.com'
JABBER_PASSWORD = 'someStr0ngOne!1'
JABBER_USE_TLS = True
JABBER_USE_SSL = False
JABBER_DRY_RUN = False # Useful for testing

Requirements
^^^^^^^^^^^^

- sleekxmpp
- celery
- django

Compatibility
-------------

We use this package on Python 2.7 and Django 1.7+.

License
-------

GPLv3

Authors
-------

`django-jabber` was written by `Alex Morozov <inductor2000@mail.ru>`_.
Release History

Release History

This version
History Node

1.0.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_jabber-1.0.1-py2-none-any.whl (4.5 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Apr 26, 2016
django-jabber-1.0.1.tar.gz (2.6 kB) Copy SHA256 Checksum SHA256 Source Apr 26, 2016

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