{"id":28357,"library":"tencentcloud-sdk-python-sslpod","title":"Tencent Cloud SSL Pod SDK for Python","description":"Official Tencent Cloud SDK for the SSL Pod service, providing Python bindings to manage SSL certificate monitoring, validation, and reporting. Current version 3.0.1459, frequent releases tracking the cloud API.","status":"active","version":"3.0.1459","language":"python","source_language":"en","source_url":"https://github.com/TencentCloud/tencentcloud-sdk-python","tags":["tencentcloud","sslpod","sdk","cloud"],"install":[{"cmd":"pip install tencentcloud-sdk-python-sslpod","lang":"bash","label":"Install directly from PyPI"}],"dependencies":[{"reason":"Required for shared authentication and client base classes","package":"tencentcloud-sdk-python-common","optional":false}],"imports":[{"note":"The API version is part of the module path (v20190605).","wrong":"from tencentcloud.sslpod import SslpodClient","symbol":"SslpodClient","correct":"from tencentcloud.sslpod.v20190605 import sslpod_client"}],"quickstart":{"code":"from tencentcloud.common import credential\nfrom tencentcloud.sslpod.v20190605 import sslpod_client\nfrom tencentcloud.sslpod.v20190605 import models as sslpod_models\n\ntry:\n    cred = credential.Credential(\n        secret_id=os.environ.get('TENCENTCLOUD_SECRET_ID', ''),\n        secret_key=os.environ.get('TENCENTCLOUD_SECRET_KEY', '')\n    )\n    client = sslpod_client.SslpodClient(cred, \"ap-guangzhou\")\n    req = sslpod_models.DescribeDashboardRequest()\n    resp = client.DescribeDashboard(req)\n    print(resp.to_json_string())\nexcept Exception as e:\n    print(\"Error:\", e)","lang":"python","description":"Authenticate and call DescribeDashboard as a quick health check."},"warnings":[{"fix":"Update imports to include the version segment, e.g., from tencentcloud.sslpod.v20190605 import ...","message":"Module paths changed after v3.0.100: version number now appears in the import path (e.g., v20190605). Old imports without version number will break.","severity":"breaking","affected_versions":">=3.0.100"},{"fix":"Always pass the region parameter to SslpodClient(cred, region='ap-guangzhou').","message":"The SDK auto-detects region from environment variable TENCENTCLOUD_REGION, but if not set and not passed to the client constructor, it defaults to ap-guangzhou. Many users forget to set region and get unexpected results.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace client = SslpodClient(secret_id, secret_key, region) with client = SslpodClient(credential.Credential(secret_id, secret_key), region).","message":"The old credential pattern using SecretId/SecretKey strings directly in client init is deprecated. Use the Credential class from tencentcloud.common instead.","severity":"deprecated","affected_versions":">=3.0.100"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Install the correct package: pip install tencentcloud-sdk-python-sslpod","cause":"The SDK is split into per-service packages; the base package 'tencentcloud-sdk-python' does not include sslpod.","error":"ModuleNotFoundError: No module named 'tencentcloud.sslpod'"},{"fix":"Use: from tencentcloud.sslpod.v20190605 import sslpod_client","cause":"The import path includes the API version; SslpodClient is located under the versioned module.","error":"ImportError: cannot import name 'SslpodClient' from 'tencentcloud.sslpod'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}