文件名称:python-rokuecp:Roku(ECP)的异步Python客户端
文件大小:40KB
文件格式:ZIP
更新时间:2024-03-12 03:09:04
Python
Python:Roku(ECP)客户端 使用Roku设备的异步Python客户端。 关于 该软件包可让您监视和控制Roku设备。 安装 pip install rokuecp 用法 import asyncio from rokuecp import Roku async def main (): """Show example of connecting to your Roku device.""" async with Roku ( "192.168.1.100" ) as roku : print ( roku ) if __name__ == "__main__" : loop = asyncio . get_event_loop () loop . run_until_complete ( main ())
【文件预览】:
python-rokuecp-master
----.flake8(45B)
----.gitignore(2KB)
----.devcontainer()
--------devcontainer.json(584B)
----README.md(630B)
----.github()
--------release-drafter.yml(436B)
--------workflows()
--------dependabot.yml(307B)
----.pre-commit-config.yaml(2KB)
----pylintrc(11KB)
----tests()
--------test_client.py(5KB)
--------fixtures()
--------test_models.py(8KB)
--------__init__.py(217B)
--------test_interface.py(24KB)
----examples()
--------device.py(610B)
----LICENSE(1KB)
----rokuecp()
--------models.py(7KB)
--------exceptions.py(188B)
--------rokuecp.py(7KB)
--------__init__.py(148B)
--------__version__.py(66B)
--------client.py(3KB)
--------const.py(1KB)
----requirements.txt(45B)
----requirements_test.txt(166B)
----MANIFEST.in(102B)
----.isort.cfg(90B)
----setup.py(2KB)
----.editorconfig(311B)
----Dockerfile.dev(3KB)
----requirements_dev.txt(109B)
----.yamllint(1KB)