Skip to main content

Client Package for using Qatalyst Optimization Suite

Project description

QCI Client

Getting started

Installation

qci-client currently supports Python 3.9-13, inclusive, as specified in the PEP-621-compliant pyproject.toml file.

Install qci-client from the public PyPI server into your Python virtual environment using--

pip install qci-client

Instantiating a Client for Optimization

With Environment Variables

To access the API, set these environment variables--

  • QCI_API_URL - URL for Qatalyst API, Example: "https://api.qci-prod.com"
  • QCI_TOKEN - refresh token string for securely accessing Qatalyst API

then instantiate a QciClient as follows--

# An alias for `from qci_client.optimization.client import Client as QciClient`.
from qci_client import QciClient

client = QciClient()

Without Environment Variables

Access the API without first defining environment variables by instantiating a QciClient as follows--

# A alias for `from qci_client.optimization.client import Client as QciClient`.
from qci_client import QciClient

client = QciClient(url="https://api.qci-prod.com", api_token="<secret-token>")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qci_client-5.0.0.tar.gz (32.8 kB view details)

Uploaded Source

Built Distribution

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

qci_client-5.0.0-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

Details for the file qci_client-5.0.0.tar.gz.

File metadata

  • Download URL: qci_client-5.0.0.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for qci_client-5.0.0.tar.gz
Algorithm Hash digest
SHA256 c61ba67bd888d5f55644131ed64a03c1ce65360f982c6df9bbe1af1a2ea69e34
MD5 4dc85e6d9e428d50483e4a25f773a634
BLAKE2b-256 73e08a0b843469c85a867d45a9f04534a24c3eb9ca695d85e0558f39277d780e

See more details on using hashes here.

File details

Details for the file qci_client-5.0.0-py3-none-any.whl.

File metadata

  • Download URL: qci_client-5.0.0-py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for qci_client-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92ab84d569ea948636fb5b534e22f1b5d73763a962ee1ea5f2513c14a6e565cf
MD5 3e6d3596f2056537e615d1f1cb0b0446
BLAKE2b-256 3362af90c0012f79f681660af0eb52df0c0c401d962d99076b1f5c46a1b1c569

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