Skip to main content

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.1.tar.gz (81.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydhis2-0.1.1-py3-none-any.whl (84.5 kB view details)

Uploaded Python 3

File details

Details for the file pydhis2-0.1.1.tar.gz.

File metadata

  • Download URL: pydhis2-0.1.1.tar.gz
  • Upload date:
  • Size: 81.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.1

File hashes

Hashes for pydhis2-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2ed4da408aa5c003b234c78f4382717a10bb67dd2e56bc9243886696a65048ca
MD5 b460ed72447c7b2377b4c84bb3fb4ad2
BLAKE2b-256 6eee396d5a8da39029384173e54cdcbf1905ad8d69ec70564c4b52d42c2372ef

See more details on using hashes here.

File details

Details for the file pydhis2-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pydhis2-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 84.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.1

File hashes

Hashes for pydhis2-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b28b87805e9b5ae3fdb7b69b582b59a134659fd7a26fcea0dc541b002bce6d7
MD5 00dfecafdac20fdf53b3fdc03a980772
BLAKE2b-256 ddf3e6e0797a9fe48c07b3c639ed7edf9a3afd0ebe8e464195b875feac8842a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page