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.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36ed9c5f93d077c0bac7a2f98958371a5cbb97dbcee88161d252f4f00a63f6a5 |
|
MD5 | d98bee37bf45b5ab7c9c88223ebb9c1a |
|
BLAKE2b-256 | c0aa501128a643ffae77227ac84aafd458c9570d936aa28f8644b2aa7cb5fc83 |