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-4.2.1.tar.gz (323.8 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-4.2.1-py3-none-any.whl (130.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lifx_async-4.2.1.tar.gz
Algorithm Hash digest
SHA256 bb189772a25ecdf8d0501584761294de4fce9c5ddae49a49407f3d07e94363f7
MD5 e14d60b019cc9bb8e731db014eaababe
BLAKE2b-256 c3ebdcc72ed00503aec85ef64098453c61c5bc365602204e4a6abc7cbb3c9fb5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: lifx_async-4.2.1-py3-none-any.whl
  • Upload date:
  • Size: 130.4 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-4.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 938e057f04a02b4353429358732aec52362eeb5086f31593b6e245c49cb8080e
MD5 83d795acc6ca618e2de9bb995de75322
BLAKE2b-256 486313f2cffc5f60e976bc21ce963c3f95fe81d4c90745bd24bcc8f5a4e5d9b3

See more details on using hashes here.

Provenance

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