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.4.2.tar.gz (10.9 MB 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.4.2-py3-none-any.whl (278.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lifx_async-5.4.2.tar.gz
Algorithm Hash digest
SHA256 59c24437b3ffd26366cfe0a41207cab8a056963aa93ce17b272d50aedfc14737
MD5 dbe41e115e3b1390ca6b0566118834ad
BLAKE2b-256 1e0e59728b0545bf6d3645aed4bf0d165016a94255d9c9c769eb5589888c2e73

See more details on using hashes here.

Provenance

The following attestation bundles were made for lifx_async-5.4.2.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.4.2-py3-none-any.whl.

File metadata

  • Download URL: lifx_async-5.4.2-py3-none-any.whl
  • Upload date:
  • Size: 278.9 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.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 98b3eed1d241214921a2a33812d81aa394ebbe44fd5192ec386f62d762987cb8
MD5 3e86b61ba02927186073c1471b4cfa7f
BLAKE2b-256 0301bcb7ab257a65ceb2168d50ae2d89e654c8623b0012da071a4728b3f3b0da

See more details on using hashes here.

Provenance

The following attestation bundles were made for lifx_async-5.4.2-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