معرفی شرکت ها


androidtvremote2-0.0.7


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A Python library for interacting with Android TV using the Android TV Remote protocol v2
ویژگی مقدار
سیستم عامل -
نام فایل androidtvremote2-0.0.7
نام androidtvremote2
نسخه کتابخانه 0.0.7
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده tronikos <tronikos@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/androidtvremote2/
مجوز Apache-2.0
# androidtvremote2 A Python library for interacting with Android TV using the Android TV Remote protocol v2. This is the same protocol the Google TV mobile app is using. It doesn't require ADB or enabling developer tools on the Android TV device. It only requires the [Android TV Remote Service](https://play.google.com/store/apps/details?id=com.google.android.tv.remote.service) that comes pre-installed on most Android TV devices. For a list of the most common commands you can send to the Android TV see: [TvKeys](https://github.com/tronikos/androidtvremote2/blob/main/TvKeys.txt). For a full list see [here](https://github.com/tronikos/androidtvremote2/blob/main/src/androidtvremote2/remotemessage.proto#L90). In addition to commands you can send URLs to open apps registered to handle them. ## Credits - Official [implementation](https://android.googlesource.com/platform/external/google-tv-pairing-protocol/+/refs/heads/master) of the pairing protocol in Java - [Implementation](https://github.com/farshid616/Android-TV-Remote-Controller-Python) in Python but for the old v1 protocol - [Implementation](https://github.com/louis49/androidtv-remote) in Node JS for the v2 protocol - [Description](https://github.com/Aymkdn/assistant-freebox-cloud/wiki/Google-TV-(aka-Android-TV)-Remote-Control-(v2)) of the v2 protocol ## Example See [demo.py](https://github.com/tronikos/androidtvremote2/blob/main/src/demo.py) ## Development environment ```sh python3 -m venv .venv source .venv/bin/activate # for Windows CMD: # .venv\Scripts\activate.bat # for Windows PowerShell: # .venv\Scripts\Activate.ps1 # Install dependencies python -m pip install --upgrade pip python -m pip install . # Generate *_pb2.py from *.proto python -m pip install grpcio-tools python -m grpc_tools.protoc src/androidtvremote2/*.proto --python_out=src/androidtvremote2 -Isrc/androidtvremote2 # Run formatter python -m pip install isort black isort . black . # Run lint python -m pip install flake8 ruff flake8 . ruff . # Run tests python -m pip install pytest pytest # Run demo python -m pip install pynput zeroconf python src/demo.py # Build package python -m pip install build python -m build ```


نیازمندی

مقدار نام
>=0.8 aiofiles
>=3 cryptography
>=4.21 protobuf


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl androidtvremote2-0.0.7:

    pip install androidtvremote2-0.0.7.whl


نصب پکیج tar.gz androidtvremote2-0.0.7:

    pip install androidtvremote2-0.0.7.tar.gz