$npx skillfedfor your agent

sambanova

The official Python library for the SambaNova API

Worth itPyPI Python ModulesReleased Jul 2026162.7K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sambanova-1.12.1-py3-none-any.whl
v1.12.1 · released 2026-07-20 · Python >=3.9 · 6 runtime deps: anyio, distro, httpx, pydantic, sniffio, typing-extensions

Yes. The library is actively maintained, has no known vulnerabilities, uses a permissive license, and offers low install friction. It is the official client for SambaNova's API and provides both sync and async interfaces with full type safety. Install it if you are building a Python application that needs to call SambaNova models or services.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid SAMBANOVA_API_KEY environment variable or explicit api_key parameter to authenticate with the SambaNova API.
  • Low install friction with a pure-Python wheel and six common dependencies (anyio, distro, httpx, pydantic, sniffio, typing-extensions).
  • Actively maintained with a recent release and no known vulnerabilities.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 is a permissive license; you can use this library freely in commercial and private projects with minimal restrictions, provided you include a copy of the license.

last release 2026-07-20 (25 days) · last repo commit 2026-08-14 · 2 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 162,682 downloads/mo, #10,592 on PyPI

Verify before relying

pip install sambanova

import os
from sambanova import SambaNova

client = SambaNova(api_key=os.environ.get("SAMBANOVA_API_KEY"))
completion = client.chat.completions.create(
    messages=[{"content": "hello", "role": "user"}],
    model="gpt-oss-120b"
)
  • Whether the library's automatic retry logic (2 times by default) is configurable or suitable for production rate-limiting scenarios.
  • Performance characteristics and connection pooling behavior when handling concurrent requests at scale.
  • Compatibility with the optional aiohttp backend and whether it provides measurable concurrency improvements over httpx.
Same gist for agents: .md · .json

What it is and what it does

The SambaNova Python library is an official client for the SambaNova REST API, generated with Stainless. It wraps HTTP communication with httpx and provides both synchronous (SambaNova) and asynchronous (AsyncSambaNova) interfaces. All request parameters and response fields are type-checked using Pydantic models and TypedDicts, enabling IDE autocomplete and catching type errors early.

You use it to call SambaNova's language models and other services—chat completions, text generation, audio transcription—from Python applications. It handles authentication via API key, supports streaming responses over Server-Sent Events, manages automatic retries for transient failures, and provides structured error handling with specific exception types for different HTTP status codes. The library requires Python 3.9 or later and depends on common async utilities (anyio, sniffio) and HTTP infrastructure (httpx, pydantic).

Use it for

  • Build a chatbot or conversational AI application that calls SambaNova's language models via the chat completions endpoint.
  • Integrate SambaNova's text generation or audio transcription into an existing Python backend service with full type safety.
  • Stream long-form model outputs (poems, code, essays) to a frontend or user interface in real time using SSE.
  • Prototype or deploy async-first applications that need concurrent API calls to SambaNova without blocking.
  • Validate API request shapes and response structures at development time using Pydantic's type checking and IDE support.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The library is actively maintained, has no known vulnerabilities, uses a permissive license, and offers low install friction. It is the official client for SambaNova's API and provides both sync and async interfaces with full type safety. Install it if you are building a Python application that needs to call SambaNova models or services.

Install

sambanova on PyPI

Before you install

Low install friction with a pure-Python wheel and six common dependencies (anyio, distro, httpx, pydantic, sniffio, typing-extensions). Actively maintained with a recent release and no known vulnerabilities.

Requires a valid SAMBANOVA_API_KEY environment variable or explicit api_key parameter to authenticate with the SambaNova API.

License in practice

Apache-2.0 is a permissive license; you can use this library freely in commercial and private projects with minimal restrictions, provided you include a copy of the license.

Quickstart

pip install sambanova

import os
from sambanova import SambaNova

client = SambaNova(api_key=os.environ.get("SAMBANOVA_API_KEY"))
completion = client.chat.completions.create(
    messages=[{"content": "hello", "role": "user"}],
    model="gpt-oss-120b"
)

Verify before relying

  • Whether the library's automatic retry logic (2 times by default) is configurable or suitable for production rate-limiting scenarios.
  • Performance characteristics and connection pooling behavior when handling concurrent requests at scale.
  • Compatibility with the optional aiohttp backend and whether it provides measurable concurrency improvements over httpx.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
anyiodistrohttpxpydanticsniffiotyping-extensions
MaintenanceActively maintained 25 days since the last release
Last repo commit
First released
Downloads162,682 / month, #10,592 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: sambanova-1.12.1-py3-none-any.whl

Tags

Capabilities
sambanova api clientllm api python libraryasync http client wrappertyped rest api clientai model api accesschat completion clientstreaming api responses
Topics
llm-clientasync-httptype-safe

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sambanova api client”

  • sambanovaProvides a Python client library for accessing the SambaNova REST API…
  • langchain-sambanovaConnects LangChain applications to SambaNova's language models and…
  • livekit-plugins-openaiIntegrates OpenAI's Realtime, Responses, LLM, TTS, and STT APIs into…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also groq · arcadepy · llama-api-client · together · fireworks-ai · writer-sdk · cerebras-cloud-sdk · cloudflare · reka-api · letta-client