Skip to main content

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

Project description

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

Project details


Download files

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

Source Distribution

django-messaging-subscription-0.8.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django-messaging-subscription-0.8.0.tar.gz.

File metadata

File hashes

Hashes for django-messaging-subscription-0.8.0.tar.gz
Algorithm Hash digest
SHA256 6f228a7c00b45387ffcdda5f5d606928c41adc33b05d77eac93abad7bd7b5a03
MD5 4bd010416df4437386f165026d31617f
BLAKE2b-256 c0e4e4a5a9905172deccf46015a5a25efe23d6bcc88429515dd35e1f72f639c3

See more details on using hashes here.

File details

Details for the file django_messaging_subscription-0.8.0-py2-none-any.whl.

File metadata

File hashes

Hashes for django_messaging_subscription-0.8.0-py2-none-any.whl
Algorithm Hash digest
SHA256 79835bf58cb1dbd054c3f84360cffd115e323eccf18a14ab93f854b6428d8d4c
MD5 90a19f5490d28cb7ca1b2b9c46e8165d
BLAKE2b-256 770ecd83ef2e1c8d03300e6d4feec10fb9d3933031b617870f33023b4901bcf5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page