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.

Installation

pip install rapidpro-python

Example

from temba_client.v2 import TembaClient
client = TembaClient('rapidpro.io', 'your-api-token')
for contact_batch in client.get_contacts(group='Reporters').iterfetches(retry_on_rate_exceed=True):
    for contact in contact_batch:
        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:

nose2 -C --coverage temba_client

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.22.1.tar.gz (21.6 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.22.1-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file rapidpro_python-2.22.1.tar.gz.

File metadata

  • Download URL: rapidpro_python-2.22.1.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for rapidpro_python-2.22.1.tar.gz
Algorithm Hash digest
SHA256 cae47203c598f05c5698308f3d685fefb878af28c00711a76d07ca1d224037ee
MD5 35e03f444499da658969358733486118
BLAKE2b-256 2931d7e1420abbde8d38eb841d6bfca16ee38c68769c93dcab41dfa20504d5a2

See more details on using hashes here.

File details

Details for the file rapidpro_python-2.22.1-py3-none-any.whl.

File metadata

  • Download URL: rapidpro_python-2.22.1-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for rapidpro_python-2.22.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd1d11be5081bb9d1115ae09f4c4f3aab152747879b4a7b4865b93e8484c5cd6
MD5 f4920d082cfb1a265481290b9acf1983
BLAKE2b-256 98d509f8d180715380218e0194b96a1b36b0044b3513ede7df12fc9d0d1645ea

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