{"id":28167,"library":"scaleway","title":"Scaleway SDK","description":"Official Python SDK for Scaleway cloud infrastructure. Current version 2.11.0, supports Python >=3.10. Active development with regular releases.","status":"active","version":"2.11.0","language":"python","source_language":"en","source_url":"https://github.com/scaleway/python-scaleway","tags":["scaleway","cloud","sdk","infrastructure"],"install":[{"cmd":"pip install scaleway","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"HTTP client used by the SDK","package":"httpx","optional":false},{"reason":"Data validation and settings","package":"pydantic","optional":false},{"reason":"AWS compatibility layer (S3, etc.)","package":"boto3","optional":true}],"imports":[{"note":"Old module name changed in v2","wrong":"from scaleway_sdk import Client","symbol":"ScalewayClient","correct":"from scaleway import ScalewayClient"},{"note":"","wrong":"","symbol":"ScalewayException","correct":"from scaleway.exceptions import ScalewayException"},{"note":"Old path deprecated","wrong":"from scaleway.instance import InstanceV1","symbol":"InstanceAPI","correct":"from scaleway.instance.v1 import InstanceAPI"}],"quickstart":{"code":"from scaleway import ScalewayClient\n\nclient = ScalewayClient(\n    access_key=os.environ.get('SCW_ACCESS_KEY', ''),\n    secret_key=os.environ.get('SCW_SECRET_KEY', ''),\n)\n# List instances\ninstances = client.instance.v1.list_servers(zone='fr-par-1')\nprint(instances)","lang":"python","description":"Initialize client and list instances in fr-par-1 zone."},"warnings":[{"fix":"Use 'from scaleway import ScalewayClient' instead of 'from scaleway_sdk import Client'.","message":"v2 changed all import paths and client initialization; old 'scaleway_sdk' package is no longer compatible.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Use e.g., client.instance.v1.list_servers() not client.instance.list_servers()","message":"API methods are nested under service versions (e.g., instance.v1, instance.v2). Always specify the version.","severity":"gotcha","affected_versions":"all"},{"fix":"Set SCW_ACCESS_KEY and SCW_SECRET_KEY environment variables.","message":"auth via environment variables SCALEWAY_ACCESS_KEY and SCALEWAY_SECRET_KEY deprecated; use SCW_ACCESS_KEY and SCW_SECRET_KEY.","severity":"deprecated","affected_versions":">=2.5.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"pip install scaleway then import: from scaleway import ScalewayClient","cause":"Package renamed from scaleway-sdk to scaleway in v2.","error":"ImportError: No module named 'scaleway_sdk'"},{"fix":"Use: from scaleway import ScalewayClient","cause":"Old pattern 'scaleway.client' replaced by ScalewayClient class.","error":"AttributeError: module 'scaleway' has no attribute 'client'"},{"fix":"Pass zone='fr-par-1' instead of region='fr-par'.","cause":"Region parameter not supported in v2; use zone instead.","error":"TypeError: __init__() got an unexpected keyword argument 'region'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}