hue_api
This is a simple Python API client for Philips Hue lights.
First time Setup
To use this api client for the first time, use:
from hue_api import HueApi
api = HueApi()
api.create_new_user(bridge_ip_address)
Where the bridge IP address is the addres on the local network of your Philips Hue bridge. For this to succeed, you must first press the link button on the bridge.
The response will be saved to the module's install directory, and you can subsequently call
api.load_existing() to access that saved user and IP address the next time you instantiate a HueApi object.
Lights API
This client provides functionality to control lights currently linked to the hue bridge. Calling api.fetch_lights() populates an array of HueLight objects stored in api.lights.
You can then call api.list_lights() to get a list of the lights available on the network.
See documentation for details on what controls are available.
Metadata
Release files for hue-py 0.3.1
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 |
|---|---|---|---|---|
| hue_py-0.3.1.tar.gz | 8.9 kB | Without provenance | Details for hue_py-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hue_py-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for hue_py-0.3.1-py3-none-any.whl |
Total release size: 18.8 kB
Release files / hue_py-0.3.1.tar.gz
| Download URL | hue_py-0.3.1.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e86308545cc2bbea3eb1311fa95d78ab6f781488cf807790e0d528c98cd3b74
|
|
BLAKE2b-256 checksum How to use checksums |
13f2762df5808354908dd3ac6b96a6eda6daebcf16c4e747336b987d0a47ccd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Release files / hue_py-0.3.1-py3-none-any.whl
| Download URL | hue_py-0.3.1-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8ecfc60327bee031ed4b470d2186bda71894012b7f4a41d39af01cbb4b94f18
|
|
BLAKE2b-256 checksum How to use checksums |
3dec7348d81ac9e1eba9f60c545ffaa0f66dc72e544db30e0eeb051228c7b0a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Security for hue-py 0.3.1
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.