# lorawan-connection > A Python library for modelling LoRaWAN devices. Build device libraries with readings, commands, and update subscriptions. Optional ChirpStack and The Things Stack connections provide inventory, live events, and queued downlinks. - Requires Python 3.12 or later. Install with `pip install lorawan-connection`. - The application owns the connection and subscribes its DeviceCollection to inventory and live events. - The collection creates supported models and routes their events automatically. Applications observe model attributes and update notifications. - Events are frozen dataclasses with payload fields directly on each event. Dispatch on EventType or narrow with isinstance(). ## Documentation Sets - [Abridged documentation](https://home-assistant-libs.github.io/lorawan-connection/llms-small.txt): a compact version of the documentation for lorawan-connection, with non-essential content removed - [Complete documentation](https://home-assistant-libs.github.io/lorawan-connection/llms-full.txt): the full documentation for lorawan-connection ## Notes - The complete documentation includes all content from the official documentation - The content is automatically generated from the same source as the official documentation