{"id":34113709,"url":"https://github.com/yixinnb/pyscrcpy","last_synced_at":"2026-04-06T07:02:58.588Z","repository":{"id":213829442,"uuid":"735038393","full_name":"yixinNB/pyscrcpy","owner":"yixinNB","description":"Grab screen and control android devices over ADB using python3.12 or later","archived":false,"fork":false,"pushed_at":"2024-01-07T06:37:09.000Z","size":29626,"stargazers_count":22,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-17T03:20:53.461Z","etag":null,"topics":["adb","automation","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pyscrcpy/","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/yixinNB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-23T12:52:58.000Z","updated_at":"2025-11-19T01:34:35.000Z","dependencies_parsed_at":"2023-12-23T13:36:51.983Z","dependency_job_id":"bda09a9f-2b0d-4a43-9eec-8de036d75aa3","html_url":"https://github.com/yixinNB/pyscrcpy","commit_stats":null,"previous_names":["yixinnb/pyscrcpy"],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/yixinNB/pyscrcpy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixinNB%2Fpyscrcpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixinNB%2Fpyscrcpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixinNB%2Fpyscrcpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixinNB%2Fpyscrcpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yixinNB","download_url":"https://codeload.github.com/yixinNB/pyscrcpy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixinNB%2Fpyscrcpy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31463015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["adb","automation","python"],"created_at":"2025-12-14T19:17:40.842Z","updated_at":"2026-04-06T07:02:58.583Z","avatar_url":"https://github.com/yixinNB.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Scrcpy Client\n\n# Introduction\n![scrcpy-badge](https://img.shields.io/badge/scrcpy-v1.20-violet)\n\nA Python Library for scrcpy  \npyscrcpy is an innovative Python library designed to simplify and streamline the integration of scrcpy into your Python projects. Scrcpy, a versatile screen mirroring tool for Android devices, gains a new level of accessibility through the seamless capabilities provided by pyscrcpy.\n\n# Key Features\n\n1. Easy Integration: With pyscrcpy, incorporating scrcpy functionality into your Python scripts becomes a straightforward process. The library abstracts away the complexities, allowing you to focus on leveraging scrcpy's powerful features without the need for intricate setup.\n2. Enhanced Control: pyscrcpy empowers developers to exert precise control over Android devices from within their Python applications. Whether it's automating UI interactions, conducting tests, or creating custom applications, pyscrcpy provides a convenient interface for managing scrcpy commands.\n3. Customization Options: Tailor scrcpy behavior to suit your project's requirements using the customizable options provided by pyscrcpy. Fine-tune parameters such as display size, bit rate, and more, all while maintaining the simplicity of Python scripting.\n\n# Demo \u0026 Tutorial\n```python\nimport cv2 as cv\nfrom pyscrcpy import Client # import scrcpy client\n\n\ndef on_frame(client, frame):\n    client.control.touch(300,500)# emulate touch on(300,500)\n    cv.imshow('Video', frame)\n    cv.waitKey(1)\n\n\ndef demo1():\n    client = Client(max_fps=1, max_size=900)\n    client.on_frame(on_frame)\n    client.start()\n\ndef demo2():\n    client = Client(max_fps=20)\n    client.start(threaded=True)  # create a new thread for scrcpy\n    while 1:\n        if client.last_frame is None:\n            continue\n        on_frame(client, client.last_frame)\n```\n\n## Reference \u0026 Appreciation\n- Fork: [S1M0N38/scrcpy (don't support python3.11)](https://github.com/S1M0N38/scrcpy)\n- Fork: [py-scrcpy-client](https://github.com/leng-yue/py-scrcpy-client)\n- Core: [scrcpy](https://github.com/Genymobile/scrcpy)\n- Idea: [py-android-viewer (many bugs)](https://github.com/razumeiko/py-android-viewer)\n- CI: [index.py](https://github.com/index-py/index.py)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyixinnb%2Fpyscrcpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyixinnb%2Fpyscrcpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyixinnb%2Fpyscrcpy/lists"}