Skip to main content

The official Python library for the InferenceBank API

Project description

InferenceBank Python API library

The InferenceBank Python library provides convenient access to the InferenceBank REST API from any Python 3.11+ application.

Usage

import os
from inferencebank import InferenceBank

client = InferenceBank(api_key=os.environ.get("INFERENCEBANK_API_KEY"))
health_status = client.health_check()

While you can provide an api_key keyword argument, we recommend using python-dotenv to add INFERENCEBANK_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

inferencebank-0.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

inferencebank-0.0.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file inferencebank-0.0.1.tar.gz.

File metadata

  • Download URL: inferencebank-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for inferencebank-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9ef85fc7d7e4f6253f66b6747e6456e59ae1fb62077bf101fadfc18cad2f411d
MD5 d02aebc7f24102f2a36de1877eff11b0
BLAKE2b-256 c2cb6bbc4f5f4b9c827b8e51128d471401b39286c6a7b24cc0c36d68d6cfa546

See more details on using hashes here.

File details

Details for the file inferencebank-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: inferencebank-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for inferencebank-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f8ec185c7638e9c61b1871c3cdd9332478b057ce69707c8d88de4d1d5fa1a01
MD5 4292b71bd77660ad2767bec6b3ac00bf
BLAKE2b-256 c25433ef3c461eb7d7507db2d92fc98facb62ad952debed33f6f77714dc50794

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