Skip to main content

A client library for accessing Dali IoT

Project description

Lunatone Dali-2 IOT

A client library for accessing Lunatone Dali IoT gateway

Read Documentation 📘

The library was generated by openapi-python-client

Installation

pip install lunatone-dali2-iot

Usage

First, create a client:

from dali2iot import Client

dali_client = Client(base_url="http://192.168.1.41")

Now call your endpoint and use your models:

from dali2iot.api.devices import get_devices_devices_get

with dali_client as client:
    devices = get_devices_devices_get.sync(client=client)

    for device in devices.devices:
        print(device.name)

Or do the same thing with an async version:

from dali2iot.api.devices import get_devices_devices_get

async with dali_client as client:
    devices = await get_devices_devices_get.asyncio(client=client)

    for device in devices.devices:
        print(device.name)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lunatone_dali2_iot-1.0.0.tar.gz (41.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lunatone_dali2_iot-1.0.0-py3-none-any.whl (167.4 kB view details)

Uploaded Python 3

File details

Details for the file lunatone_dali2_iot-1.0.0.tar.gz.

File metadata

  • Download URL: lunatone_dali2_iot-1.0.0.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for lunatone_dali2_iot-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2b4856f97501fb45cd601fcf10c2a17c48332ac1495605ea105c4f6cad9e0ee6
MD5 7f1f769228616b97a612ddcd21a7be48
BLAKE2b-256 30cb159246bfefd5d53aa7d570fdec1168941ec91ce34b9cf381720fc702fa05

See more details on using hashes here.

Provenance

The following attestation bundles were made for lunatone_dali2_iot-1.0.0.tar.gz:

Publisher: publish-package.yml on KiraLT/lunatone-dali2-iot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lunatone_dali2_iot-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lunatone_dali2_iot-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66a1788f5cb1d31f88c0211c23a7bfe6fc0fe047758dff3f27f4cee5b896a943
MD5 63c224bf103bea8fd769e60ea1bda64c
BLAKE2b-256 ce1060cb9b37037ab390264f83682a489401be1fb6bcff1f431d7212a9cb7848

See more details on using hashes here.

Provenance

The following attestation bundles were made for lunatone_dali2_iot-1.0.0-py3-none-any.whl:

Publisher: publish-package.yml on KiraLT/lunatone-dali2-iot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page