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
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--
from qci_client import QciClient
client = QciClient()
Without Environment Variables
Access the API without first defining environment variables by instantiating a
QciClient
as follows--
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-3.2.1.tar.gz
(31.9 kB
view hashes)
Built Distribution
qci_client-3.2.1-py3-none-any.whl
(32.5 kB
view hashes)
Close
Hashes for qci_client-3.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0e7d88dbf6875d6a0521dcdcc0a127ea895c1c75ee56fe5f4de3f4c154b86e3 |
|
MD5 | a2160f573dd99c5dc8b108536901c931 |
|
BLAKE2b-256 | e67f1086b82fb0ed0aacd4a04d12c423236571b1615e4bdaf80ab65399838f0f |