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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rapidpro_api-0.2.1.tar.gz | 88.2 kB | Without provenance | Details for rapidpro_api-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rapidpro_api-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for rapidpro_api-0.2.1-py3-none-any.whl |
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
|
Security for rapidpro-api 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.