{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/21"},{"label":"Home Automation","url":"https://skillfed.io/packages/category/home-automation"}],"enrichment":{"capability":"HAP-python implements the HomeKit Accessory Protocol, letting you create smart home accessories that integrate with Apple's Home app and respond to Siri commands over a local network.","skillfed_tags":["homekit","smart-home","asyncio"],"use_cases":["Build a temperature or humidity sensor that reports readings to the Home app periodically","Create a smart light or switch that can be toggled from the Home app or controlled by Siri","Stream video from a camera accessory to HomeKit clients with negotiated resolution and audio","Run multiple accessories in a single process using asyncio for concurrent state management","Integrate existing IoT devices or GPIO-based hardware into HomeKit without a separate bridge"],"what_it_does":"HAP-python is a Python implementation of Apple's HomeKit Accessory Protocol that lets you turn any Python-capable device into a HomeKit-compatible smart home accessory. You define accessories by subclassing Accessory, add services like TemperatureSensor or Lightbulb with their characteristics, and let the AccessoryDriver handle the HAP server, local network advertising via mDNS, and secure pairing. The library supports asyncio for concurrent operations and includes out-of-the-box definitions for Apple-defined services.\n\nThe package is built on six core dependencies: async_timeout for timeout handling, cryptography and chacha20poly1305-reuseable for secure pairing, orjson for efficient JSON serialization, zeroconf for mDNS advertising, and h11 for HTTP/1.1 protocol handling. It's designed to run on resource-constrained devices like Raspberry Pi but works on any platform with Python 3.9+. Once running, your accessory appears in the Home app, can be controlled via the Home app UI, and responds to Siri voice commands.","worth_installing":"Yes, if you want to add HomeKit support to a Python project on a local network. The library is stable and production-ready, with low install friction and permissive licensing. The aging maintenance status (354 days since last release) is a minor concern for new features but not a blocker for existing functionality. Requires system-level Avahi/Bonjour setup and Python 3.9+."},"id":"hap-python","links":{"html":"https://skillfed.io/packages/hap-python","md":"https://skillfed.io/packages/hap-python.md","pypi":"https://pypi.org/project/hap-python/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-08-25","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"HAP-python","python_support":"supports_current","summary":"HomeKit Accessory Protocol implementation in python"},"popularity":{"monthly_downloads":88777,"position":13706,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"5.0.0"}
