Registry / aws / tencentcloud-sdk-python-youmall

tencentcloud-sdk-python-youmall

JSON →
library3.0.1416pypypi✓ verified 84d ago

The Tencent Cloud Youmall SDK enables developers to manage and interact with Tencent Cloud's Youmall (Tencent Youmall) services. Version 3.0.1416 is part of the v3 SDK which offers consistent client interfaces, but it has no active releases since 2021 and should be considered maintenance-only. The preferred way to use Tencent Cloud services is via the unified tencentcloud-sdk-python with the corresponding product module.

pip install tencentcloud-sdk-python-youmall
INSTALL
IMPORT
SIG · TENCENTCLOUD-SDK-P
T
tencentcloud-sdk-python-youmall
awspythonv3.0.1416
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

youmall_client
from tencentcloud.youmall.v20180228 import youmall_client
from tencentcloud.youmall import client
The v20180228 API version is required for the correct client module path.
models
from tencentcloud.youmall.v20180228 import models
from tencentcloud.youmall import models
Models module is also under the versioned path.

Initialize the Youmall client and call a sample API. Replace CompanyId with your actual value.

import os from tencentcloud.common import credential from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException from tencentcloud.youmall.v20180228 import youmall_client, models try: cred = credential.Credential( os.environ.get('TENCENTCLOUD_SECRET_ID', ''), os.environ.get('TENCENTCLOUD_SECRET_KEY', '') ) client = youmall_client.YoumallClient(cred, 'ap-guangzhou') req = models.DescribePersonInfoRequest() req.CompanyId = 'your_company_id' resp = client.DescribePersonInfo(req) print(resp.to_json_string()) except TencentCloudSDKException as err: print(err)
Debug
Known issues
deprecatedThis SDK is no longer actively maintained. No new features or API updates have been released since 2021. Consider migrating to the unified tencentcloud-sdk-python (if a Youmall module exists) or using the HTTP API directly.
fix
Check the Tencent Cloud documentation for the latest service availability and use the recommended SDK.
affects: >=3.0.0
breakingThe v3 SDK changed import paths to include the API version (e.g., v20180228). Older code using flat imports will break.
fix
Update imports to include the versioned path, e.g., from tencentcloud.youmall.v20180228 import youmall_client
affects: >=3.0.0
gotchaThe SDK requires an active Tencent Cloud account and the Youmall service to be enabled. Without proper service activation, API calls will fail with auth or not-enabled errors.
fix
Ensure Youmall service is enabled in the Tencent Cloud console and that your API keys have the necessary permissions.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'tencentcloud.youmall'
The SDK package is not installed or the import path is incorrect.
fix
Install the package: pip install tencentcloud-sdk-python-youmall. Also ensure you have the common module: pip install tencentcloud-sdk-python-common. Import from the versioned path: from tencentcloud.youmall.v20180228 import youmall_client
tencentcloud.common.exception.tencent_cloud_sdk_exception.TencentCloudSDKException: [TencentCloudSDKException] code:AuthFailure.SecretIdNotFound - The SecretId is not found, please check your SecretId
The provided SecretId/SecretKey are invalid or not set as environment variables.
fix
Verify your TencentCloud API credentials and set TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY environment variables. Alternatively, pass them directly to the Credential constructor.
tencentcloud.common.exception.tencent_cloud_sdk_exception.TencentCloudSDKException: code:UnsupportedRegion - the region is not supported
The region passed to the client constructor is not supported by Youmall service.
fix
Use a valid region such as 'ap-guangzhou' or 'ap-shenzhen-fsi'. Check the Tencent Cloud region documentation for supported regions.
AttributeError: module 'tencentcloud.youmall.v20180228' has no attribute 'models'
The models module is not imported correctly; likely the import path is missing the 'v20180228' part.
fix
Use: from tencentcloud.youmall.v20180228 import models
Upgrade
Version history
3.0.1416latest on PyPI · released Jul 5, 2025
Audit
Dependencies
tencentcloud-sdk-python-commonrequiredRequired for request signing and base client
Agent activity
23 hits · last 30 days
node
20
Amazon
1
Resources
tencentcloud-sdk-python-youmall — pip install tencentcloud-sdk-python-youmall · libregistry