{"id":37084604,"url":"https://github.com/phillychi3/dglab-v3-python","last_synced_at":"2026-01-14T10:22:54.861Z","repository":{"id":258747325,"uuid":"874324815","full_name":"phillychi3/dglab-v3-python","owner":"phillychi3","description":"dgalb v3  python lib","archived":false,"fork":false,"pushed_at":"2025-09-15T12:51:44.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-30T12:29:20.734Z","etag":null,"topics":["dg-lab","dglab"],"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/phillychi3.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,"zenodo":null}},"created_at":"2024-10-17T16:16:31.000Z","updated_at":"2025-09-15T12:51:48.000Z","dependencies_parsed_at":"2025-07-20T10:08:23.478Z","dependency_job_id":"91af0e33-2bb6-4a42-8dee-0e2eea00823a","html_url":"https://github.com/phillychi3/dglab-v3-python","commit_stats":null,"previous_names":["phillychi3/dglab-v3-python"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/phillychi3/dglab-v3-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phillychi3%2Fdglab-v3-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phillychi3%2Fdglab-v3-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phillychi3%2Fdglab-v3-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phillychi3%2Fdglab-v3-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phillychi3","download_url":"https://codeload.github.com/phillychi3/dglab-v3-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phillychi3%2Fdglab-v3-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28417008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:18:03.274Z","status":"ssl_error","status_checked_at":"2026-01-14T10:16:11.865Z","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":["dg-lab","dglab"],"created_at":"2026-01-14T10:22:54.198Z","updated_at":"2026-01-14T10:22:54.855Z","avatar_url":"https://github.com/phillychi3.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DGLAB V3 webhook\n\n僅提供客戶端\\\n並無伺服端功能\n\n\u003e [!Warning]\n\u003e 絕讚開發中，測試尚未編寫完全\n\n## 安裝\n\n```bash\npip install --upgrade dglabv3\n```\n\n## 簡單範例\n\n```python\nimport asyncio\nfrom dglabv3 import dglabv3\nfrom dglabv3 import Channel, StrengthType, Pulse\n\n\nclient = dglabv3()\n\n\nasync def run():\n    try:\n        await client.connect_and_wait(timeout=30)\n        print(client.generate_qrcode_text())\n        await client.wait_for_app_connect(timeout=60)\n        await client.set_strength_value(Channel.A, 20)\n        await asyncio.sleep(1)\n        await client.send_wave_message(Pulse().breath, 30, Channel.A)\n\n    except Exception as e:\n        print(f\"An error occurred: {e}\")\n        exit(1)\n    finally:\n        await client.close()\n\n\n\nif __name__ == \"__main__\":\n    asyncio.run(run())\n\n```\n\n\u003e [!Note]\n\u003e 如果發現無法設置到自己想要的強度，請檢察目前最高強度在哪裡，預設是 40 秒+1 最大上限，可以手動拉高\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphillychi3%2Fdglab-v3-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphillychi3%2Fdglab-v3-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphillychi3%2Fdglab-v3-python/lists"}