{"id":23527568,"url":"https://github.com/any-bot/speech-to-text-python","last_synced_at":"2025-07-20T07:34:53.463Z","repository":{"id":263726565,"uuid":"891299692","full_name":"Any-bot/speech-to-text-python","owner":"Any-bot","description":"This is a Python script that transcribes audio files to text using Google's speech recognition API. The script can handle audio files in WAV, MP3, M4A, OGG, or FLAC format.","archived":false,"fork":false,"pushed_at":"2024-11-20T04:51:34.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-12-25T20:16:14.027Z","etag":null,"topics":["converter","python","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Any-bot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-11-20T04:46:35.000Z","updated_at":"2024-11-20T04:52:23.000Z","dependencies_parsed_at":"2024-11-20T21:19:06.895Z","dependency_job_id":null,"html_url":"https://github.com/Any-bot/speech-to-text-python","commit_stats":null,"previous_names":["any-bot/speech-to-text-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Any-bot%2Fspeech-to-text-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Any-bot%2Fspeech-to-text-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Any-bot%2Fspeech-to-text-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Any-bot%2Fspeech-to-text-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Any-bot","download_url":"https://codeload.github.com/Any-bot/speech-to-text-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239222871,"owners_count":19602687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["converter","python","speech-to-text"],"created_at":"2024-12-25T20:16:15.870Z","updated_at":"2025-02-17T02:28:27.902Z","avatar_url":"https://github.com/Any-bot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Speech-to-Text Transcription Script\n\nThis is a Python script that transcribes audio files to text using Google's speech recognition API. The script can handle audio files in WAV, MP3, M4A, OGG, or FLAC format.\n\n## Dependencies\n\nThe following libraries are required to run this script:\n\n- SpeechRecognition\n- Pydub\n\nYou can install these libraries using pip:\n\n```pip\npip install SpeechRecognition pydub\n```\n\n## Usage\n\nTo use the script, simply run `speech_to_text.py` and follow the prompts:\n\n```python\npython speech_to_text.py\n```\n\nThe script will ask you to enter the path to the input audio file, the path to the output file, and the language code for the audio file.\n\n## How It Works\n\nThe script first converts the input audio file to WAV format if necessary using the Pydub library. It then transcribes the audio data to text using the SpeechRecognition library and the Google speech recognition API. Finally, it writes the transcribed text to the output file.\n\n## Why Use This Script?\n\nThis script can be useful for anyone who needs to transcribe audio files to text, such as researchers, journalists, and content creators. It provides a simple and efficient way to transcribe audio data, with support for multiple audio formats and languages.\n\n## Supported Languages\n\n| Language     | Code  |\n| ------------ | ----- |\n| English (US) | en-US |\n| English (UK) | en-GB |\n| French       | fr-FR |\n| German       | de-DE |\n| Spanish      | es-ES |\n| Italian      | it-IT |\n\nNote that this is not an exhaustive list of supported languages. For a full list of supported languages and their corresponding codes, see the [SpeechRecognition documentation](https://cloud.google.com/speech-to-text/docs/speech-to-text-supported-languages).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fany-bot%2Fspeech-to-text-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fany-bot%2Fspeech-to-text-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fany-bot%2Fspeech-to-text-python/lists"}