{"id":16237808,"url":"https://github.com/marcus67/python_google_speak","last_synced_at":"2025-04-03T13:30:45.080Z","repository":{"id":98035783,"uuid":"149185677","full_name":"marcus67/python_google_speak","owner":"marcus67","description":"Python module that uses a Google Translate online web service to convert short  texts into high quality MP3 tracks","archived":false,"fork":false,"pushed_at":"2024-12-26T00:09:29.000Z","size":79,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T02:38:31.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcus67.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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}},"created_at":"2018-09-17T20:43:48.000Z","updated_at":"2024-12-25T23:55:45.000Z","dependencies_parsed_at":"2024-03-19T09:50:08.178Z","dependency_job_id":null,"html_url":"https://github.com/marcus67/python_google_speak","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcus67%2Fpython_google_speak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcus67%2Fpython_google_speak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcus67%2Fpython_google_speak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcus67%2Fpython_google_speak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcus67","download_url":"https://codeload.github.com/marcus67/python_google_speak/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247009471,"owners_count":20868559,"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":[],"created_at":"2024-10-10T13:37:14.859Z","updated_at":"2025-04-03T13:30:45.074Z","avatar_url":"https://github.com/marcus67.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python_google_speak\nThis is a little Python module that uses a Google Translate online web service to convert short \ntexts into high quality MP3 tracks.\n\n## Source Repository ##\n\nSee https://github.com/marcus67/python_google_speak\n\n## CircleCI Continuous Integration Status\n\n\u003cA HREF=\"https://circleci.com/gh/marcus67/python_google_speak/tree/master\"\u003e\u003cIMG SRC=\"https://img.shields.io/circleci/project/github/marcus67/python_google_speak.svg?label=Python3%20master\"\u003e\u003c/A\u003e \n\n## GitHub Status\n\n\u003cA HREF=\"https://github.com/marcus67/python_google_speak\"\u003e\u003cIMG SRC=\"https://img.shields.io/github/forks/marcus67/python_google_speak.svg?label=forks\"\u003e\u003c/A\u003e \u003cA HREF=\"https://github.com/marcus67/python_google_speak/stargazers\"\u003e\u003cIMG SRC=\"https://img.shields.io/github/stars/marcus67/python_google_speak.svg?label=stars\"\u003e\u003c/A\u003e \u003cA HREF=\"https://github.com/marcus67/python_google_speak/watchers\"\u003e\u003cIMG SRC=\"https://img.shields.io/github/watchers/marcus67/python_google_speak.svg?label=watchers\"\u003e\u003c/A\u003e \u003cA HREF=\"https://github.com/marcus67/python_google_speak/issues\"\u003e\u003cIMG SRC=\"https://img.shields.io/github/issues/marcus67/python_google_speak.svg\"\u003e\u003c/A\u003e \u003cA HREF=\"https://github.com/marcus67/python_google_speak/pulls\"\u003e\u003cIMG SRC=\"https://img.shields.io/github/issues-pr/marcus67/python_google_speak.svg\"\u003e\u003c/A\u003e\n## Sample Usage ##\n\u003cPRE\u003e\nfrom python_google_speak import speech_generator\nfrom python_google_speak import speech_output\n\nsound_generator = speech_generator.SpeechGenerator(p_locale=\"en_US\")\nsound_data = sound_generator.generate_audio_data(\"hello.\")\nspeech_output.playback_audio_data(sound_data) \n\n\u003c/PRE\u003e\n\n## Caveats ##\n* Google limits the length of the text to a few hundred characters.\n* The library `playsound` which is used by `speech_output` has issues when called from within \na virtual environment.\n\n## Command Line Interface\n\nThe tool can be called from the command line as follows:\n\n\u003cPRE\u003e\n# To output to the standard audio device:\n\u003e google_speak --locale \"en_US\" \"hello!\"\n\n# To write audio data to a file\n\u003e google_speak --locale \"en_US\" --outfile \"hello.mp3\" \"hello!\"\n\u003c/PRE\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcus67%2Fpython_google_speak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcus67%2Fpython_google_speak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcus67%2Fpython_google_speak/lists"}