Skip to main content

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.

CI Codecov Docs

Python PyPI License

Features

  • 📦 No Runtime Dependencies: only Python standard libraries required
  • 🎯 Type-Safe: Full type hints with strict Pyright validation
  • ⚡ Async Context Managers: Provides async with and await usage patterns
  • 🔌 Connection Pooling: Efficient reuse with LRU cache
  • 🏗️ Layered Architecture: Protocol → Network → Device → API
  • 🔄 Protocol Generator: generates LIFX protocol Packets, Fields and Enum classes 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lifx_async-5.2.0.tar.gz (513.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lifx_async-5.2.0-py3-none-any.whl (203.0 kB view details)

Uploaded Python 3

File details

Details for the file lifx_async-5.2.0.tar.gz.

File metadata

  • Download URL: lifx_async-5.2.0.tar.gz
  • Upload date:
  • Size: 513.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lifx_async-5.2.0.tar.gz
Algorithm Hash digest
SHA256 f6e46722bcba783cc725f439d24e701a69a6e823a186bf3cb00a8b9f70cf3fa6
MD5 05b3b182f41a67626434baa4f26180f9
BLAKE2b-256 04c5e48aab484e606fd87735a0aac2e72991c214724111297f88604c81277941

See more details on using hashes here.

Provenance

The following attestation bundles were made for lifx_async-5.2.0.tar.gz:

Publisher: ci.yml on Djelibeybi/lifx-async

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lifx_async-5.2.0-py3-none-any.whl.

File metadata

  • Download URL: lifx_async-5.2.0-py3-none-any.whl
  • Upload date:
  • Size: 203.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lifx_async-5.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b28e8db3a34ddd6b76ea89bb41f53639017274684224be1dd14ba726829d938
MD5 d0d33655aea902d71fada8a1b0fd4e86
BLAKE2b-256 53012b26dbd035808408cb5f01dcfd0bb9b06caf409e0c2b667f5d4113b09367

See more details on using hashes here.

Provenance

The following attestation bundles were made for lifx_async-5.2.0-py3-none-any.whl:

Publisher: ci.yml on Djelibeybi/lifx-async

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page