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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qcs-api-client-0.6.2.dev1082213458.tar.gz.
File metadata
- Download URL: qcs-api-client-0.6.2.dev1082213458.tar.gz
- Upload date:
- Size: 33.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.7.10 Linux/4.15.0-1051-aws
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd7b4893236d7d29c238fb0e7c4f9d9027ed4080b2aa0d05e7aa100f6102a62e
|
|
| MD5 |
cfa4e86afcc023ad87861bbf720be296
|
|
| BLAKE2b-256 |
11384b4d98f1c76568e90acd6ab0cefb6d0adcc4d54375688f7cb3177bd3b4c3
|
File details
Details for the file qcs_api_client-0.6.2.dev1082213458-py3-none-any.whl.
File metadata
- Download URL: qcs_api_client-0.6.2.dev1082213458-py3-none-any.whl
- Upload date:
- Size: 96.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.7.10 Linux/4.15.0-1051-aws
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40916de269ec1f06aaf1a18dfef2295aabeb674ad3ad4ea59266238f795beeda
|
|
| MD5 |
edcc13ef05f40a52d20d509d089e5280
|
|
| BLAKE2b-256 |
24ced5ce7ae34361399ac80ea6f92337307c3eb4f1e365f327a44f1d91f3442e
|