{"id":18764371,"url":"https://github.com/momsfriendlyrobotcompany/ttastromech","last_synced_at":"2025-04-13T04:51:24.161Z","repository":{"id":62585442,"uuid":"94124182","full_name":"MomsFriendlyRobotCompany/ttastromech","owner":"MomsFriendlyRobotCompany","description":"Make sounds like an Astromech (R2-D2)","archived":false,"fork":false,"pushed_at":"2024-11-23T19:55:56.000Z","size":4065,"stargazers_count":19,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T21:47:18.927Z","etag":null,"topics":["astromech","python2","python3","r2d2"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/ttastromech/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MomsFriendlyRobotCompany.png","metadata":{"files":{"readme":"readme.rst","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}},"created_at":"2017-06-12T17:46:41.000Z","updated_at":"2025-03-24T05:31:55.000Z","dependencies_parsed_at":"2022-11-03T22:02:44.398Z","dependency_job_id":null,"html_url":"https://github.com/MomsFriendlyRobotCompany/ttastromech","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/MomsFriendlyRobotCompany%2Fttastromech","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MomsFriendlyRobotCompany%2Fttastromech/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MomsFriendlyRobotCompany%2Fttastromech/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MomsFriendlyRobotCompany%2Fttastromech/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MomsFriendlyRobotCompany","download_url":"https://codeload.github.com/MomsFriendlyRobotCompany/ttastromech/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665755,"owners_count":21142123,"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":["astromech","python2","python3","r2d2"],"created_at":"2024-11-07T18:29:37.798Z","updated_at":"2025-04-13T04:51:24.142Z","avatar_url":"https://github.com/MomsFriendlyRobotCompany.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://raw.githubusercontent.com/MomsFriendlyRobotCompany/ttastromech/master/docs/pics/r2.gif\n\t:target: https://github.com/MomsFriendlyRobotCompany/ttastromech\n\nText to Astromech\n========================\n\n.. image:: https://img.shields.io/pypi/l/ttastromech.svg\n\t:target: https://github.com/MomsFriendlyRobotCompany/ttastromech\n.. image:: https://img.shields.io/pypi/pyversions/ttastromech.svg\n\t:target: https://github.com/MomsFriendlyRobotCompany/ttastromech\n.. image:: https://img.shields.io/pypi/wheel/ttastromech.svg\n\t:target: https://github.com/MomsFriendlyRobotCompany/ttastromech\n.. image:: https://img.shields.io/pypi/v/ttastromech.svg\n\t:target: https://github.com/MomsFriendlyRobotCompany/ttastromech\n\nThis was originally created by `Hugo SCHOCH \u003chttps://github.com/hug33k/PyTalk-R2D2\u003e`_.\nI just packaged it on pypi and use it for an R2D2 project I am working on.\n\nIt works by assigning an R2-D2 sound to each letter of the alphabet, then, when you pass\nit a string, it makes sounds like an astromech. Currently it only supports Linux and\nmacOS.\n\n========= ================\nOS        Audio Program\n========= ================\nmacOS     ``afplay``\nlinux     ``play`` from libsox\nlinux     ``aplay`` from alsa\n========= ================\n\nInstall\n----------\n\nThe preferred method of installation is::\n\n\tpip install ttastromech\n\nUsage\n-------\n\n.. code-block:: python\n\n\tfrom ttastromech import TTAstromech\n\timport time\n\n\n\tif __name__ == '__main__':\n\t\tr2 = TTAstromech()\n\n\t\ttry:\n\t\t\tr2.run()  # make random astromech sounds by feeding it random strings of letters\n\t\t\ttime.sleep(2)\n\t\texcept KeyboardInterrupt:\n\t\t\tprint('bye ...')\n\nOr::\n\n\tastromech.py \"my god, its full of stars ... oh wait, the wrong movie\"\n\nMIT License\n============\n\n**Copyright (c) 2015 SCHOCH Hugo**\n\n**Copyright (c) 2017 Kevin J. Walchko**\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomsfriendlyrobotcompany%2Fttastromech","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmomsfriendlyrobotcompany%2Fttastromech","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomsfriendlyrobotcompany%2Fttastromech/lists"}