aiolip-1.1.6
توضیحات
Async Lutron Integration Protocol
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aiolip-1.1.6 |
| نام | aiolip |
| نسخه کتابخانه | 1.1.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | J. Nick Koston |
| ایمیل نویسنده | nick@koston.org |
| آدرس صفحه اصلی | https://github.com/bdraco/aiolip |
| آدرس اینترنتی | https://pypi.org/project/aiolip/ |
| مجوز | Apache Software License 2.0 |
=================================
Async Lutron Integration Protocol
=================================
.. image:: https://img.shields.io/pypi/v/aiolip.svg
:target: https://pypi.python.org/pypi/aiolip
.. image:: https://img.shields.io/travis/bdraco/aiolip.svg
:target: https://travis-ci.com/bdraco/aiolip
.. image:: https://readthedocs.org/projects/aiolip/badge/?version=latest
:target: https://aiolip.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
Async Lutron Integration Protocol
* Free software: Apache Software License 2.0
* Documentation: https://aiolip.readthedocs.io.
Example Usage
-------------
.. code-block:: python
import asyncio
import logging
from aiolip import LIP
from aiolip.data import LIPMode
_LOGGER = logging.getLogger(__name__)
async def main():
lip = LIP()
logging.basicConfig(level=logging.DEBUG)
await lip.async_connect("192.168.209.70")
def message(msg):
_LOGGER.warning(msg)
lip.subscribe(message)
run_task = asyncio.create_task(lip.async_run())
await run_task
await lip.async_stop()
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Credits
-------
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
1.0.0 (2021-01-18)
------------------
* First release on PyPI.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5 | Python |
نحوه نصب
نصب پکیج whl aiolip-1.1.6:
pip install aiolip-1.1.6.whl
نصب پکیج tar.gz aiolip-1.1.6:
pip install aiolip-1.1.6.tar.gz