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.1.0.tar.gz (40.5 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.1.0-py3-none-any.whl (163.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lunatone_dali2_iot-1.1.0.tar.gz
  • Upload date:
  • Size: 40.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 a706ab2b69e0235b05fce1dceebaf1fc975bfcf77983865eab4f0f0aa0a21c38
MD5 98643adcb4d72a8d6ac09dbf534c0515
BLAKE2b-256 d4f3ba6bb61d5ecf25cd3115c05c6c28fd140b813e5c2d4912cb563b7de70587

See more details on using hashes here.

Provenance

The following attestation bundles were made for lunatone_dali2_iot-1.1.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.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lunatone_dali2_iot-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b60577c8da97a4a8bfc084d418ccb5fb520362b0771bfd92230acbe12ede0b4
MD5 402b7de5f1f4963ecfe6400cb34dd8ac
BLAKE2b-256 333691024e3e37ded8a6ced5575b24caefa9a50f74927830c60afa7c74425665

See more details on using hashes here.

Provenance

The following attestation bundles were made for lunatone_dali2_iot-1.1.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