{"id":37074176,"url":"https://github.com/dobizz/pyplayht","last_synced_at":"2026-01-14T08:44:00.697Z","repository":{"id":205573235,"uuid":"712438642","full_name":"dobizz/pyplayht","owner":"dobizz","description":"PlayHT API Python wrapper","archived":false,"fork":false,"pushed_at":"2024-09-03T22:32:29.000Z","size":33,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-07T05:32:04.817Z","etag":null,"topics":["ai","automation","generative-ai","python","text-to-speech","voice-ai"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pyplayht/","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/dobizz.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}},"created_at":"2023-10-31T13:26:52.000Z","updated_at":"2024-12-06T17:06:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"22eebfc2-0dce-4920-a692-ded49f21d696","html_url":"https://github.com/dobizz/pyplayht","commit_stats":null,"previous_names":["dobizz/pyplayht"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dobizz/pyplayht","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobizz%2Fpyplayht","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobizz%2Fpyplayht/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobizz%2Fpyplayht/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobizz%2Fpyplayht/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dobizz","download_url":"https://codeload.github.com/dobizz/pyplayht/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobizz%2Fpyplayht/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["ai","automation","generative-ai","python","text-to-speech","voice-ai"],"created_at":"2026-01-14T08:43:59.982Z","updated_at":"2026-01-14T08:44:00.685Z","avatar_url":"https://github.com/dobizz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyplayht\n\nPython wrapper for PlayHT API\nhttps://docs.play.ht/reference/api-getting-started\n\n### Installation\n```bash\npip install pyplayht\n```\n\n### Environmental Variables\nGet your keys from https://play.ht/app/api-access\n| Name | Value |\n| --- | --- |\n| `PLAY_HT_USER_ID` | account user id |\n| `PLAY_HT_API_KEY` | account secret key |\n\n### Sample Code\n```python\nfrom pathlib import Path\n\nfrom pyplayht.classes import Client\n\n# create new client\nclient = Client()\n\n# create new conversion job\njob = client.new_conversion_job(\n    text=\"Hello, World!\",\n    voice=\"en-US-JennyNeural\",\n)\n\n# check job status\njob = client.get_coversion_job_status(job.get(\"transcriptionId\"))\n\n# download audio from job\ndata = client.download_file(job.get('audioUrl'))\n\n# do something with audio bytes\npath = Path(\"demo.mp3\")\npath.write_bytes(data)\n```\n\n\n### Developer Instructions\nRun the dev setup scripts inside `scripts` directory\n```bash\n├── scripts\n│   ├── setup-dev.bat # windows\n│   └── setup-dev.sh # linux\n```\n\nInstall the `pyplayht` package as editable\nhttps://setuptools.pypa.io/en/latest/userguide/development_mode.html\n```bash\npip install -e .\n```\n\nWhen making a commit, use the command `cz commit` or `cz c`\n\nYou may also use the regular `git commit` command but make sure to follow the `Conventional Commits` specification\nhttps://www.conventionalcommits.org/en/v1.0.0/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdobizz%2Fpyplayht","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdobizz%2Fpyplayht","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdobizz%2Fpyplayht/lists"}