Autonomi Cloud Python Client
Project description
Autonomi Cloud Python Client
The Autonomi Cloud Python Client provides a convenient way to interact with the Autonomi Cloud API. We provide a unified client interface for various API services offered on the Autonomi Cloud Platform.
Installation
The Autonomi AI Python Client is available on PyPI. You can install it using pip:
pip install autonomi
Install from source:
git clone https://github.com/autonomi-ai/autonomi-client
cd autonomi-client
pip install -e .
Authentication
The Autonomi AI Python Client uses API keys to authenticate requests. You can create your own API keys, after you've signed up, in the Autonomi Cloud console.
export AUTONOMI_API_KEY='...'
Usage
The python client needs to be configured with your personal API key before you can use it. You can set the API key in the environment variable AUTONOMI_API_KEY
as described above or pass it to the client constructor.
from autonomi.client import AutonomiClient
# Usage with variable `AUTONOMI_API_KEY` read from your environment.
>>> cli = AutonomiClient()
AutonomiClient [version=X.Y.Z] :: [endpoint=https://api.autonomi.ai/v1, health=OK, auth=OK]
# Usage with API key passed to constructor
cli = AutonomiClient(api_key='...')
AutonomiClient [version=X.Y.Z] :: [endpoint=https://api.autonomi.ai/v1, health=OK, auth=OK]
Requirements
- Python 3.7+
We currently support Python 3.7+ on Linux and macOS. If you have any questions or issues, please open an issue.
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 Distributions
Built Distribution
Hashes for autonomi-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 932d6534e48f0dcf4327a8f8fa58539751d7bb9e0efc2d0eff2e24cf84f9130c |
|
MD5 | 1956cc6712a3577e8b3a2ef17641648a |
|
BLAKE2b-256 | 518672dc0f5ade83d0295caf1fab8f01f816fd357720ad4132851504d3c98262 |