Skip to main content

Python library for MA Lighting dot2 console

Project description

pyMAdot2

Asynchronous library to control MA Lighting dot2 light console.

This library is under development

Requirements

  • Python >= 3.10
  • aiohttp

Install

pip install pyMAdot2

Example

from pymadot2 import Dot2

import asyncio
import aiohttp

async def main():
    async with aiohttp.ClientSession() as session:
        await run(session)

async def run(session):
    console = await Dot2.create(
        session,
        "127.0.0.1",
        "test"
    )

    await console.command("Fixture 1")
    await console.command("At 100")
    await asyncio.sleep(1)
    await console.disconnect()

asyncio.run(main())

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

pyMAdot2-0.0.1.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file pyMAdot2-0.0.1.tar.gz.

File metadata

  • Download URL: pyMAdot2-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for pyMAdot2-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d9f4655019bf3ead2d7409f367359b154a6e0f027114509583545b76f9a1ae2b
MD5 1ae6b7e594e8a729077e65933d3d6a92
BLAKE2b-256 8ed23263d664bc1a36610161bf542a4627a757f692924f117d1ca4765c3ac710

See more details on using hashes here.

Supported by

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