view stubs/pyudmx/pyudmx.pyi @ 1882:5c1b662c0263

stub updates Ignore-this: 1c3a7199c6f2b6e85fd40c2d6bd2613c
author Drew Perttula <drewp@bigasterisk.com>
date Tue, 28 May 2019 06:42:27 +0000
parents
children
line wrap: on
line source

# Stubs for pyudmx.pyudmx (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

import usb.core
from typing import List, Union

class uDMXDevice:
    def __init__(self) -> None: ...
    @property
    def Device(self) -> usb.core.Device: ...
    def open(self, vendor_id: int=..., product_id: int=..., bus: int=..., address: int=...) -> bool: ...
    def close(self) -> None: ...
    def send_single_value(self, channel: int, value: int) -> int: ...
    def send_multi_value(self, channel: int, values: Union[List[int], bytearray]) -> int: ...