Client Package for using Qatalyst Optimization Suite
Project description
QCI Client
Getting started
Installation
qci-client
currently supports Python 3.8-12, inclusive, as specified in the
PEP-621-compliant pyproject.toml.
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
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
qci_client-4.2.0.tar.gz
(32.1 kB
view hashes)
Built Distribution
qci_client-4.2.0-py3-none-any.whl
(34.7 kB
view hashes)
Close
Hashes for qci_client-4.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | def5e5e8020a4504699de05ede368a7c39cb6df1994b40c767ca98403c22a50d |
|
MD5 | c6e55c53dd2960e8f30746daffcff6b1 |
|
BLAKE2b-256 | a5ae5ef543dbec14551b63e1868c1770bc5dfd4066bb74368b6e3d1ea28595b9 |