Metadata-Version: 2.4
Name: pydeconz
Version: 121
Summary: Python library for communicating with deCONZ REST-API
Author-email: Robert Svensson <Kane610@users.noreply.github.com>
License: MIT
Project-URL: Source Code, https://github.com/Kane610/deconz
Project-URL: Bug Reports, https://github.com/Kane610/deconz/issues
Project-URL: Forum, https://community.home-assistant.io/t/deconz-official-thread/
Keywords: deconz,zigbee,homeassistant
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Home Automation
Requires-Python: >=3.14.0
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: aiohttp>=3.14.5
Requires-Dist: orjson>=3.13.0
Provides-Extra: requirements
Requires-Dist: aiohttp==3.14.5; extra == "requirements"
Requires-Dist: orjson==3.13.0; extra == "requirements"
Dynamic: license-file

deCONZ |Chat Status|
====================
Python library wrapping `deCONZ Rest API`_ for Home-Assistant.

This implementation should cover most devices supported by deCONZ, if that is not the case please create an issue with debug logs and we will get it supported.

Only host address and API key are necessary for normal operations.

**Acknowledgements**
 * Mattias Flodins custom deCONZ component was a great source of inspiration.
 * Maija Vilkina and her blog `Snillevilla`_ has been a huge help in getting deCONZ up and running.
 * Thanks to donnib, dkmh, simonporter007, kroimon, Henrik Nilsson for requesting and verifying functionality!
 * Special thanks to Dresden Elektronik for sponsoring with extra Conbee and Raspbee hardware.

.. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg
   :target: https://discord.gg/c6pvg8a
.. _`deCONZ Rest API`: https://dresden-elektronik.github.io/deconz-rest-doc/
.. _`Snillevilla`: https://snillevilla.se/

Development
-----------

To set up the repository for development, run:

.. code-block:: bash

   ./script/setup.sh

The optional ``requirements`` extra provides exact runtime dependency versions; project development and CI lock these dependencies with ``uv.lock``. The setup script installs ``uv`` if needed, manages a project-local Python installation and virtual environment, synchronizes locked runtime extras and test/development dependency groups, and installs pre-commit hooks. The root-level ``setup.sh`` remains available as a compatibility entrypoint.

Run the isolated CI checks locally with:

.. code-block:: bash

   ./script/check.sh

This verifies the lockfile, linting, formatting, typing, tests, and an installed wheel including its CLI and ``py.typed`` marker.

Maintenance commands:

.. code-block:: bash

   ./script/bump_dependencies.sh        # Update dependency bounds and uv.lock locally
   ./script/bump_dependencies.sh --pr   # Validate and publish dependency updates
   ./script/bump_version.sh             # Update dependencies and open a version PR
   uv run --locked python script/check_install.py

Dependency updates select stable releases compatible with the minimum supported Python. Review all resulting changes, especially major-version updates. The publication commands validate in an isolated environment before committing or pushing; they require an up-to-date checkout, Git, an authenticated GitHub CLI, and ``origin`` pointing to this GitHub repository. Version bumps must start from a clean, up-to-date ``master`` branch. Dependency publication can also update the existing open same-repository PR for the current branch; only ``pyproject.toml`` and ``uv.lock`` may have changes, and partially staged edits must be resolved first. Creating a PR does not publish a release or upload to PyPI.
