{"id":21068,"library":"contree-sdk","title":"ConTree SDK","description":"SDK for ConTree container runtime with versioned filesystem state. Current version 0.3.0, compatible with Python 3.10-3.14. Under active development.","status":"active","version":"0.3.0","language":"python","source_language":"en","source_url":"https://github.com/example/contree-sdk","tags":["sdk","container-runtime","filesystem-versioning","async"],"install":[{"cmd":"pip install contree-sdk","lang":"bash","label":"Latest from PyPI"}],"dependencies":[],"imports":[{"note":"Incorrect: no top-level 'contree' package.","wrong":"from contree import ConTreeClient","symbol":"ConTreeClient","correct":"from contree_sdk import ConTreeClient"}],"quickstart":{"code":"from contree_sdk import ConTreeClient\n\nclient = ConTreeClient(api_key=os.environ.get('CONTREE_API_KEY', ''))\nprint(client.list_versions())","lang":"python","description":"Initialize client with API key and list filesystem versions."},"warnings":[{"fix":"Use 'from contree_sdk import ...' instead of 'from contree import ...'.","message":"Changed from 'contree' package name to 'contree_sdk' in 0.2.0. Old imports will fail.","severity":"breaking","affected_versions":"<0.2.0"},{"fix":"Replace 'client.get_snapshot(...)' with 'await client.get_snapshot_async(...)' in async contexts.","message":"The method 'get_snapshot()' is deprecated in 0.3.0, use 'get_snapshot_async()' for new code.","severity":"deprecated","affected_versions":">=0.3.0"},{"fix":"Set environment variable or pass api_key parameter.","message":"API key must be set as environment variable CONTREE_API_KEY or passed to constructor. Missing key raises PermissionError.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Use 'from contree_sdk import ConTreeClient'.","cause":"Old import path used; package was renamed.","error":"ImportError: cannot import name 'ConTreeClient' from 'contree'"},{"fix":"Set CONTREE_API_KEY environment variable or pass valid api_key to ConTreeClient.","cause":"Missing or invalid API key.","error":"PermissionError: 403 Forbidden"},{"fix":"Remove timeout parameter from ConTreeClient().","cause":"Client does not accept timeout argument; use environment variable or default.","error":"TypeError: Client.__init__() got an unexpected keyword argument 'timeout'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}