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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rapidpro_python-2.22.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","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.0.tar.gz
Algorithm Hash digest
SHA256 70ae7a8bdc7cd27d665123b61f713e66ddc76394357223faac1cf436b2d66313
MD5 74e96510019bfa2edae526870b1e9e47
BLAKE2b-256 6c162b1620ba7dabc78240dc2abc8542dbfee4b009196ba28fb203d4fd4c718b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rapidpro_python-2.22.0-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a30281080a1270c28a7ac5539cc74d3d69eb9928dfc8f45cd586d8fdd365622a
MD5 4ecc0148c6b26056e45dc966a6276b8f
BLAKE2b-256 0f89c465433d3d7216095ff11438a5053b8b100092c9fa634ff5d09cbe3aee4c

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