Skip to main content

MyrtDesk API PyPI version

Library for controlling smart table functions with my own firmware.

  • Fully asynchronous
  • Automatic detection
  • Cool CLI tool

API Example

This code will wait for the lights to turn off, then flash the backlight controller and then turn on the rainbow effect:

from asyncio import run
from myrt_desk_api import MyrtDesk, Effect

async def main():
    desk_host = await discover()
    desk = MyrtDesk(desk_host)
    await desk.backlight.set_power(False)
    with open("./firmware.hex", mode="rb") as file:
        await desk.backlight.update_firmware(file.read())
    await desk.backlight.set_effect(Effect.RAINBOW)

if __name__ == '__main__':
    run(main())

Metadata

Release files for myrt-desk-api 1.0.7

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

Source distribution (sdist)

Source distribution for myrt-desk-api 1.0.7
File Size Uploaded Provenance Actions
myrt_desk_api-1.0.7.tar.gz 24.8 kB Without provenance Details for myrt_desk_api-1.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for myrt-desk-api 1.0.7
File Interpreter ABI Platform Actions
myrt_desk_api-1.0.7-py3-none-any.whl Python 3 none any Details for myrt_desk_api-1.0.7-py3-none-any.whl

Total release size: 54.8 kB

Release files / myrt_desk_api-1.0.7.tar.gz

Download URL myrt_desk_api-1.0.7.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
43fa3e4101f72a6a4ce8800f38184a956e0ed31c059e262e0ad261e9db9bde4c
BLAKE2b-256 checksum
How to use checksums
e98ba7ec198f7032e643156b5fec772bcda55a039310fcfd2ab1d6eade56eea2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / myrt_desk_api-1.0.7-py3-none-any.whl

Download URL myrt_desk_api-1.0.7-py3-none-any.whl
Size 29.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb8139342fea9458009deedf83023c342b70713915b26f77103fe46f2036b386
BLAKE2b-256 checksum
How to use checksums
71f02b36c4ba7659056daaba3900077b946f110f97c6fba7b3c160798e60f908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for myrt-desk-api 1.0.7

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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