A library for extracting and transforming data from RapidPro
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rapidpro_api-0.1.1.tar.gz.
File metadata
- Download URL: rapidpro_api-0.1.1.tar.gz
- Upload date:
- Size: 81.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cec3bf683c2c3dee6cc0fecac28bd3b3289c5be69eaecc7843b8a4c32394529
|
|
| MD5 |
9e48fb4b953c89e029d39178975b9deb
|
|
| BLAKE2b-256 |
ea8d1d9d69ef99a7e1b486ff2a4287585a9686f4583f5524e71f6c8ab57b3752
|
File details
Details for the file rapidpro_api-0.1.1-py3-none-any.whl.
File metadata
- Download URL: rapidpro_api-0.1.1-py3-none-any.whl
- Upload date:
- Size: 103.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
321ba33fed9bee04fe3075f219ff6b2c906541c4e657e3eb3d53bee3a528afb5
|
|
| MD5 |
9933ec0ab93e0cf3617db831b3c57287
|
|
| BLAKE2b-256 |
93694fb52ca091387fbe8fc7ad37c9ec299f51f05492906c766416f8cf1a08ea
|