Registry / http-networking / huaweicloudsdkcore

huaweicloudsdkcore

JSON →
library3.1.199pypypiunverified

Core library for HuaweiCloud SDK Python v3, providing HTTP client, authentication, and serialization. Current version 3.1.192, released bi-weekly. Requires Python >=3.6.

pip install huaweicloudsdkcore
INSTALL
IMPORT
SIG · HUAWEICLOUDSDKCORE
H
huaweicloudsdkcore
http-networkingpythonv3.1.199
Install
3.8s avg
Import
Disk
35MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
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
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 34.3MB
glibc
py 3.103.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')
Debug
Known issues
breakingIn v3.0.x, the import path was 'huaweicloudsdkcore.client' but changed to 'huaweicloudsdkcore.hc_client' in v3.1.0.
fix
Use 'from huaweicloudsdkcore.hc_client import HcClient' instead of 'from huaweicloudsdkcore.client import HcClient'.
affects: >=3.1.0
deprecatedThe 'huaweicloudsdkcore.http.region' module is deprecated. Use 'huaweicloudsdkcore.region.region' instead.
fix
Import from huaweicloudsdkcore.region.region instead.
affects: >=3.1.0
gotchaCredentials must be explicitly passed; using empty string for ak/sk will cause authentication failure.
fix
Always set HUAWEI_AK and HUAWEI_SK environment variables or pass valid credentials.
affects: all
Upgrade
Version history
3.1.199latest on PyPI · released Jun 11, 2026
Audit
Dependencies
requestsrequiredHTTP client
Agent activity
29 hits · last 30 days
node
24
OpenAI (training)
1
Resources
huaweicloudsdkcore — pip install huaweicloudsdkcore · libregistry