Skip to main content

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.8.0.dev1457087914.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qcs_api_client-0.8.0.dev1457087914-py3-none-any.whl (102.7 kB view details)

Uploaded Python 3

File details

Details for the file qcs-api-client-0.8.0.dev1457087914.tar.gz.

File metadata

  • Download URL: qcs-api-client-0.8.0.dev1457087914.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.7.11 Linux/4.15.0-1051-aws

File hashes

Hashes for qcs-api-client-0.8.0.dev1457087914.tar.gz
Algorithm Hash digest
SHA256 c1145c46533fc1ed78da03d797a5fda61ca261dba3ddf1b4641211b6f2f39bc4
MD5 c4a05e4b56d88dd726a2ae778008b87b
BLAKE2b-256 b305aa28a1fbb8c5d35299e672a6ef328d53c6920ff51a7246cda7c5a946d2cb

See more details on using hashes here.

File details

Details for the file qcs_api_client-0.8.0.dev1457087914-py3-none-any.whl.

File metadata

File hashes

Hashes for qcs_api_client-0.8.0.dev1457087914-py3-none-any.whl
Algorithm Hash digest
SHA256 4f9d3ee851a63b7c71a2c4650ae0f2b7189c96c8b824e2ed62be26291eae8210
MD5 8744e5a2ed48871ac711bf54292efcb6
BLAKE2b-256 8449ea133151cfd4ed85a224bf5c99aca661408df403b3f3af5c5739b9c34092

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page