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:
pip install healthcloud-tenantadmin
Pin the version in applications and CI when reproducible installs are required:
healthcloud-tenantadmin==0.1.0
Usage
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
pip install -e ".[dev]"
pytest
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file healthcloud_tenantadmin-0.1.0.tar.gz.
File metadata
- Download URL: healthcloud_tenantadmin-0.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c9fd6e7e0a3c611e27e4d9a482586861aaaee097f944886c7c5baa7cb9ca667
|
|
| MD5 |
0e70c9917078cf8da0449a3eb487d458
|
|
| BLAKE2b-256 |
dee357ae3fa27682827121b9f2227bd8ddcfbad0d5e9ba747b35e33ddf6e0ec9
|
File details
Details for the file healthcloud_tenantadmin-0.1.0-py3-none-any.whl.
File metadata
- Download URL: healthcloud_tenantadmin-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0faf9ce919a9a8e40c656055756034ac72db088bf532c3758669cbccef9bbd32
|
|
| MD5 |
2e08c13118140bc6ae2e06e53fe565c1
|
|
| BLAKE2b-256 |
bcefcec1dacac0ecbe2ba03b4118f1e36fa28f21399a836a8db9fc998fdc7a2c
|