Skip to main content

A Python client for interacting with Bhashini inference services (ASR, NMT, TTS).

Project description

bhashini-client

A simple Python client library for interacting with Bhashini inference APIs.
Currently supports:

  • ASR (Automatic Speech Recognition)
  • NMT (Machine Translation)
  • TTS (Text-to-Speech)

🚀 Installation

pip install bhashini-client

Example Usage

from bhashini_client import BhashiniClient
client = BhashiniClient(api_key="api-key")
print(client.asr("audio url", "source Language"))
print(client.nmt("input text", "source Language", "Target Language"))

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

bhashini_client-0.1.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

bhashini_client-0.1.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file bhashini_client-0.1.2.tar.gz.

File metadata

  • Download URL: bhashini_client-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for bhashini_client-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a654ea83c1de7b061335de81260414313ab25fdfc6c4e3c0d2d63b46a0332aba
MD5 5523e7c3e992c180c380154f2ef4a3e2
BLAKE2b-256 7b62fffcfbbeb0b90d1bf503d8aae02d72e79709ad268352e3b2a3eaf79fbf7f

See more details on using hashes here.

File details

Details for the file bhashini_client-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for bhashini_client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b1ee1f54929db45967887a920a11b5d0ade08ccdadfa2531ff8c765f4ad49b10
MD5 a7379362b4d03289ee4b234ecb632f7f
BLAKE2b-256 cba72f995093a745785fa5fd72e003f880d2c678581a1b626dc5700f5ca499bf

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