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
Release history Release notifications | RSS feed
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.3.tar.gz
(3.5 kB
view details)
File details
Details for the file pyMAdot2-0.0.3.tar.gz.
File metadata
- Download URL: pyMAdot2-0.0.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da269deb721c029b9ea4e9594cabd2e3ef74ba86b79c23f54493d7314e6a9a6c
|
|
| MD5 |
e714074718fe30f178291c0d9e455142
|
|
| BLAKE2b-256 |
2a2252b3ecda12532991f96301ed68cef239cc2b3cd405408455774266692d20
|