{"id":23475,"library":"cudo-compute","title":"Cudo Compute","description":"Official Python client for Cudo Compute's cloud platform (cudocompute.com). Current version 0.3.6; release cadence is irregular. Provides high-level API for managing virtual machines, SSH keys, and billing. Requires Python >=3.8.","status":"active","version":"0.3.6","language":"python","source_language":"en","source_url":"https://github.com/cudoventures/cudo-compute-py","tags":["cloud","compute","cudo","api-client"],"install":[{"cmd":"pip install cudo-compute","lang":"bash","label":"Default install"}],"dependencies":[],"imports":[{"note":"CamelCase class named Client; use hyphen underscore conversion in import.","wrong":"","symbol":"Client","correct":"from cudo_compute import Client"},{"note":"Main package; API functions available as cudo_compute.<function>.","wrong":"","symbol":"cudo_compute","correct":"import cudo_compute"},{"note":"Class for VM operations.","wrong":"","symbol":"VirtualMachine","correct":"from cudo_compute import VirtualMachine"}],"quickstart":{"code":"import os\nfrom cudo_compute import Client\n\nclient = Client(api_key=os.environ.get('CUDO_API_KEY', ''))\n# Example: list VMs\nvms = client.list_virtual_machines()\nfor vm in vms:\n    print(vm.id, vm.name)","lang":"python","description":"Initialize the client with an API key from environment variable, then list virtual machines."},"warnings":[{"fix":"Always set CUDO_API_KEY environment variable. Use client's method signatures as per autocomplete.","message":"The library is very thin; many features (e.g., SSH key management, billing) are available but not well documented. Common errors are due to missing API key or incorrect region.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Pass full UUID obtained from list_virtual_machines() or create methods.","message":"Resource IDs (like VM IDs) are UUID strings. Some methods expect the full UUID, others may accept short IDs. Check parameter documentation.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Use Python 3.9+ for forward compatibility.","message":"Python 3.8 support is deprecated; future versions may drop it. The library currently requires >=3.8, but 3.8 is EOL.","severity":"deprecated","affected_versions":"0.3.6"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install via pip install cudo-compute and import using from cudo_compute import Client.","cause":"Attempting to import using the PyPI name 'cudo-compute' (with hyphen) instead of the package name with underscore.","error":"ModuleNotFoundError: No module named 'cudo_compute'"},{"fix":"Set the environment variable CUDO_API_KEY or pass api_key parameter to Client(). Obtain API key from Cudo Compute dashboard.","cause":"Missing or invalid API key. The library throws this exception when CUDO_API_KEY is not set or is wrong.","error":"cudo_compute.exceptions.UnauthorizedException: 401 Unauthorized"},{"fix":"Verify the resource ID and region. Use list methods to confirm available resources.","cause":"Attempting to access a resource (e.g., VM) that does not exist or has been deleted. Also occurs when using an incorrect region.","error":"cudo_compute.exceptions.NotFoundException: 404 Not Found"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}