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. Test
Setting up the environment
You have two options to provide the 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.
Metadata
Release files for tema-ai 0.17.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tema_ai-0.17.0.tar.gz | 22.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tema_ai-0.17.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.6 kB
Release files / tema_ai-0.17.0.tar.gz
| Download URL | tema_ai-0.17.0.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce9d364192772a038374858753c52626cbdbab255c8f894a8f9a58b5c76fe350
|
|
BLAKE2b-256 checksum How to use checksums |
c569f2f6468e83dcf88eae5f71e0f13aa3fc8f3937fd3672d2b7ecd8e0dc181a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 8, 2025.
Transparency logRelease files / tema_ai-0.17.0-py3-none-any.whl
| Download URL | tema_ai-0.17.0-py3-none-any.whl |
|---|---|
| Size | 29.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc35bc71bdcd63d638664582cdd5b5a38d61f903dfb8f9eff188c19d3b011c35
|
|
BLAKE2b-256 checksum How to use checksums |
812ee06a7716d54297ec7f47fb2b04ad3300c297e696a5bfcf3aec05aded84ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 8, 2025.
Transparency log