Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gnistai-0.0.2.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gnistai-0.0.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

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

Hashes for gnistai-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b9034fb4b642f20a275a2990b49b75e37fa6dcae88b813ecf042d5140272ab9a
MD5 6af8e31e6b041ded283b7d391eabb71c
BLAKE2b-256 b705709259e12eb7e4986d2584eb3469c3897d0119b3d91fa2664a22a3a7dcb4

See more details on using hashes here.

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

Hashes for gnistai-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7548a1c3142d98ffc43e82940684c19966fb8d64de100d85a7a2030c1f2c3738
MD5 7ccf0225b51488970fd3a130cc2a3943
BLAKE2b-256 dc5405dc9be53d594cc5857edf1fb9230bef7ba7c308b7ecbc22e40e7dd5a70e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page