A connector to the Tema AI APIs
Reason this release was yanked:
Possible error on data fetch
Project description
Tema AI
A library to connect to Tema AI data
Setting up the connection
You will need access to Tema AI API in order to use this library. Please generate the appropriate API client id and secret as well as the connection. Once you have those 3 values in addition to the sharing host you can configure the library to connect to the systems. Refer to the provided documentation to know how to generate those values if you don't already have them.
Setting up the environment
You have two options to provide your access variables:
-
Provide them as environment variables and the code will automatically pick them up
export TEMA_AI_CONNECTION=connector_name export TEMA_AI_HOST=https://provided-host.ai export TEMA_AI_CLIENT_ID=HCD35....HAm34 export TEMA_AI_CLIENT_SECRET=n...ryA
or provide them in an environment file
#.env TEMA_AI_CONNECTION=connector_name TEMA_AI_HOST=https://provided-host.ai TEMA_AI_CLIENT_ID=HCD35....HAm34 TEMA_AI_CLIENT_SECRET=n...ryA
from tema_ai.connect import TemaAIShareAPI connection = TemaAIShareAPI()
-
Or simply provide them on runtime
from tema_ai.connect import TemaAIShareAPI connection = TemaAIShareAPI( connection_name="connector_name", host="https://provided-host.ai", client_id="HCD35....HAm34" client_secret="n...ryA" )
-
Alternatively you can mix and match and provide some of the variables through the environment and some directly to the class.
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tema_ai-0.9.3.tar.gz.
File metadata
- Download URL: tema_ai-0.9.3.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a5e2c0fd53798325829b2aaeb2f4d2a0c5cbf332b3de9511dd5282b0127d4e9
|
|
| MD5 |
c7114f084aabcf9492dd86683f3857ad
|
|
| BLAKE2b-256 |
7ebb73a10ea9d0404d6c941494883d46654bbc29929a492372e9624620a60280
|
File details
Details for the file tema_ai-0.9.3-py3-none-any.whl.
File metadata
- Download URL: tema_ai-0.9.3-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d92d08f94b42a51b5ce9813f82bf4229c0edb68e766907e7abb1e5d9994a1ef
|
|
| MD5 |
e466049e6a7a4ec7ff659fe3cc19ae59
|
|
| BLAKE2b-256 |
90b506e7d5acd6b742cdfb89ec6c8fdfcf229b8cc2d77e3957b1f67e50030763
|