Skip to main content

RapidPro API Data analysis library

This is a Python library for interacting with the RapidPro API. This library focuses in extracting data from one or multiple RapidPro workspaces and saving it in ready to analyze datasets from RapidPro workspaces.

It is thought to be run in data pipelines.

Installation

pip install rapidpro-api

Development

First clone the repository:

git clone https://github.com/unicef/magasin-rapidpro-paquet 

Then create a virtual environment and install the dependencies:

cd rapidpro-api
python3 -m venv venv
source venv/bin/activate
pip install -e .[dev]

Running the tests

pytest

To run the tests with coverage, you can use the following command:

pytest --cov=rapidpro_api

To run the tests with coverage and see which lines are missing, you can use the following command:

pytest --cov=rapidpro_api --cov-report=term-missing

License

Apache2 license. See LICENSE for details.

Metadata

Release files for rapidpro-api 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rapidpro-api 0.2.1
File Size Uploaded
rapidpro_api-0.2.1.tar.gz 88.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rapidpro-api 0.2.1
File Interpreter ABI Platform
rapidpro_api-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 200.3 kB

Release files / rapidpro_api-0.2.1.tar.gz

Download URL rapidpro_api-0.2.1.tar.gz
Size 88.2 kB
Tags Source
SHA-256 checksum
How to use checksums
131bbb8e9ca72ca69f2289c5f89ef6509d2d8c684c7a9808b1a894b71d739910
BLAKE2b-256 checksum
How to use checksums
b598e1f32d920971a5effe39a9932b18726eb12285763835a9e5df27926003b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / rapidpro_api-0.2.1-py3-none-any.whl

Download URL rapidpro_api-0.2.1-py3-none-any.whl
Size 112.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ba8354b459930bccf657073524f3dda03b7dd135606f8abfcb9d53e5780f831
BLAKE2b-256 checksum
How to use checksums
261017e393b9d7defe3788bbdeea72d5dafc37da97ad60a748c94ccd191e7b49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page