Skip to content

Djelibeybi/lifx-async

Repository files navigation

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 <[email protected]>

About

A modern, type-safe, async Python library for controlling LIFX lights

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages