Metadata-Version: 2.1
Name: scrcpy-client
Version: 0.2.0
Summary: A client of scrcpy
Home-page: https://github.com/leng-yue/py-scrcpy-client
License: MIT
Author: lengyue
Author-email: lengyue@lengyue.me
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: adbutils (>=0.11.0,<0.12.0)
Requires-Dist: av (>=8.0.3,<9.0.0)
Requires-Dist: opencv-python (>=4.5.3,<5.0.0)
Project-URL: Repository, https://github.com/leng-yue/py-scrcpy-client
Description-Content-Type: text/markdown

# Python Scrcpy Client

![pypi package](https://img.shields.io/pypi/v/scrcpy-client)
![build](https://img.shields.io/github/workflow/status/leng-yue/py-scrcpy-client/CI)
![license](https://img.shields.io/github/license/leng-yue/py-scrcpy-client)
![scrcpy](https://img.shields.io/badge/scrcpy-v1.18-violet)

This package allows you to view and control android device in realtime. 

![demo gif](https://raw.githubusercontent.com/leng-yue/py-scrcpy-client/main/demo.gif)

## How to use
To begin with, you need to install this package via pip:
```shell
pip install scrcpy-client
```
Then, you can start `demo.py`:
```shell
python demo.py
```

## Contribution & Development
Please check scrcpy server 1.18 source code: [Link](https://github.com/Genymobile/scrcpy/tree/v1.18/server)

## TODO:
- [x] Support all KeyCodes
- [x] Update scrcpy to 1.18
- [ ] Add control unit test

## Reference
- [py-android-viewer](https://github.com/razumeiko/py-android-viewer)
- [scrcpy](https://github.com/Genymobile/scrcpy)

