{"id":38951233,"url":"https://github.com/voicegain/python-sdk","last_synced_at":"2026-02-24T08:37:41.111Z","repository":{"id":37877128,"uuid":"285164543","full_name":"voicegain/python-sdk","owner":"voicegain","description":"Python SDK for working with Voicegain Speech-to-Text ","archived":false,"fork":false,"pushed_at":"2026-02-06T04:19:50.000Z","size":21266,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-06T13:37:42.664Z","etag":null,"topics":["python","sdk","sdk-python","speech-recognition","speech-to-text"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/voicegain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-08-05T03:08:43.000Z","updated_at":"2026-02-06T04:19:53.000Z","dependencies_parsed_at":"2023-10-20T00:15:34.425Z","dependency_job_id":"da2e6223-8c7a-44bc-8941-d4557298a3f2","html_url":"https://github.com/voicegain/python-sdk","commit_stats":null,"previous_names":[],"tags_count":179,"template":false,"template_full_name":null,"purl":"pkg:github/voicegain/python-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voicegain%2Fpython-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voicegain%2Fpython-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voicegain%2Fpython-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voicegain%2Fpython-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voicegain","download_url":"https://codeload.github.com/voicegain/python-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voicegain%2Fpython-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29776673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:54:30.205Z","status":"ssl_error","status_checked_at":"2026-02-24T04:53:58.628Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","sdk","sdk-python","speech-recognition","speech-to-text"],"created_at":"2026-01-17T16:09:45.209Z","updated_at":"2026-02-24T08:37:41.093Z","avatar_url":"https://github.com/voicegain.png","language":"Python","readme":"# Voicegain Speech-to-Text Python SDK\n\nPython SDK for the [Voicegain](https://www.voicegain.ai) [Speech-to-Text API](https://portal.voicegain.ai/api/v1/index.html). \n\nThis API allows for large vocabulary speech-to-text transcription as well as grammar-based speech recognition. Both real-time and offline use cases are supported.\n\nYou can see the core Voicegain API documentation [here](https://portal.voicegain.ai/api/v1/index.html). \n\nThe complete documentation for the API covered by this SDK is available [here](https://portal.voicegain.ai/api-documentation) - this link requires an account on the Voicegain portal - see below for how to sign up. \n\n## Requirements\n\nIn order to use this API you need account with Voicegain. You can create an account by signing up on [Voicegain Portal](https://portal.voicegain.ai/signup). No credit card required to sign up.\n\nYou can see pricing [here](https://www.voicegain.ai/pricing) - basically, it is 1 cent a minute for off-line and 1.25 cents a minute for real-time. There is a Free Tier of 600 minutes that renews each month.\n\n## Installation\n\nFrom [PyPI](https://pypi.org/project/voicegain-speech/) directly:\n\n```\npip install voicegain_speech\n```\n\n## Examples\n\n* sync_transcribe example:\n\nconfiguration:\n\n```python\nfrom voicegain_speech import ApiClient\nfrom voicegain_speech import Configuration\nfrom voicegain_speech import TranscribeApi\nimport base64\n\n\n# configure your JWT token\nJWT = \"Your \u003cJWT\u003e\"\n\nconfiguration = Configuration()\nconfiguration.access_token = JWT\n\napi_client = ApiClient(configuration=configuration)\n```\ntranscribe local file:\n```python\ntranscribe_api = TranscribeApi(api_client)\nfile_path = \"Your local file path\"\n\nwith open(file_path, \"rb\") as f:\n    audio_base64 = base64.b64encode(f.read()).decode()\n\nresponse = transcribe_api.asr_transcribe_post(\n    sync_transcription_request={\n        \"audio\": {\n            \"source\": {\n                \"inline\": {\n                    \"data\": audio_base64\n                }\n            }\n        }\n    }\n)\n\nalternatives = response.result.alternatives\nif alternatives:\n    local_result = alternatives[0].utterance\n    print(\"result from file: \", local_result)\n\nelse:\n    local_result = None\n    print(\"no transcription\")\n\n```\n\nMore examples can be found in [examples](https://github.com/voicegain/python-sdk/tree/master/examples) folder on our [GitHub](https://github.com/voicegain/python-sdk)\n\n---\nLearn more about the Voicegain Voice AI Platform at [www.voicegain.ai](https://www.voicegain.ai)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoicegain%2Fpython-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoicegain%2Fpython-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoicegain%2Fpython-sdk/lists"}