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.0.tar.gz
(31.8 kB
view hashes)
Built Distribution
qci_client-3.2.0-py3-none-any.whl
(32.4 kB
view hashes)
Close
Hashes for qci_client-3.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c54edad906bf4a17ea813066c2ad82b4df9ce2990ae96bb89477e521187edb37 |
|
MD5 | ce166726198b9c2b4488421be6a343b5 |
|
BLAKE2b-256 | 842ef6f86833ee82ede29c2dd79425a0f42f46f33f5f44c3f2438399cb474fa8 |