Send Jabber notifications from Django
Usage
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:
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
Metadata
Release files for django-jabber 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-jabber-1.0.1.tar.gz | 2.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_jabber-1.0.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 7.2 kB
Release files / django-jabber-1.0.1.tar.gz
| Download URL | django-jabber-1.0.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
058497881bca72209afc4220651585ae16236a53a67ec0943fe239b29240186e
|
|
BLAKE2b-256 checksum How to use checksums |
ebce1b811804ca967f9534ab305bc646b226b00cc8a6fdd161042d8444ac4c3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_jabber-1.0.1-py2-none-any.whl
| Download URL | django_jabber-1.0.1-py2-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
6ff08802f38ae4a4a03bad7021ecdc9a5d57e37c8bbb62e0e621141c8a089aca
|
|
BLAKE2b-256 checksum How to use checksums |
50cda7d6b7c3eb4b28c55818d32c02868488906885f846b20cc41c6d2a4c0c59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-jabber 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.