This release is a pre-release and may not be stable for production use.
bulby
Python library for managing the phillips hue lightbulb
Getting Started
To get started you can get a list of your lights and work with them:
from bulby.client import HueBridgeClient
client = HueBridgeClient()
light = client.get_lights()[0]
client.set_color(light.light_id, '00ff00')
and now your light should be green! You can also reference lights by name:
from bulby.client import HueBridgeClient
client = HueBridgeClient()
client.set_color('Office 1', '00ff00')
Development
API Documentation for the Phillips Hue is here:
http://www.developers.meethue.com/
You can test the API of your phillips hue by going to /debug/clip.html.
Running tests
To run the tests you can do the following:
tox -e py34
The first time you run the tests you will need to hold the link button.
Credits
SSDP Module originally developed by Dan Krause here: https://gist.github.com/dankrause/6000248
Hex -> XY originally developed by Ben Knight here: https://github.com/benknight/hue-python-rgb-converter
Metadata
Release files for bulby 0.0.1.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bulby-0.0.1.dev0.tar.gz | 8.4 kB | Without provenance | Details for bulby-0.0.1.dev0.tar.gz |
Release files / bulby-0.0.1.dev0.tar.gz
| Download URL | bulby-0.0.1.dev0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1e23dbe8e6dc7eeb62f62c40a7ac5cfe5ffdafe61c1b60e3d71b882885d1aea
|
|
BLAKE2b-256 checksum How to use checksums |
0423f29abd444c39ade96f79113d1a6b9ef60ac92ec96f4009f2c2d260e995ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bulby 0.0.1.dev0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.