Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A RapidPro backend for RapidSMS.

Project description

This is the RapidPro backend for RapidSMS. It has been created for UNICEF to facilitate transition of legacy applications designed for RapidSMS and the Django web framework to the new RapidPro platform. This component uses the official rapidpro-python client library to communicate with RapidPro.


  • Incoming (MO) SMS support
  • Outgoing (MT) SMS support
  • New configuration options
    • RapidPro API gateway URL
    • RapidPro API token


  • Python 2.7+ or Python 3.3+
  • Django >=1.7,<=1.9
  • RapidSMS 0.18.0+
  • rapidpro-python >=2.1.6


The rapidpro-for-rapidsms backend supports Python >= 2.7 and Django >= 1.7. All required Python packages should be intalled automatically as long as you follow the official installation procedure described below.

To install from PyPi:

$ pip install rapidpro-for-rapidsms


Edit your Django project settings (e.g. to include the following:

  • add rapidpro4rapidsms to your INSTALLED_APPS, e.g.:

        # your apps
  • configure the backend to use your RapidPro service and API token, e.g.:

        # some other backends (optional)
        "rapidpro-backend": {
            "ENGINE": "rapidpro4rapidsms.RapidProBackend",
            # The following URL and token should be set to match your RapidPro
            "rapidpro_api_gateway_url": "your rapidpro API gateway URL, e.g. "
            "rapidpro_api_token": "YOUR-RAPIDPRO-API-TOKEN"
  • configure your Django project to include rapidpro4rapidsms.urls, e.g.:

    urlpatterns = patterns(
        # your Django project URLs
        # ...
        # rapidpro4rapidsms URLs
        url(r'backends/', include('rapidpro4rapidsms.urls')),


The rapidpro-for-rapidsms backend is released under the BSD License. See the LICENSE.TXT file for more details.


To install:

$ pip install -e .[development]

To run tests:

$ python test


If you think you’ve found a bug or are interested in contributing to this project check out rapidpro-for-rapidsms on Github.

Development by Tomasz J. Kotarba of SYSTEM7.

Release history Release notifications

This version
History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
rapidpro_for_rapidsms-1.0.3-py2.py3-none-any.whl (13.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Mar 11, 2017
rapidpro-for-rapidsms-1.0.3.tar.gz (7.5 kB) Copy SHA256 hash SHA256 Source None Mar 11, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page