# 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`
Raw data
{
"_id": null,
"home_page": "https://github.com/onelife/PyUsbLamp",
"name": "pyusblamp",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "usblamp,usb,lamp,mailbox,alert,driver",
"author": "onelife",
"author_email": "onelife.real@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/42/63/557c0897ff197eae19cb62f0f2c038c6cea8bf8008c1f0cb52da1fcb14bb/pyusblamp-1.41.tar.gz",
"platform": null,
"description": "# PyUsbLamp\nMailbox Friends Alert (Dream Cheeky) Driver in Python.\n\n## The Device\nBasically, it is a RGB LED connected with USB. \n\n**Vendor ID:** `0x1d34` \n**Product ID:** `0x000a`\n\n![UsbLamp](UsbLamp.png)\n\n## Dependencies\npyusb\n\n## Installation\n1. For Linux only\n\n 1. Install \"libusb\"\n \n E.g. `sudo apt-get install libusb-dev`\n \n 2. Change device access right\n \n Add file, /etc/udev/rules.d/88-pyusblamp.rules, with the following content\n \n ```\n SUBSYSTEM==\"usb\", ATTR{idVendor}==\"1d34\", ATTR{idProduct}==\"000a\", MODE=\"0666\"\n SUBSYSTEM==\"usb\", ATTR{idVendor}==\"1d34\", ATTR{idProduct}==\"0004\", MODE=\"0666\"\n ```\n \n2. Install PyUsbLamp\n \n 1. Install from Pypi\n\n `pip install pyusblamp`\n \n or\n \n 2. Install from GitHub\n\n `pip install git+https://github.com/onelife/PyUsbLamp.git`\n\n",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "Mailbox Friends Alert (Dream Cheeky) Driver",
"version": "1.41",
"project_urls": {
"Download": "https://github.com/onelife/PyUsbLamp/archive/1.41.tar.gz",
"Homepage": "https://github.com/onelife/PyUsbLamp"
},
"split_keywords": [
"usblamp",
"usb",
"lamp",
"mailbox",
"alert",
"driver"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4263557c0897ff197eae19cb62f0f2c038c6cea8bf8008c1f0cb52da1fcb14bb",
"md5": "aa703ce3fbdfa21db8c1286b757ac076",
"sha256": "8211193ffcb603e9ab05ddb2ed315e246709d65e8de526bf7e7693b9f29b82ba"
},
"downloads": -1,
"filename": "pyusblamp-1.41.tar.gz",
"has_sig": false,
"md5_digest": "aa703ce3fbdfa21db8c1286b757ac076",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 541451,
"upload_time": "2023-12-05T05:38:12",
"upload_time_iso_8601": "2023-12-05T05:38:12.557701Z",
"url": "https://files.pythonhosted.org/packages/42/63/557c0897ff197eae19cb62f0f2c038c6cea8bf8008c1f0cb52da1fcb14bb/pyusblamp-1.41.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-05 05:38:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "onelife",
"github_project": "PyUsbLamp",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "pyusblamp"
}