A client library for accessing the Rigetti QCS API
Project description
QCS API Client
A client library for accessing the Rigetti QCS API.
Usage
Synchronous Usage
from qcs_api_client.client import build_sync_client
from qcs_api_client.models import ListReservationsResponse
from qcs_api_client.operations.sync import list_reservations
with build_sync_client() as client:
response: ListReservationsResponse = list_reservations(client=client).parsed
Asynchronous Usage
from qcs_api_client.client import build_async_client
from qcs_api_client.models import ListReservationsResponse
from qcs_api_client.operations.asyncio import list_reservations
# Within an event loop:
async with build_async_client() as client:
response: ListReservationsResponse = await list_reservations(client=client).parsed
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for qcs-api-client-0.6.2.dev1088410470.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8039c2294d19caf68cbb7194793c52b431d51892529b8251e1d1bfaef2de3ec6 |
|
MD5 | 51c86416292fc1174c11db3cec0ac1d6 |
|
BLAKE2b-256 | 526ca2fa07476d9ba09daebff2ae0b0d66fd94f473c5c9d46a32b8bcce7e9d6b |
Close
Hashes for qcs_api_client-0.6.2.dev1088410470-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeaf2ae68ece7297a8492b7c8c657bb979ce3cab79d0d195c4a654d0f0e79fc6 |
|
MD5 | b6a0c97084f2d8c89837e534fae95e3b |
|
BLAKE2b-256 | b930ce487058a5f1eb7555139c14aa8b2fdf4e60b4ec72877ee70cda48ab9b2d |