Metadata-Version: 2.4
Name: healthcloud-tenantadmin
Version: 0.1.0
Summary: HealthCloud Tenant Admin SDK for Python — manage tenant admins and auth.
Project-URL: Repository, https://github.com/healthcloudservices/healthcloud-sdk
Author: Healthcheck Systems Inc
License-Expression: MIT
Keywords: api,health-cloud,healthcare,healthcloud,sdk,tenant-admin
Requires-Python: >=3.9
Requires-Dist: httpx>=0.27.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: respx>=0.21; extra == 'dev'
Requires-Dist: ruff>=0.6; extra == 'dev'
Description-Content-Type: text/markdown

# healthcloud-tenantadmin

Python SDK for the HealthCloud Tenant Admin API — Python counterpart to the
`@healthcloudai/hc-tenantadmin` npm package (`packages/npm-tenantadmin`).
Same routes, same behavior, same field names — kept in sync with
`HEALTH_CLOUD/healthcloud-services/hc/apis/tenantadmin/src/app.py`.

## Install

This public package is published to PyPI alongside the other HealthCloud SDKs:

```bash
pip install healthcloud-tenantadmin
```

Pin the version in applications and CI when reproducible installs are required:

```
healthcloud-tenantadmin==0.1.0
```

## Usage

```python
from healthcloud_tenantadmin import HCTenantAdminSDK

sdk = HCTenantAdminSDK(environment="dev", tenant_id="acme")
sdk.admin.login(email="admin@acme.com", password="...")

# List all Tenant Admins for the caller's own tenant (resolved from the
# verified JWT — tenant_id is never accepted as a parameter)
admins = sdk.admin.get_admins_for_tenant()
for a in admins:
    print(a.admin_id, a.email, a.status)
```

## Development

```bash
pip install -e ".[dev]"
pytest
```
