Skip to main content

CareHQ Python API client

CareHQ API Client for Python.

Installation

pip install carehq

Requirements

  • Python 3.7+

Usage

import carehq

api_client = carehq.APIClient(
    account_id='MY_ACCOUNT_ID',
    api_key='MY_API_KEY',
    api_secret='MY_API_SECRET'
)

users = api_client(
    'get',
    'users',
    {
        'attributes': [
            'first_name',
            'last_name'
        ],
        'filters-q': 'ant'
    }
)

Metadata

Release files for carehq 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for carehq 0.1.3
File Size Uploaded Provenance Actions
carehq-0.1.3.tar.gz 6.3 kB Without provenance Details for carehq-0.1.3.tar.gz

Release files / carehq-0.1.3.tar.gz

Download URL carehq-0.1.3.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a11f57218650dffc94ac5194edb73f139a7a789eeec2f64f475f539a5cc7b2ba
BLAKE2b-256 checksum
How to use checksums
f13864a0ed3298cb024919be0f66e22c02b83d68f6b581bb948603d009fb159e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for carehq 0.1.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page