The official Python library for the GnistAI API
Project description
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.
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 gnistai-0.0.2.tar.gz.
File metadata
- Download URL: gnistai-0.0.2.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9034fb4b642f20a275a2990b49b75e37fa6dcae88b813ecf042d5140272ab9a
|
|
| MD5 |
6af8e31e6b041ded283b7d391eabb71c
|
|
| BLAKE2b-256 |
b705709259e12eb7e4986d2584eb3469c3897d0119b3d91fa2664a22a3a7dcb4
|
File details
Details for the file gnistai-0.0.2-py3-none-any.whl.
File metadata
- Download URL: gnistai-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7548a1c3142d98ffc43e82940684c19966fb8d64de100d85a7a2030c1f2c3738
|
|
| MD5 |
7ccf0225b51488970fd3a130cc2a3943
|
|
| BLAKE2b-256 |
dc5405dc9be53d594cc5857edf1fb9230bef7ba7c308b7ecbc22e40e7dd5a70e
|