A modern, type-safe, async Python library for controlling LIFX lights
Project description
lifx-async
A modern, type-safe, async Python library for controlling LIFX smart devices over the local network.
Features
- 📦 No Runtime Dependencies: only Python standard libraries required
- 🎯 Type-Safe: Full type hints with strict Pyright validation
- ⚡ Async Context Managers: Provides
async withandawaitusage patterns - 🔌 Connection Pooling: Efficient reuse with LRU cache
- 🏗️ Layered Architecture: Protocol → Network → Device → API
- 🔄 Protocol Generator: generates LIFX protocol
Packets,FieldsandEnumclasses from LIFX public protocol definition - 🌈 Comprehensive Support: supports all LIFX smart lighting products including Color, White, Warm to White, Filament, Clean, Night Vision, Z, Beam, String, Neon, Permanent Outdoor, Tile, Candle, Ceiling, Path, Spot, and Luna.
License
Licensed under the Universal Permissive License v1.0.
Copyright © 2025 Avi Miller <me@dje.li>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lifx_async-5.1.1.tar.gz.
File metadata
- Download URL: lifx_async-5.1.1.tar.gz
- Upload date:
- Size: 458.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68da3e10f0ac576617e14d99eba68f73f7fc25785223cb36fbace8cdcf1a5e7f
|
|
| MD5 |
0b995934e3a1266f3b725945a06256e0
|
|
| BLAKE2b-256 |
72bd08b265553b0aa7c55d7a5a86e53e6ea1198ad27fe0d6499f8214bb708db7
|
Provenance
The following attestation bundles were made for lifx_async-5.1.1.tar.gz:
Publisher:
ci.yml on Djelibeybi/lifx-async
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lifx_async-5.1.1.tar.gz -
Subject digest:
68da3e10f0ac576617e14d99eba68f73f7fc25785223cb36fbace8cdcf1a5e7f - Sigstore transparency entry: 922813120
- Sigstore integration time:
-
Permalink:
Djelibeybi/lifx-async@865c4e32f696881a4e0ed2932eb014c4136d0554 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Djelibeybi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@865c4e32f696881a4e0ed2932eb014c4136d0554 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lifx_async-5.1.1-py3-none-any.whl.
File metadata
- Download URL: lifx_async-5.1.1-py3-none-any.whl
- Upload date:
- Size: 181.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24bec40f897ad2d7958e3a96a8b6a3b7db65eacf7c2612cb40b10021a9e92512
|
|
| MD5 |
02616e7059a21fc6bd350357c834acef
|
|
| BLAKE2b-256 |
d60b18264f8549d814f20cf65c612d97bc9c73fa1c3376c98395559ffe552a06
|
Provenance
The following attestation bundles were made for lifx_async-5.1.1-py3-none-any.whl:
Publisher:
ci.yml on Djelibeybi/lifx-async
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lifx_async-5.1.1-py3-none-any.whl -
Subject digest:
24bec40f897ad2d7958e3a96a8b6a3b7db65eacf7c2612cb40b10021a9e92512 - Sigstore transparency entry: 922813161
- Sigstore integration time:
-
Permalink:
Djelibeybi/lifx-async@865c4e32f696881a4e0ed2932eb014c4136d0554 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Djelibeybi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@865c4e32f696881a4e0ed2932eb014c4136d0554 -
Trigger Event:
push
-
Statement type: