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.8.0.dev1451144536.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51359f7f7ccb08e0fb21d94873f9e6720d2dd623cc6e18b90e369a3b2db9e420 |
|
MD5 | b37b8a1d74584e6a976870d208fce465 |
|
BLAKE2b-256 | 43143b990de651bd4eaa590e6dad029f568e5ae8b256f6d9f884591ca8e2fda5 |
Close
Hashes for qcs_api_client-0.8.0.dev1451144536-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 493065bf3e9415e01bb6feab9939ae593215e97fa67c8c348997fed7292ca09f |
|
MD5 | 2734256c861d9063b8c22b449fdb932d |
|
BLAKE2b-256 | 0cf7eed725aca1933262c7262de21a6dbc5a2e0c30bf0f163257e2526a2c6d25 |