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.6.2.dev1085111552.tar.gz (31.9 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.6.2.dev1085111552-py3-none-any.whl (87.4 kB view details)

Uploaded Python 3

File details

Details for the file qcs-api-client-0.6.2.dev1085111552.tar.gz.

File metadata

  • Download URL: qcs-api-client-0.6.2.dev1085111552.tar.gz
  • Upload date:
  • Size: 31.9 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

Hashes for qcs-api-client-0.6.2.dev1085111552.tar.gz
Algorithm Hash digest
SHA256 005f9e38576d0b91872825641cb5650a37b3dd19f2e0ddd324b715d6c0a37936
MD5 d3beb5a69409f70a56234889aee9c947
BLAKE2b-256 935079c82532c8954d33a899e7afbbbe85639d8d13f9e96797a5056586592f80

See more details on using hashes here.

File details

Details for the file qcs_api_client-0.6.2.dev1085111552-py3-none-any.whl.

File metadata

File hashes

Hashes for qcs_api_client-0.6.2.dev1085111552-py3-none-any.whl
Algorithm Hash digest
SHA256 3ebd9246b8b81d1950269e3a16af00b2af205be98615ef95040f2fc3de80c8f0
MD5 5e120efd50d2a421762c8997e9957a03
BLAKE2b-256 3b4494a5ac1c610389ece4467302be2b705ec0f54f07173f33f3cfeda2c1d78f

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