{"id":19401236,"url":"https://github.com/mishamyrt/myrt_desk_api","last_synced_at":"2025-02-24T23:42:35.888Z","repository":{"id":108579344,"uuid":"563966434","full_name":"mishamyrt/myrt_desk_api","owner":"mishamyrt","description":"🧠 MyrtDesk API and CLI tool","archived":false,"fork":false,"pushed_at":"2024-05-09T09:27:59.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T11:50:40.572Z","etag":null,"topics":["asyncio","iot","udp"],"latest_commit_sha":null,"homepage":"","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/mishamyrt.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-09T17:55:08.000Z","updated_at":"2024-05-09T09:28:02.000Z","dependencies_parsed_at":"2024-05-09T10:50:15.249Z","dependency_job_id":null,"html_url":"https://github.com/mishamyrt/myrt_desk_api","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Fmyrt_desk_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Fmyrt_desk_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Fmyrt_desk_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishamyrt%2Fmyrt_desk_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mishamyrt","download_url":"https://codeload.github.com/mishamyrt/myrt_desk_api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240576481,"owners_count":19823293,"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":["asyncio","iot","udp"],"created_at":"2024-11-10T11:17:39.390Z","updated_at":"2025-02-24T23:42:35.855Z","avatar_url":"https://github.com/mishamyrt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyrtDesk API [![PyPI version](https://badge.fury.io/py/myrt-desk-api.svg)](https://pypi.org/project/myrt-desk-api/)\n\nLibrary for controlling smart table functions with my own [firmware](https://github.com/mishamyrt/myrt_desk_firmware).\n\n* **Fully asynchronous**\n* Automatic detection\n* Cool CLI tool\n\n## API Example\nThis code will wait for the lights to turn off, then flash the backlight controller and then turn on the rainbow effect:\n\n```py\nfrom asyncio import run\nfrom myrt_desk_api import MyrtDesk, Effect\n\nasync def main():\n    desk_host = await discover()\n    desk = MyrtDesk(desk_host)\n    await desk.backlight.set_power(False)\n    with open(\"./firmware.hex\", mode=\"rb\") as file:\n        await desk.backlight.update_firmware(file.read())\n    await desk.backlight.set_effect(Effect.RAINBOW)\n\nif __name__ == '__main__':\n    run(main())\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishamyrt%2Fmyrt_desk_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmishamyrt%2Fmyrt_desk_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishamyrt%2Fmyrt_desk_api/lists"}