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.2.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.2-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rapidpro_python-2.22.2.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","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.2.tar.gz
Algorithm Hash digest
SHA256 3cbd6ff6fbd609f1084019b916769044b7b71d43537c191ce5420f22aa09fc9f
MD5 c7ac0f07992b38a35a2426ed4ff8515d
BLAKE2b-256 e52ca4687cde52d0a4974def780bc98e3203ce8b77182ba4fc29f191ca9a4690

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rapidpro_python-2.22.2-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b41da5e5151b189a2c2ee193317c12f91fd7c87d45d5cad1dfc452a2fafb8232
MD5 abad6eff48a03eac66a7e3c39e4df202
BLAKE2b-256 37298cbf47178dfa0e89f3edde6cfdae0f983862ed932b300645d0861f046c4a

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