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.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 673609a92466f03f59254d8c1520226794db75cb8d3cac0021458a95f0b9c8ff |
|
MD5 | 262498ee2bac682e6946bbbf67bde3a5 |
|
BLAKE2b-256 | 0ba12488fb8176088ab7a5c92217c439dd0cd5c82b6d580d178fe7060824937b |