Skip to main content

Autonomi Cloud Python Client

Project description

Autonomi Cloud Python Client

PyPi Version PyPi Version PyPi Downloads Better Uptime

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

autonomi-0.1.5-py2.py3-none-any.whl (23.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page