This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A full-featured Python client for the Philips Hue lighting system.


Installation using pip (recommended):

pip install python-hue-client

Installation using easy_install:

easy_install python-hue-client


Documentation can be found at

Quick Start

This library is modelled roughly on concepts borrowed from Django’s ORM. There are some examples available in GitHub, but let’s dive in with an example that list all the available lights:

from pprint import pprint
from hueclient.api import hue_api
from hueclient.models.light import Light

if __name__ == '__main__':
    hue_api.authenticate_interactive(app_name='List Lights Example')

    for light in Light.objects.all():
            "Light {id} is named '{name}' and is {onoff} (brightness: {brightness})".format(
                onoff='on' if light.state.on else 'off',

Here is an example which blinks a specific light:

from time import sleep
from hueclient.api import hue_api
from hueclient.models.light import Light

# examples/
if __name__ == '__main__':
    # Make sure we are authenticated with the hue bridge.
    # You will be prompted if no username is found in ~/.python_hue
    hue_api.authenticate_interactive(app_name='Blink Light Example')

    # Get light ID 1
    light = Light.objects.get(id=1)

    # Loop forever
    while True:
        # Flip the on state from on -> off / off -> on
        light.state.on = not light.state.on

        # Save the state back to the bridge
        # (Note: required in order for your changes to take effect)

        # Pause here for a couple of seconds to create a slow blink
        # (Note: It is important to sleep here at least a little to
        # avoid overloading the bridge with API requests)

For more information see the full documentation.


Developed by Adam Charnock, contributions very welcome!

python-hue-client is packaged using seed.

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python_hue_client-0.1.0-cp27-none-macosx_10_10_x86_64.whl (4.6 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Sep 15, 2015
python-hue-client-0.1.0.tar.gz (917.0 kB) Copy SHA256 Checksum SHA256 Source Sep 15, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting