Skip to main content

Python SDK for the SpinDynamics inference routing platform

Project description

SpinDynamics Python SDK

Official Python SDK for the SpinDynamics inference routing platform.

Installation

pip install spindynamics

Quick Start

from spindynamics import Cortex

client = Cortex(api_key="sd_live_...")

deployment = client.deploy(
    model="llama-3.1-70b",
    strategy="adaptive",
    regions=["us-east-1", "eu-west-1"],
)

response = client.infer(
    deployment_id=deployment.id,
    prompt="Explain quantum computing",
    max_tokens=512,
)

print(response.text)

Documentation

Full documentation at spindynamics.net/docs.

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

spindynamics-0.3.1.tar.gz (40.3 kB view details)

Uploaded Source

Built Distribution

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

spindynamics-0.3.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file spindynamics-0.3.1.tar.gz.

File metadata

  • Download URL: spindynamics-0.3.1.tar.gz
  • Upload date:
  • Size: 40.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for spindynamics-0.3.1.tar.gz
Algorithm Hash digest
SHA256 2589f61025c4c6c331e355e1cf6db2edfd9e394eec562961ba154816a1ea7a43
MD5 7be5027a8d3ff7cdaa9d377f0941b6b6
BLAKE2b-256 7f1be01e33e4dbb8eca3e3b95f8d0b5a4b321bb971eb73e8d5c22e75eb5b95f2

See more details on using hashes here.

File details

Details for the file spindynamics-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: spindynamics-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for spindynamics-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ebfb443acd7d8a9c1ef578052166d1db559b7375dcd3bfd6bf0a4058488119d5
MD5 a2cbd5df627eebbcdacd4bb0a8359b73
BLAKE2b-256 be866a1583320b3b516179ad5fcc255ba7694dac3e78fa4654685c7a7ab343a7

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