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
qcs-api-client-0.7.0.tar.gz
(33.6 kB
view hashes)
Built Distribution
Close
Hashes for qcs_api_client-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d845413edd1b7ccd5da6b5d326e4357574ded838958f6382013bbdb280b9006 |
|
MD5 | e768b6ebe48847efbde79e0a10a9d910 |
|
BLAKE2b-256 | 04ab1511305433a1c1a7c142ccd4198647543c312b801eef26aafe145bffefe0 |