Reproducible DHIS2 Python SDK for LMIC scenarios
Project description
pydhis2
A reproducible DHIS2 Python SDK designed for LMIC (Low and Middle Income Countries) scenarios.
Features
- Async HTTP client with automatic retry and rate limiting
- Data Quality Review (DQR) framework based on WHO standards
- Pandas integration for data analysis
- Pipeline system for automated workflows
- Comprehensive testing and benchmarking tools
Installation
pip install pydhis2
Quick Start
import asyncio
from pydhis2 import DHIS2Client
async def main():
client = DHIS2Client(
base_url="https://play.dhis2.org/dev",
auth=("admin", "district")
)
# Get user information
user_info = await client.get("me")
print(f"User: {user_info['name']}")
asyncio.run(main())
Documentation
For detailed documentation and examples, visit our GitHub repository.
License
Apache License 2.0
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
pydhis2-0.1.3.tar.gz
(101.7 kB
view details)
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
pydhis2-0.1.3-py3-none-any.whl
(107.9 kB
view details)
File details
Details for the file pydhis2-0.1.3.tar.gz.
File metadata
- Download URL: pydhis2-0.1.3.tar.gz
- Upload date:
- Size: 101.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cd68e6c86ada4d5b7424b81c6c3face42fdb2d766ec574d612002c041af0cde
|
|
| MD5 |
e5988b527263e4143e131f6273288363
|
|
| BLAKE2b-256 |
886ec9b1314a972a3928b1ff6ee5c6f6b3d76ce77a554f87a77fc1b91686c7e8
|
File details
Details for the file pydhis2-0.1.3-py3-none-any.whl.
File metadata
- Download URL: pydhis2-0.1.3-py3-none-any.whl
- Upload date:
- Size: 107.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbd7cfb7e55af0fcfde3ac5c2f10ae17c94d97abcea64d8b43c2b481c6388295
|
|
| MD5 |
37feb1864dc412651fc6ac22f48086c3
|
|
| BLAKE2b-256 |
14f0d862c851834d8d718c7b54c59830aff8d5cee8829c53189e764d1f2b66a9
|