Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aiolip

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aiolip

Async Lutron Integration Protocol

  • 1.1.6
  • PyPI
  • Socket score

Maintainers
1

================================= 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

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc