Skip to main content

django-messaging-subscription

A RESTful API for managing messaging content, subscriptions and sending via Vumi-go

$ virtualenv ve
$ source ve/bin/activate
(ve)$ pip install -r requirements.txt
(ve)$ pip install -r requirements-dev.txt
(ve)$ py.test --ds=testsettings subscription/tests.py --cov=subscription

Configuration

The following configuration (with dummy values replaced by real ones) needs to be added to settings.py to configure this app:

INSTALLED_APPS = [
    # Usual Django stuff plus
    # Third-party apps
    'south',
    'tastypie',
    'djcelery',
    # Us
    'subscription'
]

VUMI_GO_ACCOUNT_KEY = "replaceme"
VUMI_GO_CONVERSATION_KEY = "replaceme"
VUMI_GO_ACCOUNT_TOKEN = "replaceme"

CELERY_ACCEPT_CONTENT = ['pickle']
CELERY_TASK_SERIALIZER = 'pickle'
CELERY_RESULT_SERIALIZER = 'pickle'
CELERY_ALWAYS_EAGER = DEBUG
SUBSCRIPTION_SEND_INITIAL_DELAYED = 1800 # optional delay in seconds
SUBSCRIPTION_MULTIPART_BOUNDARY = "-------"
SUBSCRIPTION_NOOP_KEYWORD = "SKIPSEND"

Release Notes

0.8.0 - 2016-06-22 - Add support for not sending on certain days 0.7.1 - 2016-05-20 - Pin and bump of dependency versions 0.7.0 - 2015-05-06 - Added support for firing metrics on completion of sets 0.6.0 - 2015-01-13 - Added support for default schedules on message sets for auto transition

Release files for django-messaging-subscription 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-messaging-subscription 0.8.0
File Size Uploaded
django-messaging-subscription-0.8.0.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-messaging-subscription 0.8.0
File Interpreter ABI Platform
django_messaging_subscription-0.8.0-py2-none-any.whl Python 2 none any Details

Total release size: 39.3 kB

Release files / django-messaging-subscription-0.8.0.tar.gz

Download URL django-messaging-subscription-0.8.0.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6f228a7c00b45387ffcdda5f5d606928c41adc33b05d77eac93abad7bd7b5a03
BLAKE2b-256 checksum
How to use checksums
c0e4e4a5a9905172deccf46015a5a25efe23d6bcc88429515dd35e1f72f639c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_messaging_subscription-0.8.0-py2-none-any.whl

Download URL django_messaging_subscription-0.8.0-py2-none-any.whl
Size 23.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
79835bf58cb1dbd054c3f84360cffd115e323eccf18a14ab93f854b6428d8d4c
BLAKE2b-256 checksum
How to use checksums
770ecd83ef2e1c8d03300e6d4feec10fb9d3933031b617870f33023b4901bcf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page