$npx skillfedfor your agent

sarvamai

With conditionsPyPI Python ModulesReleased Aug 2026177.5K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sarvamai-0.1.30-py3-none-any.whl
v0.1.30 · released 2026-08-03 · Python <4.0,>=3.8 · 5 runtime deps: httpx, pydantic, pydantic-core, typing_extensions, websockets

Yes, with conditions. The package is actively maintained, has low install friction, and provides a clean async-capable interface to a specialized translation service. However, install only if you have a Sarvam API subscription and can verify the license terms independently—the package metadata does not declare a license, creating uncertainty about redistribution and commercial use. No known vulnerabilities as of the query date.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid Sarvam API subscription key to authenticate requests.
  • Low install friction with a pure-Python wheel distribution.
  • Actively maintained with a recent release 11 days ago.

License · maintenance · safety

(unclear) — License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before using in proprietary or restricted contexts.

last release 2026-08-03 (11 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 177,501 downloads/mo, #10,212 on PyPI

Verify before relying

pip install sarvamai

from sarvamai import SarvamAI

client = SarvamAI(api_subscription_key="YOUR_API_SUBSCRIPTION_KEY")
client.text.translate(
    input="input",
    source_language_code="auto",
    target_language_code="bn-IN"
)
  • Actual license terms and restrictions—metadata shows no SPDX or raw license field
  • Rate limits and quota behavior for the translation API beyond the default retry configuration
  • Whether speech-to-text functionality is fully implemented or still in development
Same gist for agents: .md · .json

What it is and what it does

Sarvamai is a Python SDK that wraps the Sarvam API, a cloud service for text translation and speech processing focused on Indian languages. It provides both synchronous and asynchronous clients, allowing developers to translate text between supported Indian language pairs (including Bengali, Hindi, Tamil, Telugu, Kannada, Malayalam, Marathi, Gujarati, Punjabi, Odia, and newer additions like Assamese, Bodo, Dogri, Konkani, Kashmiri, Maithili, Manipuri, Nepali, Sanskrit, Santali, Sindhi, and Urdu) with optional tone/style modes and transliteration output.

The SDK handles HTTP communication via httpx, includes automatic retry logic with exponential backoff for transient failures (408, 429, 5xx status codes), configurable timeouts (default 60 seconds), and exception handling for API errors. It is typed with pydantic validation and supports custom httpx clients for proxy or transport customization. The library is generated programmatically and requires an active API subscription key for all requests.

Use it for

  • Translate user-generated text between Indian languages in a web or mobile application backend
  • Build a multilingual chatbot or customer support system that handles conversations in regional Indian languages
  • Process and transliterate text to different scripts (e.g., Hindi to Roman script) for accessibility or display purposes
  • Integrate speech-to-text transcription into a Python application using the Sarvam API
  • Batch translate content with automatic language detection and optional preprocessing for complex vocabulary

Worth the install?

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

With conditions

Yes, with conditions.

The package is actively maintained, has low install friction, and provides a clean async-capable interface to a specialized translation service. However, install only if you have a Sarvam API subscription and can verify the license terms independently—the package metadata does not declare a license, creating uncertainty about redistribution and commercial use. No known vulnerabilities as of the query date.

Install

sarvamai on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release 11 days ago. Depends on standard libraries (httpx, pydantic, websockets) with no compiled dependencies.

Requires a valid Sarvam API subscription key to authenticate requests.

License in practice

License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before using in proprietary or restricted contexts.

Quickstart

pip install sarvamai

from sarvamai import SarvamAI

client = SarvamAI(api_subscription_key="YOUR_API_SUBSCRIPTION_KEY")
client.text.translate(
    input="input",
    source_language_code="auto",
    target_language_code="bn-IN"
)

Verify before relying

  • Actual license terms and restrictions—metadata shows no SPDX or raw license field
  • Rate limits and quota behavior for the translation API beyond the default retry configuration
  • Whether speech-to-text functionality is fully implemented or still in development

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release <4.0,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
httpxpydanticpydantic-coretyping_extensionswebsockets
MaintenanceActively maintained 11 days since the last release
First released
Downloads177,501 / month, #10,212 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: sarvamai-0.1.30-py3-none-any.whl

Tags

Capabilities
sarvam api python clientindian language translation sdktext translation python libraryspeech to text api wrapperasync language translation clientmultilingual text processingsarvam ai integration
Topics
language-translationindian-languagesapi-client

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 › “sarvam api python client”

  • sarvamaiPython SDK for the Sarvam API, providing access to text translation…
  • livekit-plugins-sarvamIntegrates Sarvam.ai's Indian-language voice AI services…
  • twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…

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 python-intercom · azure-ai-translation-text · livekit-plugins-sarvam · vapi-server-sdk · reka-api · deep-translator · google-cloud-translate · translators · indic-nlp-library · agentmail