Install & Compatibility
Where this runs
tested against v3.1.199 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 34.3MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.8s · import 0.000s · 37MB
35MB installed
● package 35MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
HcClient
✓ from huaweicloudsdkcore import HcClient
✗ from huaweicloudsdkcore import HcClient
Initialize a basic client with credentials from environment variables.
from huaweicloudsdkcore.auth.credentials import BasicCredentials
from huaweicloudsdkcore.hc_client import HcClient
from huaweicloudsdkcore.http.http_config import HttpConfig
ak = os.environ.get('HUAWEI_AK', '')
sk = os.environ.get('HUAWEI_SK', '')
credentials = BasicCredentials(ak, sk)
config = HttpConfig.get_default_config()
client = HcClient.new_builder(config).credentials(credentials).endpoint('https://iam.myhuaweicloud.com').build()
print('Client created successfully')
Upgrade
Version history
3.1.199latest on PyPI · released Jun 11, 2026
Audit
Dependencies
requestsrequiredHTTP client