Skip to main content

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

healthcloud_tenantadmin-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

healthcloud_tenantadmin-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

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

Hashes for healthcloud_tenantadmin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0c9fd6e7e0a3c611e27e4d9a482586861aaaee097f944886c7c5baa7cb9ca667
MD5 0e70c9917078cf8da0449a3eb487d458
BLAKE2b-256 dee357ae3fa27682827121b9f2227bd8ddcfbad0d5e9ba747b35e33ddf6e0ec9

See more details on using hashes here.

File details

Details for the file healthcloud_tenantadmin-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for healthcloud_tenantadmin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0faf9ce919a9a8e40c656055756034ac72db088bf532c3758669cbccef9bbd32
MD5 2e08c13118140bc6ae2e06e53fe565c1
BLAKE2b-256 bcefcec1dacac0ecbe2ba03b4118f1e36fa28f21399a836a8db9fc998fdc7a2c

See more details on using hashes here.

Release history Release notifications | RSS feed

0.10.0

2 files

0.8.1

2 files

0.8.0

2 files

0.5.0

2 files

0.3.0

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

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