Skip to main content

Python SDK for TNSA AI API (model inference and management)

Project description

TNSA API SDK

This SDK provides a convenient way to interact with the TNSA API.

Installation

pip install -e .

Usage

from tnsa_api import TNSAClient

client = TNSAClient(api_key="YOUR_API_KEY")

# List available models
models = client.list_models()
print(models)

# Get an inference from a model
inference = client.infer(
    model="NGen3.9-Lite-2006-Preview",
    prompt="Hello, world!"
)
print(inference)

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

tnsa_api-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

tnsa_api-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file tnsa_api-0.1.0.tar.gz.

File metadata

  • Download URL: tnsa_api-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for tnsa_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3d575f951639348e8a717d8c70b1f1b77fab7c7c0819ca02eef1ffa51ae9ce06
MD5 165e387a1058b8e64a0c2b81668e398b
BLAKE2b-256 517d87835738378aa511cf532b39304135c040089612175bc9856e57d7fd0af6

See more details on using hashes here.

File details

Details for the file tnsa_api-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tnsa_api-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for tnsa_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0835ea24fcb62286521147ed7fdec5161fba134c838f11371c9f8e4b57c2f911
MD5 83cb36e1154dfd76a369a1ad7d2005f7
BLAKE2b-256 1dcb5e7536b922db221330b837c8d2f5a592381f470c2a937b50d64386706f3d

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