{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/16"}],"enrichment":{"capability":"Python SDK for the Sarvam API, providing access to text translation and speech-to-text services across Indian languages with both synchronous and asynchronous clients.","skillfed_tags":["language-translation","indian-languages","api-client"],"use_cases":["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"],"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.\n\nThe 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.","worth_installing":"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\u2014the package metadata does not declare a license, creating uncertainty about redistribution and commercial use. No known vulnerabilities as of the query date."},"id":"sarvamai","links":{"html":"https://skillfed.io/packages/sarvamai","md":"https://skillfed.io/packages/sarvamai.md","pypi":"https://pypi.org/project/sarvamai/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-03","license_spdx":null,"license_treatment":"unclear","name":"sarvamai","python_support":"supports_current","summary":null},"popularity":{"monthly_downloads":177501,"position":10212,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.30"}
