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.2-py2.py3-none-any.whl (23.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file autonomi-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: autonomi-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for autonomi-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e47ad7b94f03ed67534250ff710787e58aaf6d4442fbd41bd95a50aa18bd5ce4
MD5 80010ee69ca805722dc6e4c25fa3bf99
BLAKE2b-256 b074b6fc7956297597139f3b53f67eda85834d229cc98f4738ecfef89eb2d31a

See more details on using hashes here.

Provenance

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