Skip to main content

pydeako

Description

pydeako is a Python library for discovering, connecting to, and interacting with Deako smart devices on the local network.

This is the community-maintained continuation of DeakoLights/pydeako, published on PyPI as pydeako-community. The import name is still pydeako.

Installation

pip install pydeako-community

Usage

pydeako mdns discovery client

import asyncio
from pydeako import discover

async def _discover():
    d = discover.DeakoDiscoverer()
    try:
        address = await d.get_address()
        print(f"Found deako device at {address}!")
    except discover.DevicesNotFoundException:
        print("No devices found!")
        pass

if __name__ == "__main__":
    asyncio.run(_discover())

pydeako socket client

import asyncio
from pydeako import deako, discover

async def _discover():
    client_name = "MyClient"
    d = discover.DeakoDiscoverer()
    deako_client = deako.Deako(d.get_address, client_name=client_name)

    await deako_client.connect()
    await deako_client.find_devices()

    devices = deako_client.get_devices()

    # turn on all devices
    for uuid in devices:
        await deako_client.control_device(uuid, True)

if __name__ == "__main__":
    asyncio.run(_discover())

Contributing

Dev environment setup

  1. Use Python 3.11–3.14
  2. python -m venv venv
  3. source venv/bin/activate
  4. pip install -r requirements.txt
  5. pip install -r requirements_test.txt

Checks

  1. pylint pydeako
  2. pycodestyle pydeako
  3. pytest pydeako

License

MIT License, see LICENSE.txt

Project status

Deako published and maintained pydeako until release 0.6.0 (December 2024). The repository has had no activity since then. Its only contributor no longer maintains anything related to Deako and suggested continuing it as a fork. Deako didn't answer a request to software@deako.com about maintainership.

This fork keeps the full history of the original project. Release 0.6.1 contains the same library code as pydeako 0.6.0, repackaged and published from GitHub Actions. Fixes land in later releases.

Bugs in the Home Assistant Deako integration go to Home Assistant Core; bugs in this library go here.

Metadata

Release files for pydeako-community 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydeako-community 0.6.1
File Size Uploaded Provenance Actions
pydeako_community-0.6.1.tar.gz 19.0 kB With provenance Details for pydeako_community-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydeako-community 0.6.1
File Interpreter ABI Platform Actions
pydeako_community-0.6.1-py3-none-any.whl Python 3 none any Details for pydeako_community-0.6.1-py3-none-any.whl

Total release size: 43.3 kB

Release files / pydeako_community-0.6.1.tar.gz

Download URL pydeako_community-0.6.1.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e36cb9f12cf8f75053d9519144fd8564574500a4a34a2079f41c1ccbf9154a21
BLAKE2b-256 checksum
How to use checksums
ad37ca9b640ab90e00620938868aedb559ccda0103149c7672027653f268b3f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / pydeako_community-0.6.1-py3-none-any.whl

Download URL pydeako_community-0.6.1-py3-none-any.whl
Size 24.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
306ec8e7f8563f917f349cb274fbfa2d80edf00cba32d7dc57809a1490585398
BLAKE2b-256 checksum
How to use checksums
7134952bd13142d6fd6ae308b8d05174321da253d0de96a65a2590924b0da376
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for pydeako-community 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pydeako_community-0.6.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page