semvec/pypi-packages huggingface dataset:
blink1py 0.1.0
blink(1) library wrapper
License: Apache2

========
blink1py
========

Blink(1) python library

Prerequesites
=============

1. Make the blink1 library (see `blink1/commandline <https://github.com/todbot/blink1/tree/master/commandline>`_)

2. Rename the blink1 library to ``libblink1.so.0.0`` (or something that
will resolve as blink1) and add it to your path (ie ldconfig)

Usage
=====

Example::

    blink1 = open_blink1()

    blink1.set_rgb(255, 0, 0)

    blink1.on() #white

    blink1.off()

    blink1.close()


Now with more with!

::

    with blink1py.open_blink1() as blink1:
        blink1.on()