Athena Intelligence Python Library

raw JSON →
0.1.1097 verified Mon Apr 27 auth: no python

Athena Intelligence Python Library for interacting with the Athena Intelligence platform. Version 0.1.1097, under active development.

pip install athena-intelligence
error ModuleNotFoundError: No module named 'Athena'
cause Case-sensitive import; must be lowercase 'athena'.
fix
Run: pip install athena-intelligence and use from athena import Athena.
error athena.exceptions.AuthenticationError: 401
cause API key missing or invalid.
fix
Set environment variable ATHENA_API_KEY or pass it directly to Athena().
breaking The library is in early alpha; interfaces may change without notice.
fix Pin exact version and test upgrades.
deprecated Older versions used `from athena import Client`; this is removed.
fix Use `from athena import Athena` instead.

Initialize client and make a query.

from athena import Athena
import os

client = Athena(api_key=os.environ.get('ATHENA_API_KEY', ''))
response = client.query("Hello, Athena!")
print(response)