Skip to main content

Python client library for the RapidPro API

Project description

RapidPro Python Client

Build Status Coverage Status PyPI Release

Official Python client library for the RapidPro. Supports latest Python 3.

Visit here for complete documentation.


pip install rapidpro-python


from temba_client.v2 import TembaClient
client = TembaClient('', 'your-api-token')
for contact_batch in client.get_contacts(group='Reporters').iterfetches(retry_on_rate_exceed=True):
    for contact in contact_batch:

If you don't know your API token then visit the API Explorer


For discussions about future development, see the RapidPro Developers Group.

To run the tests:

nosetests --with-coverage --cover-erase --cover-package=temba_client --cover-html

Project details

Download files

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

Files for rapidpro-python, version 2.8.3
Filename, size File type Python version Upload date Hashes
Filename, size rapidpro_python-2.8.3-py3-none-any.whl (23.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size rapidpro-python-2.8.3.tar.gz (21.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page