emo-connect-python-0.1.1


توضیحات

Python library for connecting and interacting with an EMO pet
ویژگی مقدار
سیستم عامل OS Independent
نام فایل emo-connect-python-0.1.1
نام emo-connect-python
نسخه کتابخانه 0.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Clark Scheff
ایمیل نویسنده clark@scheffsblend.com
آدرس صفحه اصلی https://github.com/0xD34D/emo-connect-python
آدرس اینترنتی https://pypi.org/project/emo-connect-python/
مجوز -
# emo-connect-python Python library for connecting and interacting with an EMO pet ## Usage ```bash pip install emo-connect-python ``` ## Example ```python import asyncio import json import logging from emoconnect.EmoConnectManager import EmoConnectManager from emoconnect.ble.request import StateRequest logging.basicConfig(format='[EMO] %(asctime)s %(levelname)s %(message)s') logger = logging.getLogger() # can be changed to logging.DEBUG for debugging issues logger.setLevel(logging.INFO) async def main(): ecm = EmoConnectManager() await ecm.connectToEmo() state = await ecm.sendRequest(StateRequest.everything()) print(state) await ecm.disconnect() asyncio.run(main()) ```


نیازمندی

مقدار نام
- bleak
- bleak-retry-connector


نحوه نصب


نصب پکیج whl emo-connect-python-0.1.1:

    pip install emo-connect-python-0.1.1.whl


نصب پکیج tar.gz emo-connect-python-0.1.1:

    pip install emo-connect-python-0.1.1.tar.gz