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 ListReservationsResponseModel
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.6.1.tar.gz
(30.0 kB
view hashes)
Built Distribution
Close
Hashes for qcs_api_client-0.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 533b9e124d8c9ecf29c4cdce391ff3694d643f70f31b5d2cbf9b43c32b694162 |
|
MD5 | 22b8258ee7012575ff878ab70ff4028a |
|
BLAKE2b-256 | b9a3126d4d05b6bb91e86d8fc535d24d9a025033696bc15a4c917b1c25a48233 |