Skip to main content

Python client library for the RapidPro

Project description

Build Status Coverage Status PyPI Release

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

Visit here for complete documentation.

Installation

pip install rapidpro-python

Example

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

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

Development

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.

Source Distribution

rapidpro-python-2.4.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rapidpro_python-2.4-py2.py3-none-any.whl (33.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file rapidpro-python-2.4.tar.gz.

File metadata

  • Download URL: rapidpro-python-2.4.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rapidpro-python-2.4.tar.gz
Algorithm Hash digest
SHA256 04b791b4b26054d14e5776e96de0da19e961d4721c2f2923c6b07d83d2840dd9
MD5 91f187d2e80998e9cfb7895d6f3b37b2
BLAKE2b-256 d008765bfb24c9307749311f9fa757b47b80230eaae554280a3d085b3aafdfbc

See more details on using hashes here.

File details

Details for the file rapidpro_python-2.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for rapidpro_python-2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 094e6665ae9cd1db09088c76c10acd5fd875cf567be6b4ba970d2e0812148f2d
MD5 50747e614e899ae17aaedc649891318d
BLAKE2b-256 ebfc9473d0ef43cd4d4b021e24d5f41719bed7c5eb0f8cb7d12449998ceed170

See more details on using hashes here.

Supported by

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