{"id":28366,"library":"tencentcloud-sdk-python-tic","title":"Tencent Cloud TIC SDK for Python","description":"Official Tencent Cloud SDK for the TIC (Tencent Infrastructure as Code) service. Version 3.0.1416 provides client classes for managing stacks and versions. Part of the tencentcloud-sdk-python family, updated frequently alongside the service API.","status":"active","version":"3.0.1416","language":"python","source_language":"en","source_url":"https://github.com/TencentCloud/tencentcloud-sdk-python","tags":["tencentcloud","tic","infrastructure-as-code","sdk","cloud"],"install":[{"cmd":"pip install tencentcloud-sdk-python-tic","lang":"bash","label":"Install TIC SDK"}],"dependencies":[{"reason":"Core dependency with credential and HTTP logic","package":"tencentcloud-sdk-python-common","optional":false}],"imports":[{"note":"Hyphenated package names cannot be imported directly; use correct module path","wrong":"import tencentcloud-sdk-python-tic","symbol":"TicClient","correct":"from tencentcloud.tic.v20201117 import tic_client"},{"note":"","wrong":null,"symbol":"models","correct":"from tencentcloud.tic.v20201117 import models"}],"quickstart":{"code":"from tencentcloud.common import credential\nfrom tencentcloud.tic.v20201117 import tic_client, models\n\ncred = credential.Credential(\n    os.environ.get('TENCENTCLOUD_SECRET_ID', ''),\n    os.environ.get('TENCENTCLOUD_SECRET_KEY', '')\n)\nclient = tic_client.TicClient(cred, \"ap-guangzhou\")\nreq = models.DescribeStacksRequest()\nresp = client.DescribeStacks(req)\nprint(resp)","lang":"python","description":"Quickstart: Describe TIC stacks using SDK client."},"warnings":[{"fix":"Check latest API version in official docs; import accordingly.","message":"Import path uses versioned subpackage (v20201117) – verify the API version matches your service region.","severity":"gotcha","affected_versions":"all"},{"fix":"Set TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY, or pass Credential object explicitly.","message":"Credentials must be set via environment variables or Credential object; missing credentials causes authentication failure with vague error.","severity":"gotcha","affected_versions":"all"},{"fix":"Update import path to use dots and remove underscores.","message":"Older SDK used 'tic_v20201117' style imports; now prefer 'tic.v20201117' subpackage without underscore.","severity":"deprecated","affected_versions":"<=3.0.1000"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Use correct module path: from tencentcloud.tic.v20201117 import tic_client","cause":"Trying to import the distribution name directly","error":"ModuleNotFoundError: No module named 'tencentcloud-sdk-python-tic'"},{"fix":"Install the correct version: pip install tencentcloud-sdk-python-tic==3.0.1416, then import from tencentcloud.tic.v20201117.","cause":"Wrong API version or missing subpackage","error":"AttributeError: module 'tencentcloud.tic' has no attribute 'v20201117'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}