{"id":16411412,"url":"https://github.com/yetone/baidu_tts","last_synced_at":"2025-10-26T19:30:47.752Z","repository":{"id":57413788,"uuid":"68079351","full_name":"yetone/baidu_tts","owner":"yetone","description":"A Python lib of Baidu TTS.","archived":false,"fork":false,"pushed_at":"2016-12-29T02:44:58.000Z","size":3,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T03:46:16.634Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yetone.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}},"created_at":"2016-09-13T06:03:35.000Z","updated_at":"2021-01-07T12:09:09.000Z","dependencies_parsed_at":"2022-09-04T22:50:29.185Z","dependency_job_id":null,"html_url":"https://github.com/yetone/baidu_tts","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetone%2Fbaidu_tts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetone%2Fbaidu_tts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetone%2Fbaidu_tts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetone%2Fbaidu_tts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yetone","download_url":"https://codeload.github.com/yetone/baidu_tts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238386364,"owners_count":19463351,"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-11T06:45:26.514Z","updated_at":"2025-10-26T19:30:42.459Z","avatar_url":"https://github.com/yetone.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# baidu_tts\n\nA Python lib of Baidu TTS.\n\n## Installation\n\n    $ pip install baidu_tts\n\n## Usage\n\n```python\nfrom baidu_tts import BaiduTTS\n\n\ntts = BaiduTTS(YOUR_API_KEY, YOUR_SECRET_KEY)\nsound_buffer = tts.say('你好')  # get sound buffer\n\nsound_buffer.write('/tmp/hello.mp3')  # save to file\ncontent = sound_buffer.read()  # get binary content\n\nstream = sound_buffer.stream  # get binary stream\n\n# iter content\nfor chunk in sound_buffer.iter_content(chunk_size=1024):\n    if chunk:\n        ...\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetone%2Fbaidu_tts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyetone%2Fbaidu_tts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetone%2Fbaidu_tts/lists"}