Metadata-Version: 2.1
Name: pyusblamp
Version: 1.41
Summary: Mailbox Friends Alert (Dream Cheeky) Driver
Home-page: https://github.com/onelife/PyUsbLamp
Download-URL: https://github.com/onelife/PyUsbLamp/archive/1.41.tar.gz
Author: onelife
Author-email: onelife.real@gmail.com
License: GPLv3
Keywords: usblamp,usb,lamp,mailbox,alert,driver
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Natural Language :: English
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: System :: Hardware :: Hardware Drivers
Description-Content-Type: text/markdown
Provides-Extra: test
License-File: LICENSE

# PyUsbLamp
Mailbox Friends Alert (Dream Cheeky) Driver in Python.

## The Device
Basically, it is a RGB LED connected with USB. 

**Vendor ID:** `0x1d34`  
**Product ID:** `0x000a`

![UsbLamp](UsbLamp.png)

## Dependencies
pyusb

## Installation
1. For Linux only

    1. Install "libusb"
   
        E.g. `sudo apt-get install libusb-dev`
        
    2. Change device access right
        
        Add file, /etc/udev/rules.d/88-pyusblamp.rules, with the following content
        
        ```
        SUBSYSTEM=="usb", ATTR{idVendor}=="1d34", ATTR{idProduct}=="000a", MODE="0666"
        SUBSYSTEM=="usb", ATTR{idVendor}=="1d34", ATTR{idProduct}=="0004", MODE="0666"
        ```
   
2. Install PyUsbLamp
   
    1. Install from Pypi

        `pip install pyusblamp`
      
        or
      
    2. Install from GitHub

        `pip install git+https://github.com/onelife/PyUsbLamp.git`

