Registry / aws / dwave-cloud-client

dwave-cloud-client

JSON →
library0.14.6pypypi✓ verified 86d ago

A minimal client for interacting with D-Wave cloud resources, including solvers (QPU and hybrid) via the D-Wave API. Current version 0.14.4, requires Python >=3.10. Release cadence is irregular, with several minor releases per year.

pip install dwave-cloud-client
INSTALL
IMPORT
SIG · DWAVE-CLOUD-CLIENT
D
dwave-cloud-client
awspythonv0.14.6
Install
6.3s avg
Import
1386ms
Disk
57MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.14.6 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 1.448s · 58.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 6.3s · import 1.324s · 58MB
57MB installed
● package 57MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
from dwave.cloud import Client
Standard import for high-level client.
SolverApiClient
from dwave.cloud.api.client import SolverAPIClient
Low-level API client.

Initialize client, list available solvers.

from dwave.cloud import Client # Replace with your D-Wave API token or set DWAVE_API_TOKEN env var token = os.environ.get('DWAVE_API_TOKEN', '') with Client(token=token) as client: solvers = client.get_solvers() for solver in solvers: print(solver.id, solver.name)
Debug
Known issues
breakingIn version 0.14.0, solver identification changed from a unique string `id` to a dictionary `identity` with `name` and `graph_id`. Code that relies on `solver.id` as a string will break.
fix
Use `solver.identity` (a dict) or `solver.name` for hybrid solvers. For QPU solvers, use `solver.graph_id` for unique identification.
affects: >=0.14.0,<0.14.0
deprecated`Solver.is_vfyc` property is deprecated since dwave-cloud-client 0.14.1 and will be removed in a future version.
fix
Use `'qubit' in solver.properties.get('category', '')` or check solver category via the solver's `properties` dict.
affects: >=0.14.1
gotchaClient closes resources on exit. Using `Client` outside a context manager and not calling `.close()` may leak connections or fail on garbage collection.
fix
Always use `with Client(...) as client:` or call `client.close()` when done.
affects: all
Errors
Common errors & fixes
AttributeError: 'Solver' object has no attribute 'id'
Upgraded to dwave-cloud-client 0.14.0+ which changes solver identification from string `id` to dict `identity`.
fix
Use `solver.identity` instead of `solver.id`, or check `solver.name` for hybrid solvers.
dwave.cloud.exceptions.ConfigFileError: Config file 'dwave.conf' not found or invalid
Missing or malformed D-Wave configuration file or environment variables.
fix
Set `DWAVE_API_TOKEN` environment variable or create a valid `dwave.conf` file. See https://docs.dwavesys.com/docs/latest/doc_getting_started.html.
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='cloud.dwavesys.com', port=443): Max retries exceeded
Network issues or D-Wave API endpoint unreachable.
fix
Check internet connectivity and firewall settings. Ensure the API endpoint URL is correct (default is https://cloud.dwavesys.com/sapi).
Upgrade
Version history
0.14.6latest on PyPI · released Jun 16, 2026
Audit
Dependencies
dwave-systemoptionalProvides higher-level solver access and sampling utilities.
Agent activity
25 hits · last 30 days
node
22
Amazon
1
OpenAI (training)
1
Resources
dwave-cloud-client — pip install dwave-cloud-client · libregistry