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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rapidpro_api-0.2.0.tar.gz | 88.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rapidpro_api-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 200.3 kB
Release files / rapidpro_api-0.2.0.tar.gz
| Download URL | rapidpro_api-0.2.0.tar.gz |
|---|---|
| Size | 88.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f5a1b80a5c95dabc9f456ff6c89444738036bfa94d64d156608cde066d0d78d
|
|
BLAKE2b-256 checksum How to use checksums |
97cce0d5ab74095c2a1966a8b6d9fd8de28bcdda0ffcc80efed4308d243d2031
|
| 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.0-py3-none-any.whl
| Download URL | rapidpro_api-0.2.0-py3-none-any.whl |
|---|---|
| Size | 112.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afe67683ba67c510e397e4e69aff97bf95b5b5e20b6a5de93bf59c46b453dc29
|
|
BLAKE2b-256 checksum How to use checksums |
6a0b6e40f400b02bf36e80edc3be5c84d98abea00b40637f764161933f8b1464
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|