Registry / aws / tencentcloud-sdk-python-iotexplorer

tencentcloud-sdk-python-iotexplorer

JSON →
library3.1.89pypypi✓ verified 83d ago

Official Tencent Cloud SDK for the IoT Explorer service (explorer module). Current version 3.1.89, released 2025-05-09. Follows monthly release cadence synced with parent tencentcloud-sdk-python. Provides client classes for device management, data reporting, rule engine, and OTA.

pip install tencentcloud-sdk-python-iotexplorer
INSTALL
IMPORT
SIG · TENCENTCLOUD-SDK-P
T
tencentcloud-sdk-python-iotexplorer
awspythonv3.1.89
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.

IotexplorerClient
from tencentcloud.iotexplorer.v20190423 import iotexplorer_client
from tencentcloud.iotexplorer import IotexplorerClient
SDK uses versioned submodules (v20190423). Omitting version causes import error.
models
from tencentcloud.iotexplorer.v20190423 import models
from tencentcloud.iotexplorer import models
Models must also use the versioned import path.

Creates a client, authenticates via env vars, and describes a device.

import os from tencentcloud.common import credential from tencentcloud.iotexplorer.v20190423 import iotexplorer_client, models # Authentication from environment variables cred = credential.Credential( os.environ.get('TENCENTCLOUD_SECRET_ID', ''), os.environ.get('TENCENTCLOUD_SECRET_KEY', '') ) client = iotexplorer_client.IotexplorerClient(cred, 'ap-guangzhou') # Example: describe a device req = models.DescribeDeviceRequest() req.ProductId = 'YOUR_PRODUCT_ID' req.DeviceName = 'YOUR_DEVICE_NAME' try: resp = client.DescribeDevice(req) print(resp.to_json_string()) except Exception as e: print('Error:', e)
Debug
Known issues
breakingSDK v3 removed synchronous client methods; all API calls are now async. Use await or set run_async=False (deprecated).
fix
Use async/await pattern or wrap in asyncio.run(). Example: resp = await client.DescribeDevice(req)
affects: >=3.0.0
gotchaVersioned import paths (v20190423) are strictly required. Omitting the version causes ModuleNotFoundError.
fix
Always use: from tencentcloud.iotexplorer.v20190423 import ...
affects: all
gotchaRegion endpoint must be specified; SDK does not default to global endpoint. Use 'ap-guangzhou' (Guangzhou) or your project region.
fix
Pass region string to client constructor, e.g., IotexplorerClient(cred, 'ap-guangzhou')
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'tencentcloud'
Missing common package or incorrect install order.
fix
Run: pip install tencentcloud-sdk-python-iotexplorer (installs common automatically). If using monorepo, install tencentcloud-sdk-python-common explicitly.
tencentcloud.common.exception.TencentCloudSDKException: UnsupportedRegion
Region not supported by IoT Explorer service.
fix
Use one of: ap-guangzhou, ap-shanghai, ap-beijing, ap-singapore. Check official docs for full list.
AttributeError: 'IotexplorerClient' object has no attribute 'DescribeDevice'
Wrong import path or old SDK version that uses different method names.
fix
Ensure you imported from tencentcloud.iotexplorer.v20190423 and version is >=3.0.0.
Upgrade
Version history
3.1.89latest on PyPI · released Apr 29, 2026
Audit
Dependencies
tencentcloud-sdk-python-commonrequiredShared authentication, HTTP transport, and credential handling
Agent activity
27 hits · last 30 days
node
24
Amazon
1
Resources