Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

CLIFX

Cross-platform CLI for LIFX devices

demo.gif

Table of Contents

Installation

pip install clifx

Usage

Interactive

clifx  # interactive prompt - specify device and new hue, saturation, brightness and colour temp

Examples

# set the device labelled 'Strip' to...
clifx -l Strip -h 50 -s 50 -v 50 -k 6500 # soft cyan with a daylight colour temp
clifx -l Strip -h 0 -s 100 -v 100 -k 6500 # pure red at 100% brightness

Options

clifx --help  # display help

Script Template

Windows

Contents of <your-preset>.ps1

# TODO

Linux/Mac

Contents of <your-preset>.sh:

#!/bin/bash
clifx -l <device-label> -h <hue> -s <saturation> -v <value> -k <kelvin>

Development

Installation

git clone https://gitlab.com/DrTexx/CLIFX/
cd CLIFX
poetry install

Usage

Identical to typical usage except commands must be prefixed by poetry run.

For example, instead of writing the following:

clifx

You would write this:

poetry run clifx

Build

./development-scripts/build.sh

Contributing

Issues and pull requests welcome!

Metadata

Release files for clifx 1.1.0rc0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clifx 1.1.0rc0
File Size Uploaded Provenance Actions
clifx-1.1.0rc0.tar.gz 4.2 kB Without provenance Details for clifx-1.1.0rc0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clifx 1.1.0rc0
File Interpreter ABI Platform Actions
clifx-1.1.0rc0-py3-none-any.whl Python 3 none any Details for clifx-1.1.0rc0-py3-none-any.whl

Total release size: 9.5 kB

Release files / clifx-1.1.0rc0.tar.gz

Download URL clifx-1.1.0rc0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
91579c95d173f678f23d458649bae7e7f90393d2bcd75f53c76e614db45a771e
BLAKE2b-256 checksum
How to use checksums
a38ff0e615cac5f3e2c3c75bf723f7faab55d542cb17234f383d26bcb359f4e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / clifx-1.1.0rc0-py3-none-any.whl

Download URL clifx-1.1.0rc0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdecec53c1d9365add7fae3fe6e27829f686835bc77487fe3a70203d69eae3d9
BLAKE2b-256 checksum
How to use checksums
db72f467d7e5bfd531dbb6283dc1efd4a4ed10114058d06f28c8bb3ef1d82792
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for clifx 1.1.0rc0

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.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page