{"id":27770,"library":"g42cloudsdkcbr","title":"G42 Cloud SDK CBR","description":"G42 Cloud SDK for Cloud Backup and Recovery (CBR) service. Version 0.0.10b0 (beta), supports Python >=2.7. Released irregularly.","status":"active","version":"0.0.10b0","language":"python","source_language":"en","source_url":"https://github.com/g42cloud-sdk/g42cloud-sdk-python","tags":["g42cloud","cloud","backup","sdk","cbr"],"install":[{"cmd":"pip install g42cloudsdkcbr","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Core SDK required for authentication and HTTP handling","package":"g42cloudsdkcore","optional":false}],"imports":[{"note":"CbrClient is located under the v1 submodule.","wrong":"from g42cloudsdkcbr import CbrClient","symbol":"CbrClient","correct":"from g42cloudsdkcbr.v1 import CbrClient"},{"note":"Models are in the v1.model submodule.","wrong":"from g42cloudsdkcbr.model import BackupResp","symbol":"BackupResp","correct":"from g42cloudsdkcbr.v1.model import BackupResp"}],"quickstart":{"code":"from g42cloudsdkcore.auth.credentials import BasicCredentials\nfrom g42cloudsdkcbr.v1 import CbrClient\nfrom g42cloudsdkcbr.v1.region import CbrRegion\n\nak = os.environ.get('G42_AK', '')\nsk = os.environ.get('G42_SK', '')\nproject_id = os.environ.get('G42_PROJECT_ID', '')\n\ncredentials = BasicCredentials(ak, sk, project_id)\nclient = CbrClient.new_builder()\\\n    .with_credentials(credentials)\\\n    .with_region(CbrRegion.value_of(\"ap-southeast-1\"))\\\n    .build()\n\nprint(client.list_protectable([]))","lang":"python","description":"Basic setup with CbrClient."},"warnings":[{"fix":"Upgrade to Python 3.6+.","message":"Python 2.7 support is deprecated and will be removed in future versions.","severity":"deprecated","affected_versions":">=0.0.1b0, <=0.0.10b0"},{"fix":"Use CbrRegion.value_of('ap-southeast-1') for G42 region.","message":"All endpoints and region codes differ from Huawei Cloud; use G42-specific values.","severity":"gotcha","affected_versions":"all"},{"fix":"Pin exact version in requirements.","message":"The SDK is in beta; breaking changes may occur between minor versions without notice.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.0.10':16 '2.7':21 'b0':17 'backup':10,26 'beta':18 'cbr':4,13,28 'cloud':2,6,9,25 'g42':1,5 'g42cloud':24 'irregular':23 'python':20 'recoveri':12 'releas':22 'sdk':3,7,27 'servic':14 'support':19 'version':15","created_at":"2026-05-09T05:52:00.098925+00:00","updated_at":"2026-05-09T05:52:00.098925+00:00","problems":[{"fix":"Use 'from g42cloudsdkcbr.v1 import CbrClient'.","cause":"Incorrect import path; CbrClient is in v1 submodule.","error":"AttributeError: module 'g42cloudsdkcbr' has no attribute 'CbrClient'"},{"fix":"Use CbrRegion.value_of('ap-southeast-1') or another valid G42 region.","cause":"Using a non-G42 region string or incorrect region ID.","error":"KeyError: 'region'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/g42cloud-sdk/g42cloud-sdk-python","docs":null,"changelog":null,"pypi":"https://pypi.org/project/g42cloudsdkcbr/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["aws","gcp","azure"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}