GnistAI Python API library
The GnistAI Python library provides convenient access to the GnistAI REST API from any Python 3.11+ application.
The REST API documentation can be found on gnist.ai/api/docs.
Usage
import os
from gnistai import GnistAI
client = GnistAI(api_key=os.environ.get("GNISTAI_API_KEY"))
health_status = client.health_check()
While you can provide an api_key keyword argument,
we recommend using python-dotenv
to add GNIST_API_KEY="My API Key" to your .env file
so that your API Key is not stored in source control.
Metadata
Release files for gnistai 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gnistai-0.0.2.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gnistai-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.9 kB
Release files / gnistai-0.0.2.tar.gz
| Download URL | gnistai-0.0.2.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9034fb4b642f20a275a2990b49b75e37fa6dcae88b813ecf042d5140272ab9a
|
|
BLAKE2b-256 checksum How to use checksums |
b705709259e12eb7e4986d2584eb3469c3897d0119b3d91fa2664a22a3a7dcb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Release files / gnistai-0.0.2-py3-none-any.whl
| Download URL | gnistai-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7548a1c3142d98ffc43e82940684c19966fb8d64de100d85a7a2030c1f2c3738
|
|
BLAKE2b-256 checksum How to use checksums |
dc5405dc9be53d594cc5857edf1fb9230bef7ba7c308b7ecbc22e40e7dd5a70e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|