From dad348840b71d9fbcc149479331617f965610bcc Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 9 Feb 2024 09:52:04 +0100 Subject: [PATCH] create boardstubs --- .../_asyncio.py | 28 - .../_asyncio.pyi | 8 +- .../_espnow.py | 59 --- .../_espnow.pyi | 18 +- .../_onewire.py | 30 -- .../_onewire.pyi | 8 +- .../_thread.py | 40 -- .../_thread.pyi | 8 +- .../aioespnow.py | 63 --- .../aioespnow.pyi | 30 +- .../apa106.py | 32 -- .../apa106.pyi | 12 +- .../array.py | 17 - .../array.pyi | 8 +- .../asyncio/__init__.py | 80 --- .../asyncio/__init__.pyi | 115 ++++- .../asyncio/core.py | 76 --- .../asyncio/core.pyi | 53 +- .../asyncio/event.py | 38 -- .../asyncio/event.pyi | 15 +- .../asyncio/funcs.py | 14 - .../asyncio/funcs.pyi | 19 +- .../asyncio/lock.py | 19 - .../asyncio/lock.pyi | 12 +- .../asyncio/stream.py | 92 ---- .../asyncio/stream.pyi | 76 +-- .../binascii.py | 26 - .../binascii.pyi | 8 +- .../bluetooth.py | 85 --- .../bluetooth.pyi | 18 +- .../btree.py | 13 - .../btree.pyi | 12 +- .../cmath.py | 45 -- .../cmath.pyi | 12 +- .../collections.py | 60 --- .../collections.pyi | 8 +- .../cryptolib.py | 17 - .../cryptolib.pyi | 8 +- .../deflate.py | 28 - .../deflate.pyi | 16 +- .../dht.py | 46 -- .../dht.pyi | 8 +- .../ds18x20.py | 30 -- .../ds18x20.pyi | 8 +- .../errno.py | 30 -- .../errno.pyi | 54 +- .../esp.py | 45 -- .../esp.pyi | 20 +- .../esp32.py | 137 ----- .../esp32.pyi | 28 +- .../espnow.py | 112 ---- .../espnow.pyi | 32 +- .../flashbdev.py | 43 -- .../flashbdev.pyi | 18 +- .../framebuf.py | 60 --- .../framebuf.pyi | 24 +- .../gc.py | 34 -- .../gc.pyi | 8 +- .../hashlib.py | 39 -- .../hashlib.pyi | 8 +- .../heapq.py | 18 - .../heapq.pyi | 8 +- .../inisetup.py | 21 - .../inisetup.pyi | 10 +- .../io.py | 90 ---- .../io.pyi | 8 +- .../json.py | 22 - .../json.pyi | 8 +- .../logging.py | 63 --- .../logging.pyi | 38 +- .../machine.py | 487 ------------------ .../machine.pyi | 110 ++-- .../math.py | 172 ------- .../math.pyi | 18 +- .../micropython.py | 46 -- .../micropython.pyi | 8 +- .../mip.py | 14 - .../mip.pyi | 19 +- .../mip/__init__.py | 14 - .../mip/__init__.pyi | 19 +- .../modules.json | 180 +++---- .../neopixel.py | 23 - .../neopixel.pyi | 10 +- .../network.py | 101 ---- .../network.pyi | 96 ++-- .../ntptime.py | 17 - .../ntptime.pyi | 12 +- .../onewire.py | 10 - .../onewire.pyi | 25 +- .../os.py | 166 ------ .../os.pyi | 8 +- .../platform.py | 18 - .../platform.pyi | 8 +- .../random.py | 34 -- .../random.pyi | 8 +- .../requests.py | 48 -- .../requests.pyi | 13 +- .../requests/__init__.py | 48 -- .../requests/__init__.pyi | 13 +- .../select.py | 19 - .../select.pyi | 16 +- .../socket.py | 86 ---- .../socket.pyi | 34 +- .../ssl.py | 37 -- .../ssl.pyi | 20 +- .../struct.py | 26 - .../struct.pyi | 8 +- .../sys.py | 31 -- .../sys.pyi | 36 +- .../time.py | 58 --- .../time.pyi | 8 +- .../uarray.py | 17 - .../uarray.pyi | 8 +- .../uasyncio/__init__.py | 80 --- .../uasyncio/__init__.pyi | 115 ++++- .../uasyncio/core.py | 76 --- .../uasyncio/core.pyi | 53 +- .../uasyncio/event.py | 38 -- .../uasyncio/event.pyi | 15 +- .../uasyncio/funcs.py | 14 - .../uasyncio/funcs.pyi | 19 +- .../uasyncio/lock.py | 19 - .../uasyncio/lock.pyi | 12 +- .../uasyncio/stream.py | 92 ---- .../uasyncio/stream.pyi | 76 +-- .../ubinascii.py | 26 - .../ubinascii.pyi | 8 +- .../ubluetooth.py | 85 --- .../ubluetooth.pyi | 18 +- .../ucollections.py | 60 --- .../ucollections.pyi | 8 +- .../ucryptolib.py | 17 - .../ucryptolib.pyi | 8 +- .../uctypes.py | 60 --- .../uctypes.pyi | 72 +-- .../uerrno.py | 30 -- .../uerrno.pyi | 54 +- .../uhashlib.py | 39 -- .../uhashlib.pyi | 8 +- .../uheapq.py | 18 - .../uheapq.pyi | 8 +- .../uio.py | 90 ---- .../uio.pyi | 8 +- .../ujson.py | 22 - .../ujson.pyi | 8 +- .../umachine.py | 487 ------------------ .../umachine.pyi | 110 ++-- .../umqtt/__init__.py | 0 .../umqtt/__init__.pyi | 0 .../umqtt/robust.py | 50 -- .../umqtt/robust.pyi | 18 +- .../umqtt/simple.py | 14 - .../umqtt/simple.pyi | 22 +- .../uos.py | 166 ------ .../uos.pyi | 8 +- .../uplatform.py | 18 - .../uplatform.pyi | 8 +- .../urandom.py | 34 -- .../urandom.pyi | 8 +- .../ure.py | 22 - .../ure.pyi | 8 +- .../urequests.py | 48 -- .../urequests.pyi | 13 +- .../uselect.py | 19 - .../uselect.pyi | 16 +- .../usocket.py | 86 ---- .../usocket.pyi | 34 +- .../ussl.py | 37 -- .../ussl.pyi | 20 +- .../ustruct.py | 26 - .../ustruct.pyi | 8 +- .../usys.py | 31 -- .../usys.pyi | 36 +- .../utime.py | 58 --- .../utime.pyi | 8 +- .../uwebsocket.py | 29 -- .../uwebsocket.pyi | 8 +- .../websocket.py | 29 -- .../websocket.pyi | 8 +- 179 files changed, 1569 insertions(+), 5719 deletions(-) delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_asyncio.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_espnow.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_onewire.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_thread.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/aioespnow.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/apa106.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/array.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/__init__.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/core.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/event.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/funcs.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/lock.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/stream.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/binascii.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/bluetooth.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/btree.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cmath.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/collections.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cryptolib.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/deflate.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/dht.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ds18x20.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/errno.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp32.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/espnow.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/flashbdev.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/framebuf.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/gc.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/hashlib.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/heapq.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/inisetup.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/io.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/json.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/logging.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/machine.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/math.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/micropython.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip/__init__.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/neopixel.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/network.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ntptime.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/onewire.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/os.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/platform.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/random.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests/__init__.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/select.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/socket.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ssl.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/struct.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/sys.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/time.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uarray.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/__init__.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/core.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/event.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/funcs.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/lock.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/stream.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubinascii.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubluetooth.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucollections.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucryptolib.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uctypes.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uerrno.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uhashlib.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uheapq.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uio.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ujson.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umachine.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/__init__.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/__init__.pyi delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/robust.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/simple.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uos.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uplatform.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urandom.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ure.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urequests.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uselect.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usocket.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ussl.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ustruct.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usys.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/utime.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uwebsocket.py delete mode 100644 stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/websocket.py diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_asyncio.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_asyncio.py deleted file mode 100644 index a1f5e1169..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_asyncio.py +++ /dev/null @@ -1,28 +0,0 @@ -""" -Module: '_asyncio' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class TaskQueue: - def push(self, *args, **kwargs) -> Incomplete: - ... - - def peek(self, *args, **kwargs) -> Incomplete: - ... - - def remove(self, *args, **kwargs) -> Incomplete: - ... - - def pop(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Task: - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_asyncio.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_asyncio.pyi index bcaf545c7..2b4451dce 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_asyncio.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_asyncio.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: '_asyncio' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete class TaskQueue: def push(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_espnow.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_espnow.py deleted file mode 100644 index 84dd53ed0..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_espnow.py +++ /dev/null @@ -1,59 +0,0 @@ -""" -Module: '_espnow' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -MAX_DATA_LEN = 250 # type: int -MAX_TOTAL_PEER_NUM = 20 # type: int -MAX_ENCRYPT_PEER_NUM = 6 # type: int -ADDR_LEN = 6 # type: int -KEY_LEN = 16 # type: int - - -class ESPNowBase: - def irq(self, *args, **kwargs) -> Incomplete: - ... - - def mod_peer(self, *args, **kwargs) -> Incomplete: - ... - - def get_peers(self, *args, **kwargs) -> Incomplete: - ... - - def stats(self, *args, **kwargs) -> Incomplete: - ... - - def set_pmk(self, *args, **kwargs) -> Incomplete: - ... - - def peer_count(self, *args, **kwargs) -> Incomplete: - ... - - def recvinto(self, *args, **kwargs) -> Incomplete: - ... - - def send(self, *args, **kwargs) -> Incomplete: - ... - - def active(self, *args, **kwargs) -> Incomplete: - ... - - def any(self, *args, **kwargs) -> Incomplete: - ... - - def get_peer(self, *args, **kwargs) -> Incomplete: - ... - - def del_peer(self, *args, **kwargs) -> Incomplete: - ... - - def add_peer(self, *args, **kwargs) -> Incomplete: - ... - - def config(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_espnow.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_espnow.pyi index d6377843e..81b097c9b 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_espnow.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_espnow.pyi @@ -1,10 +1,16 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: '_espnow' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -MAX_DATA_LEN: int -MAX_TOTAL_PEER_NUM: int -MAX_ENCRYPT_PEER_NUM: int -ADDR_LEN: int -KEY_LEN: int +MAX_DATA_LEN: int = 250 +MAX_TOTAL_PEER_NUM: int = 20 +MAX_ENCRYPT_PEER_NUM: int = 6 +ADDR_LEN: int = 6 +KEY_LEN: int = 16 class ESPNowBase: def irq(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_onewire.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_onewire.py deleted file mode 100644 index 9683fd17b..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_onewire.py +++ /dev/null @@ -1,30 +0,0 @@ -""" -Module: '_onewire' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def reset(*args, **kwargs) -> Incomplete: - ... - - -def writebyte(*args, **kwargs) -> Incomplete: - ... - - -def writebit(*args, **kwargs) -> Incomplete: - ... - - -def crc8(*args, **kwargs) -> Incomplete: - ... - - -def readbyte(*args, **kwargs) -> Incomplete: - ... - - -def readbit(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_onewire.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_onewire.pyi index e55ebcb78..04567e7a4 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_onewire.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_onewire.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: '_onewire' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def reset(*args, **kwargs) -> Incomplete: ... def writebyte(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_thread.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_thread.py deleted file mode 100644 index 97fc2031e..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_thread.py +++ /dev/null @@ -1,40 +0,0 @@ -""" -Module: '_thread' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def get_ident(*args, **kwargs) -> Incomplete: - ... - - -def start_new_thread(*args, **kwargs) -> Incomplete: - ... - - -def stack_size(*args, **kwargs) -> Incomplete: - ... - - -def exit(*args, **kwargs) -> Incomplete: - ... - - -def allocate_lock(*args, **kwargs) -> Incomplete: - ... - - -class LockType: - def locked(self, *args, **kwargs) -> Incomplete: - ... - - def release(self, *args, **kwargs) -> Incomplete: - ... - - def acquire(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_thread.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_thread.pyi index 9848c8c4f..e5438fc40 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_thread.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_thread.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: '_thread' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def get_ident(*args, **kwargs) -> Incomplete: ... def start_new_thread(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/aioespnow.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/aioespnow.py deleted file mode 100644 index 2febf5907..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/aioespnow.py +++ /dev/null @@ -1,63 +0,0 @@ -""" -Module: 'aioespnow' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class AIOESPNow: - def peer_count(self, *args, **kwargs) -> Incomplete: - ... - - def recv(self, *args, **kwargs) -> Incomplete: - ... - - def mod_peer(self, *args, **kwargs) -> Incomplete: - ... - - def get_peers(self, *args, **kwargs) -> Incomplete: - ... - - def stats(self, *args, **kwargs) -> Incomplete: - ... - - def recvinto(self, *args, **kwargs) -> Incomplete: - ... - - def set_pmk(self, *args, **kwargs) -> Incomplete: - ... - - def irecv(self, *args, **kwargs) -> Incomplete: - ... - - def get_peer(self, *args, **kwargs) -> Incomplete: - ... - - def active(self, *args, **kwargs) -> Incomplete: - ... - - def send(self, *args, **kwargs) -> Incomplete: - ... - - def any(self, *args, **kwargs) -> Incomplete: - ... - - def del_peer(self, *args, **kwargs) -> Incomplete: - ... - - def add_peer(self, *args, **kwargs) -> Incomplete: - ... - - def config(self, *args, **kwargs) -> Incomplete: - ... - - def irq(self, *args, **kwargs) -> Incomplete: - ... - - asend: Incomplete ## = - arecv: Incomplete ## = - airecv: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/aioespnow.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/aioespnow.pyi index 1079c9583..5ea5a2839 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/aioespnow.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/aioespnow.pyi @@ -1,23 +1,33 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'aioespnow' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete class AIOESPNow: + _data: list = [] + _none_tuple: tuple = () def peer_count(self, *args, **kwargs) -> Incomplete: ... def recv(self, *args, **kwargs) -> Incomplete: ... def mod_peer(self, *args, **kwargs) -> Incomplete: ... - def get_peers(self, *args, **kwargs) -> Incomplete: ... + def irecv(self, *args, **kwargs) -> Incomplete: ... def stats(self, *args, **kwargs) -> Incomplete: ... def recvinto(self, *args, **kwargs) -> Incomplete: ... def set_pmk(self, *args, **kwargs) -> Incomplete: ... - def irecv(self, *args, **kwargs) -> Incomplete: ... - def get_peer(self, *args, **kwargs) -> Incomplete: ... - def active(self, *args, **kwargs) -> Incomplete: ... - def send(self, *args, **kwargs) -> Incomplete: ... def any(self, *args, **kwargs) -> Incomplete: ... - def del_peer(self, *args, **kwargs) -> Incomplete: ... def add_peer(self, *args, **kwargs) -> Incomplete: ... + def active(self, *args, **kwargs) -> Incomplete: ... + def send(self, *args, **kwargs) -> Incomplete: ... def config(self, *args, **kwargs) -> Incomplete: ... + def get_peers(self, *args, **kwargs) -> Incomplete: ... + def get_peer(self, *args, **kwargs) -> Incomplete: ... + def del_peer(self, *args, **kwargs) -> Incomplete: ... def irq(self, *args, **kwargs) -> Incomplete: ... - asend: Incomplete - arecv: Incomplete - airecv: Incomplete + + asend: Generator ## = + arecv: Generator ## = + airecv: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/apa106.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/apa106.py deleted file mode 100644 index c1c7121e5..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/apa106.py +++ /dev/null @@ -1,32 +0,0 @@ -""" -Module: 'apa106' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class NeoPixel: - ORDER = () # type: tuple - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def fill(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class APA106: - ORDER = () # type: tuple - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def fill(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/apa106.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/apa106.pyi index d0c8d6bf0..628f9289f 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/apa106.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/apa106.pyi @@ -1,13 +1,19 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'apa106' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete class NeoPixel: - ORDER: tuple + ORDER: tuple = () def write(self, *args, **kwargs) -> Incomplete: ... def fill(self, *args, **kwargs) -> Incomplete: ... def __init__(self, *argv, **kwargs) -> None: ... class APA106: - ORDER: tuple + ORDER: tuple = () def write(self, *args, **kwargs) -> Incomplete: ... def fill(self, *args, **kwargs) -> Incomplete: ... def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/array.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/array.py deleted file mode 100644 index 37cfad0e2..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/array.py +++ /dev/null @@ -1,17 +0,0 @@ -""" -Module: 'array' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class array: - def extend(self, *args, **kwargs) -> Incomplete: - ... - - def append(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/array.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/array.pyi index a8e856830..1fab17e43 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/array.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/array.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'array' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete class array: def extend(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/__init__.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/__init__.py deleted file mode 100644 index 949a658a5..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/__init__.py +++ /dev/null @@ -1,80 +0,0 @@ -""" -Module: 'asyncio.__init__' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def ticks_add(*args, **kwargs) -> Incomplete: - ... - - -def current_task(*args, **kwargs) -> Incomplete: - ... - - -def create_task(*args, **kwargs) -> Incomplete: - ... - - -def ticks_diff(*args, **kwargs) -> Incomplete: - ... - - -def get_event_loop(*args, **kwargs) -> Incomplete: - ... - - -def ticks(*args, **kwargs) -> Incomplete: - ... - - -def run_until_complete(*args, **kwargs) -> Incomplete: - ... - - -def new_event_loop(*args, **kwargs) -> Incomplete: - ... - - -def wait_for_ms(*args, **kwargs) -> Incomplete: - ... - - -def sleep(*args, **kwargs) -> Incomplete: - ... - - -def run(*args, **kwargs) -> Incomplete: - ... - - -def sleep_ms(*args, **kwargs) -> Incomplete: - ... - - -class TaskQueue: - def push(self, *args, **kwargs) -> Incomplete: - ... - - def peek(self, *args, **kwargs) -> Incomplete: - ... - - def remove(self, *args, **kwargs) -> Incomplete: - ... - - def pop(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -gather: Incomplete ## = -wait_for: Incomplete ## = -open_connection: Incomplete ## = - - -class CancelledError(Exception): - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/__init__.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/__init__.pyi index 8b7de8f15..70a8d1361 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/__init__.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/__init__.pyi @@ -1,17 +1,28 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'asyncio.__init__' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete + +_attrs: dict = {} -def ticks_add(*args, **kwargs) -> Incomplete: ... -def current_task(*args, **kwargs) -> Incomplete: ... def create_task(*args, **kwargs) -> Incomplete: ... +def current_task(*args, **kwargs) -> Incomplete: ... def ticks_diff(*args, **kwargs) -> Incomplete: ... +def wait_for_ms(*args, **kwargs) -> Incomplete: ... def get_event_loop(*args, **kwargs) -> Incomplete: ... def ticks(*args, **kwargs) -> Incomplete: ... def run_until_complete(*args, **kwargs) -> Incomplete: ... def new_event_loop(*args, **kwargs) -> Incomplete: ... -def wait_for_ms(*args, **kwargs) -> Incomplete: ... +def ticks_add(*args, **kwargs) -> Incomplete: ... +def sleep_ms(*args, **kwargs) -> Incomplete: ... def sleep(*args, **kwargs) -> Incomplete: ... def run(*args, **kwargs) -> Incomplete: ... -def sleep_ms(*args, **kwargs) -> Incomplete: ... + +open_connection: Generator ## = class TaskQueue: def push(self, *args, **kwargs) -> Incomplete: ... @@ -20,8 +31,96 @@ class TaskQueue: def pop(self, *args, **kwargs) -> Incomplete: ... def __init__(self, *argv, **kwargs) -> None: ... -gather: Incomplete -wait_for: Incomplete -open_connection: Incomplete +gather: Generator ## = + +class Lock: + def locked(self, *args, **kwargs) -> Incomplete: ... + def release(self, *args, **kwargs) -> Incomplete: ... + + acquire: Generator ## = + def __init__(self, *argv, **kwargs) -> None: ... + +class Task: + def __init__(self, *argv, **kwargs) -> None: ... + +wait_for: Generator ## = class CancelledError(Exception): ... + +start_server: Generator ## = + +class StreamWriter: + def write(self, *args, **kwargs) -> Incomplete: ... + def get_extra_info(self, *args, **kwargs) -> Incomplete: ... + def close(self, *args, **kwargs) -> Incomplete: ... + + awritestr: Generator ## = + wait_closed: Generator ## = + drain: Generator ## = + readexactly: Generator ## = + readinto: Generator ## = + read: Generator ## = + awrite: Generator ## = + readline: Generator ## = + aclose: Generator ## = + def __init__(self, *argv, **kwargs) -> None: ... + +class StreamReader: + def write(self, *args, **kwargs) -> Incomplete: ... + def get_extra_info(self, *args, **kwargs) -> Incomplete: ... + def close(self, *args, **kwargs) -> Incomplete: ... + + awritestr: Generator ## = + wait_closed: Generator ## = + drain: Generator ## = + readexactly: Generator ## = + readinto: Generator ## = + read: Generator ## = + awrite: Generator ## = + readline: Generator ## = + aclose: Generator ## = + def __init__(self, *argv, **kwargs) -> None: ... + +class SingletonGenerator: + def __init__(self, *argv, **kwargs) -> None: ... + +class Loop: + def get_exception_handler(self, *args, **kwargs) -> Incomplete: ... + def default_exception_handler(self, *args, **kwargs) -> Incomplete: ... + def set_exception_handler(self, *args, **kwargs) -> Incomplete: ... + def run_forever(self, *args, **kwargs) -> Incomplete: ... + def run_until_complete(self, *args, **kwargs) -> Incomplete: ... + def stop(self, *args, **kwargs) -> Incomplete: ... + def close(self, *args, **kwargs) -> Incomplete: ... + def create_task(self, *args, **kwargs) -> Incomplete: ... + def call_exception_handler(self, *args, **kwargs) -> Incomplete: ... + + _exc_handler: Incomplete ## = None + def __init__(self, *argv, **kwargs) -> None: ... + +class ThreadSafeFlag: + def set(self, *args, **kwargs) -> Incomplete: ... + def ioctl(self, *args, **kwargs) -> Incomplete: ... + def clear(self, *args, **kwargs) -> Incomplete: ... + + wait: Generator ## = + def __init__(self, *argv, **kwargs) -> None: ... + +class Event: + def set(self, *args, **kwargs) -> Incomplete: ... + def is_set(self, *args, **kwargs) -> Incomplete: ... + def clear(self, *args, **kwargs) -> Incomplete: ... + + wait: Generator ## = + def __init__(self, *argv, **kwargs) -> None: ... + +class IOQueue: + def queue_read(self, *args, **kwargs) -> Incomplete: ... + def wait_io_event(self, *args, **kwargs) -> Incomplete: ... + def queue_write(self, *args, **kwargs) -> Incomplete: ... + def remove(self, *args, **kwargs) -> Incomplete: ... + def _enqueue(self, *args, **kwargs) -> Incomplete: ... + def _dequeue(self, *args, **kwargs) -> Incomplete: ... + def __init__(self, *argv, **kwargs) -> None: ... + +class TimeoutError(Exception): ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/core.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/core.py deleted file mode 100644 index e35c8ec47..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/core.py +++ /dev/null @@ -1,76 +0,0 @@ -""" -Module: 'asyncio.core' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def ticks(*args, **kwargs) -> Incomplete: - ... - - -def create_task(*args, **kwargs) -> Incomplete: - ... - - -def ticks_diff(*args, **kwargs) -> Incomplete: - ... - - -def ticks_add(*args, **kwargs) -> Incomplete: - ... - - -def current_task(*args, **kwargs) -> Incomplete: - ... - - -def run_until_complete(*args, **kwargs) -> Incomplete: - ... - - -def new_event_loop(*args, **kwargs) -> Incomplete: - ... - - -def get_event_loop(*args, **kwargs) -> Incomplete: - ... - - -def sleep(*args, **kwargs) -> Incomplete: - ... - - -def run(*args, **kwargs) -> Incomplete: - ... - - -def sleep_ms(*args, **kwargs) -> Incomplete: - ... - - -class TaskQueue: - def push(self, *args, **kwargs) -> Incomplete: - ... - - def peek(self, *args, **kwargs) -> Incomplete: - ... - - def remove(self, *args, **kwargs) -> Incomplete: - ... - - def pop(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Task: - def __init__(self, *argv, **kwargs) -> None: - ... - - -class CancelledError(Exception): - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/core.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/core.pyi index 95975c317..a20e33f48 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/core.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/core.pyi @@ -1,6 +1,15 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'asyncio.core' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete -def ticks(*args, **kwargs) -> Incomplete: ... +_exc_context: dict = {} + +def _promote_to_task(*args, **kwargs) -> Incomplete: ... def create_task(*args, **kwargs) -> Incomplete: ... def ticks_diff(*args, **kwargs) -> Incomplete: ... def ticks_add(*args, **kwargs) -> Incomplete: ... @@ -8,10 +17,19 @@ def current_task(*args, **kwargs) -> Incomplete: ... def run_until_complete(*args, **kwargs) -> Incomplete: ... def new_event_loop(*args, **kwargs) -> Incomplete: ... def get_event_loop(*args, **kwargs) -> Incomplete: ... +def ticks(*args, **kwargs) -> Incomplete: ... def sleep(*args, **kwargs) -> Incomplete: ... def run(*args, **kwargs) -> Incomplete: ... def sleep_ms(*args, **kwargs) -> Incomplete: ... +_stopper: Generator ## = +_task_queue: Incomplete ## = + +class CancelledError(Exception): ... + +class Task: + def __init__(self, *argv, **kwargs) -> None: ... + class TaskQueue: def push(self, *args, **kwargs) -> Incomplete: ... def peek(self, *args, **kwargs) -> Incomplete: ... @@ -19,7 +37,34 @@ class TaskQueue: def pop(self, *args, **kwargs) -> Incomplete: ... def __init__(self, *argv, **kwargs) -> None: ... -class Task: +class Loop: + def get_exception_handler(self, *args, **kwargs) -> Incomplete: ... + def default_exception_handler(self, *args, **kwargs) -> Incomplete: ... + def set_exception_handler(self, *args, **kwargs) -> Incomplete: ... + def run_forever(self, *args, **kwargs) -> Incomplete: ... + def run_until_complete(self, *args, **kwargs) -> Incomplete: ... + def stop(self, *args, **kwargs) -> Incomplete: ... + def close(self, *args, **kwargs) -> Incomplete: ... + def create_task(self, *args, **kwargs) -> Incomplete: ... + def call_exception_handler(self, *args, **kwargs) -> Incomplete: ... + + _exc_handler: Incomplete ## = None def __init__(self, *argv, **kwargs) -> None: ... -class CancelledError(Exception): ... +class SingletonGenerator: + def __init__(self, *argv, **kwargs) -> None: ... + +class IOQueue: + def queue_read(self, *args, **kwargs) -> Incomplete: ... + def wait_io_event(self, *args, **kwargs) -> Incomplete: ... + def queue_write(self, *args, **kwargs) -> Incomplete: ... + def remove(self, *args, **kwargs) -> Incomplete: ... + def _enqueue(self, *args, **kwargs) -> Incomplete: ... + def _dequeue(self, *args, **kwargs) -> Incomplete: ... + def __init__(self, *argv, **kwargs) -> None: ... + +_stop_task: Incomplete ## = None + +class TimeoutError(Exception): ... + +_io_queue: Incomplete ## = diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/event.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/event.py deleted file mode 100644 index f51e11fa6..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/event.py +++ /dev/null @@ -1,38 +0,0 @@ -""" -Module: 'asyncio.event' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class ThreadSafeFlag: - def set(self, *args, **kwargs) -> Incomplete: - ... - - def ioctl(self, *args, **kwargs) -> Incomplete: - ... - - def clear(self, *args, **kwargs) -> Incomplete: - ... - - wait: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Event: - def set(self, *args, **kwargs) -> Incomplete: - ... - - def is_set(self, *args, **kwargs) -> Incomplete: - ... - - def clear(self, *args, **kwargs) -> Incomplete: - ... - - wait: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/event.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/event.pyi index 9f62c5c71..4b65410a2 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/event.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/event.pyi @@ -1,15 +1,24 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'asyncio.event' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete class ThreadSafeFlag: def set(self, *args, **kwargs) -> Incomplete: ... def ioctl(self, *args, **kwargs) -> Incomplete: ... def clear(self, *args, **kwargs) -> Incomplete: ... - wait: Incomplete + + wait: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... class Event: def set(self, *args, **kwargs) -> Incomplete: ... def is_set(self, *args, **kwargs) -> Incomplete: ... def clear(self, *args, **kwargs) -> Incomplete: ... - wait: Incomplete + + wait: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/funcs.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/funcs.py deleted file mode 100644 index d4b69d4cf..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/funcs.py +++ /dev/null @@ -1,14 +0,0 @@ -""" -Module: 'asyncio.funcs' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def wait_for_ms(*args, **kwargs) -> Incomplete: - ... - - -wait_for: Incomplete ## = -gather: Incomplete ## = diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/funcs.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/funcs.pyi index 2931f0b8b..41f338961 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/funcs.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/funcs.pyi @@ -1,6 +1,19 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'asyncio.funcs' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete def wait_for_ms(*args, **kwargs) -> Incomplete: ... -wait_for: Incomplete -gather: Incomplete +gather: Generator ## = +wait_for: Generator ## = + +class _Remove: + def remove(self, *args, **kwargs) -> Incomplete: ... + def __init__(self, *argv, **kwargs) -> None: ... + +_run: Generator ## = diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/lock.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/lock.py deleted file mode 100644 index b4d20850f..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/lock.py +++ /dev/null @@ -1,19 +0,0 @@ -""" -Module: 'asyncio.lock' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class Lock: - def locked(self, *args, **kwargs) -> Incomplete: - ... - - def release(self, *args, **kwargs) -> Incomplete: - ... - - acquire: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/lock.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/lock.pyi index 6661216ec..b6ce390d2 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/lock.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/lock.pyi @@ -1,7 +1,15 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'asyncio.lock' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete class Lock: def locked(self, *args, **kwargs) -> Incomplete: ... def release(self, *args, **kwargs) -> Incomplete: ... - acquire: Incomplete + + acquire: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/stream.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/stream.py deleted file mode 100644 index 3301dd0b1..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/stream.py +++ /dev/null @@ -1,92 +0,0 @@ -""" -Module: 'asyncio.stream' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -stream_awrite: Incomplete ## = -open_connection: Incomplete ## = -start_server: Incomplete ## = - - -class StreamWriter: - def write(self, *args, **kwargs) -> Incomplete: - ... - - def get_extra_info(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - awritestr: Incomplete ## = - wait_closed: Incomplete ## = - drain: Incomplete ## = - readexactly: Incomplete ## = - readinto: Incomplete ## = - read: Incomplete ## = - awrite: Incomplete ## = - readline: Incomplete ## = - aclose: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Server: - def close(self, *args, **kwargs) -> Incomplete: - ... - - wait_closed: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Stream: - def write(self, *args, **kwargs) -> Incomplete: - ... - - def get_extra_info(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - awritestr: Incomplete ## = - wait_closed: Incomplete ## = - drain: Incomplete ## = - readexactly: Incomplete ## = - readinto: Incomplete ## = - read: Incomplete ## = - awrite: Incomplete ## = - readline: Incomplete ## = - aclose: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class StreamReader: - def write(self, *args, **kwargs) -> Incomplete: - ... - - def get_extra_info(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - awritestr: Incomplete ## = - wait_closed: Incomplete ## = - drain: Incomplete ## = - readexactly: Incomplete ## = - readinto: Incomplete ## = - read: Incomplete ## = - awrite: Incomplete ## = - readline: Incomplete ## = - aclose: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/stream.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/stream.pyi index fff9bcd8b..b87279b69 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/stream.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/stream.pyi @@ -1,55 +1,67 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'asyncio.stream' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete -stream_awrite: Incomplete -open_connection: Incomplete -start_server: Incomplete +stream_awrite: Generator ## = +open_connection: Generator ## = +start_server: Generator ## = class StreamWriter: def write(self, *args, **kwargs) -> Incomplete: ... def get_extra_info(self, *args, **kwargs) -> Incomplete: ... def close(self, *args, **kwargs) -> Incomplete: ... - awritestr: Incomplete - wait_closed: Incomplete - drain: Incomplete - readexactly: Incomplete - readinto: Incomplete - read: Incomplete - awrite: Incomplete - readline: Incomplete - aclose: Incomplete + + awritestr: Generator ## = + wait_closed: Generator ## = + drain: Generator ## = + readexactly: Generator ## = + readinto: Generator ## = + read: Generator ## = + awrite: Generator ## = + readline: Generator ## = + aclose: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... class Server: def close(self, *args, **kwargs) -> Incomplete: ... - wait_closed: Incomplete + + wait_closed: Generator ## = + _serve: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... class Stream: def write(self, *args, **kwargs) -> Incomplete: ... def get_extra_info(self, *args, **kwargs) -> Incomplete: ... def close(self, *args, **kwargs) -> Incomplete: ... - awritestr: Incomplete - wait_closed: Incomplete - drain: Incomplete - readexactly: Incomplete - readinto: Incomplete - read: Incomplete - awrite: Incomplete - readline: Incomplete - aclose: Incomplete + + awritestr: Generator ## = + wait_closed: Generator ## = + drain: Generator ## = + readexactly: Generator ## = + readinto: Generator ## = + read: Generator ## = + awrite: Generator ## = + readline: Generator ## = + aclose: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... class StreamReader: def write(self, *args, **kwargs) -> Incomplete: ... def get_extra_info(self, *args, **kwargs) -> Incomplete: ... def close(self, *args, **kwargs) -> Incomplete: ... - awritestr: Incomplete - wait_closed: Incomplete - drain: Incomplete - readexactly: Incomplete - readinto: Incomplete - read: Incomplete - awrite: Incomplete - readline: Incomplete - aclose: Incomplete + + awritestr: Generator ## = + wait_closed: Generator ## = + drain: Generator ## = + readexactly: Generator ## = + readinto: Generator ## = + read: Generator ## = + awrite: Generator ## = + readline: Generator ## = + aclose: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/binascii.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/binascii.py deleted file mode 100644 index 318ac7294..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/binascii.py +++ /dev/null @@ -1,26 +0,0 @@ -""" -Module: 'binascii' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def crc32(*args, **kwargs) -> Incomplete: - ... - - -def hexlify(*args, **kwargs) -> Incomplete: - ... - - -def unhexlify(*args, **kwargs) -> Incomplete: - ... - - -def b2a_base64(*args, **kwargs) -> Incomplete: - ... - - -def a2b_base64(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/binascii.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/binascii.pyi index 9dc67f09f..688af1921 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/binascii.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/binascii.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'binascii' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def crc32(*args, **kwargs) -> Incomplete: ... def hexlify(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/bluetooth.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/bluetooth.py deleted file mode 100644 index 11ff09148..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/bluetooth.py +++ /dev/null @@ -1,85 +0,0 @@ -""" -Module: 'bluetooth' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -FLAG_NOTIFY = 16 # type: int -FLAG_READ = 2 # type: int -FLAG_WRITE = 8 # type: int -FLAG_INDICATE = 32 # type: int -FLAG_WRITE_NO_RESPONSE = 4 # type: int - - -class UUID: - def __init__(self, *argv, **kwargs) -> None: - ... - - -class BLE: - def gattc_write(self, *args, **kwargs) -> Incomplete: - ... - - def gatts_indicate(self, *args, **kwargs) -> Incomplete: - ... - - def gattc_discover_services(self, *args, **kwargs) -> Incomplete: - ... - - def gattc_read(self, *args, **kwargs) -> Incomplete: - ... - - def gattc_exchange_mtu(self, *args, **kwargs) -> Incomplete: - ... - - def gatts_set_buffer(self, *args, **kwargs) -> Incomplete: - ... - - def gatts_write(self, *args, **kwargs) -> Incomplete: - ... - - def gatts_notify(self, *args, **kwargs) -> Incomplete: - ... - - def gatts_register_services(self, *args, **kwargs) -> Incomplete: - ... - - def gatts_read(self, *args, **kwargs) -> Incomplete: - ... - - def irq(self, *args, **kwargs) -> Incomplete: - ... - - def gap_advertise(self, *args, **kwargs) -> Incomplete: - ... - - def gap_connect(self, *args, **kwargs) -> Incomplete: - ... - - def gattc_discover_descriptors(self, *args, **kwargs) -> Incomplete: - ... - - def config(self, *args, **kwargs) -> Incomplete: - ... - - def active(self, *args, **kwargs) -> Incomplete: - ... - - def gap_scan(self, *args, **kwargs) -> Incomplete: - ... - - def gattc_discover_characteristics(self, *args, **kwargs) -> Incomplete: - ... - - def gap_disconnect(self, *args, **kwargs) -> Incomplete: - ... - - def gap_passkey(self, *args, **kwargs) -> Incomplete: - ... - - def gap_pair(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/bluetooth.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/bluetooth.pyi index 165d6b87a..c78ac906f 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/bluetooth.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/bluetooth.pyi @@ -1,10 +1,16 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'bluetooth' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -FLAG_NOTIFY: int -FLAG_READ: int -FLAG_WRITE: int -FLAG_INDICATE: int -FLAG_WRITE_NO_RESPONSE: int +FLAG_NOTIFY: int = 16 +FLAG_READ: int = 2 +FLAG_WRITE: int = 8 +FLAG_INDICATE: int = 32 +FLAG_WRITE_NO_RESPONSE: int = 4 class UUID: def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/btree.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/btree.py deleted file mode 100644 index fdb62b14f..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/btree.py +++ /dev/null @@ -1,13 +0,0 @@ -""" -Module: 'btree' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -DESC = 2 # type: int -INCL = 1 # type: int - - -def open(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/btree.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/btree.pyi index 1c65bc9ff..cf878e67f 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/btree.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/btree.pyi @@ -1,6 +1,12 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'btree' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -DESC: int -INCL: int +DESC: int = 2 +INCL: int = 1 def open(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cmath.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cmath.py deleted file mode 100644 index aae5d9ad5..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cmath.py +++ /dev/null @@ -1,45 +0,0 @@ -""" -Module: 'cmath' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -e = 2.718282 # type: float -pi = 3.141593 # type: float - - -def polar(*args, **kwargs) -> Incomplete: - ... - - -def sqrt(*args, **kwargs) -> Incomplete: - ... - - -def rect(*args, **kwargs) -> Incomplete: - ... - - -def sin(*args, **kwargs) -> Incomplete: - ... - - -def exp(*args, **kwargs) -> Incomplete: - ... - - -def cos(*args, **kwargs) -> Incomplete: - ... - - -def phase(*args, **kwargs) -> Incomplete: - ... - - -def log(*args, **kwargs) -> Incomplete: - ... - - -def log10(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cmath.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cmath.pyi index ac95b893a..4f616b093 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cmath.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cmath.pyi @@ -1,7 +1,13 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'cmath' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -e: float -pi: float +e: float = 2.718282 +pi: float = 3.141593 def polar(*args, **kwargs) -> Incomplete: ... def sqrt(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/collections.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/collections.py deleted file mode 100644 index 3f2ca1a01..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/collections.py +++ /dev/null @@ -1,60 +0,0 @@ -""" -Module: 'collections' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def namedtuple(*args, **kwargs) -> Incomplete: - ... - - -class OrderedDict: - def popitem(self, *args, **kwargs) -> Incomplete: - ... - - def pop(self, *args, **kwargs) -> Incomplete: - ... - - def values(self, *args, **kwargs) -> Incomplete: - ... - - def setdefault(self, *args, **kwargs) -> Incomplete: - ... - - def update(self, *args, **kwargs) -> Incomplete: - ... - - def copy(self, *args, **kwargs) -> Incomplete: - ... - - def clear(self, *args, **kwargs) -> Incomplete: - ... - - def keys(self, *args, **kwargs) -> Incomplete: - ... - - def get(self, *args, **kwargs) -> Incomplete: - ... - - def items(self, *args, **kwargs) -> Incomplete: - ... - - @classmethod - def fromkeys(cls, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class deque: - def popleft(self, *args, **kwargs) -> Incomplete: - ... - - def append(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/collections.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/collections.pyi index 70c735718..973c138a5 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/collections.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/collections.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'collections' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def namedtuple(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cryptolib.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cryptolib.py deleted file mode 100644 index f8b7a34e2..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cryptolib.py +++ /dev/null @@ -1,17 +0,0 @@ -""" -Module: 'cryptolib' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class aes: - def encrypt(self, *args, **kwargs) -> Incomplete: - ... - - def decrypt(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cryptolib.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cryptolib.pyi index 7d496d182..94d6920c1 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cryptolib.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cryptolib.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'cryptolib' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete class aes: def encrypt(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/deflate.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/deflate.py deleted file mode 100644 index 6323fed41..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/deflate.py +++ /dev/null @@ -1,28 +0,0 @@ -""" -Module: 'deflate' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -GZIP = 3 # type: int -RAW = 1 # type: int -ZLIB = 2 # type: int -AUTO = 0 # type: int - - -class DeflateIO: - def readline(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/deflate.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/deflate.pyi index d4472f836..cc3c8055e 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/deflate.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/deflate.pyi @@ -1,9 +1,15 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'deflate' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -GZIP: int -RAW: int -ZLIB: int -AUTO: int +GZIP: int = 3 +RAW: int = 1 +ZLIB: int = 2 +AUTO: int = 0 class DeflateIO: def readline(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/dht.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/dht.py deleted file mode 100644 index e03478353..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/dht.py +++ /dev/null @@ -1,46 +0,0 @@ -""" -Module: 'dht' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def dht_readinto(*args, **kwargs) -> Incomplete: - ... - - -class DHTBase: - def measure(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class DHT22: - def measure(self, *args, **kwargs) -> Incomplete: - ... - - def temperature(self, *args, **kwargs) -> Incomplete: - ... - - def humidity(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class DHT11: - def measure(self, *args, **kwargs) -> Incomplete: - ... - - def temperature(self, *args, **kwargs) -> Incomplete: - ... - - def humidity(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/dht.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/dht.pyi index 45093edcd..b5a687598 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/dht.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/dht.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'dht' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def dht_readinto(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ds18x20.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ds18x20.py deleted file mode 100644 index cfec9bde3..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ds18x20.py +++ /dev/null @@ -1,30 +0,0 @@ -""" -Module: 'ds18x20' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def const(*args, **kwargs) -> Incomplete: - ... - - -class DS18X20: - def read_scratch(self, *args, **kwargs) -> Incomplete: - ... - - def read_temp(self, *args, **kwargs) -> Incomplete: - ... - - def write_scratch(self, *args, **kwargs) -> Incomplete: - ... - - def convert_temp(self, *args, **kwargs) -> Incomplete: - ... - - def scan(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ds18x20.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ds18x20.pyi index d16db183d..c7f952f1e 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ds18x20.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ds18x20.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'ds18x20' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def const(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/errno.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/errno.py deleted file mode 100644 index 953aa8769..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/errno.py +++ /dev/null @@ -1,30 +0,0 @@ -""" -Module: 'errno' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -ENOBUFS = 105 # type: int -ENODEV = 19 # type: int -ENOENT = 2 # type: int -EISDIR = 21 # type: int -EIO = 5 # type: int -EINVAL = 22 # type: int -EPERM = 1 # type: int -ETIMEDOUT = 116 # type: int -ENOMEM = 12 # type: int -EOPNOTSUPP = 95 # type: int -ENOTCONN = 128 # type: int -errorcode = {} # type: dict -EAGAIN = 11 # type: int -EALREADY = 120 # type: int -EBADF = 9 # type: int -EADDRINUSE = 112 # type: int -EACCES = 13 # type: int -EINPROGRESS = 119 # type: int -EEXIST = 17 # type: int -EHOSTUNREACH = 118 # type: int -ECONNABORTED = 113 # type: int -ECONNRESET = 104 # type: int -ECONNREFUSED = 111 # type: int diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/errno.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/errno.pyi index 5da23fe40..8ec65c275 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/errno.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/errno.pyi @@ -1,25 +1,31 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'errno' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -ENOBUFS: int -ENODEV: int -ENOENT: int -EISDIR: int -EIO: int -EINVAL: int -EPERM: int -ETIMEDOUT: int -ENOMEM: int -EOPNOTSUPP: int -ENOTCONN: int -errorcode: dict -EAGAIN: int -EALREADY: int -EBADF: int -EADDRINUSE: int -EACCES: int -EINPROGRESS: int -EEXIST: int -EHOSTUNREACH: int -ECONNABORTED: int -ECONNRESET: int -ECONNREFUSED: int +ENOBUFS: int = 105 +ENODEV: int = 19 +ENOENT: int = 2 +EISDIR: int = 21 +EIO: int = 5 +EINVAL: int = 22 +EPERM: int = 1 +ETIMEDOUT: int = 116 +ENOMEM: int = 12 +EOPNOTSUPP: int = 95 +ENOTCONN: int = 128 +errorcode: dict = {} +EAGAIN: int = 11 +EALREADY: int = 120 +EBADF: int = 9 +EADDRINUSE: int = 112 +EACCES: int = 13 +EINPROGRESS: int = 119 +EEXIST: int = 17 +EHOSTUNREACH: int = 118 +ECONNABORTED: int = 113 +ECONNRESET: int = 104 +ECONNREFUSED: int = 111 diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp.py deleted file mode 100644 index ecb2b0d06..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp.py +++ /dev/null @@ -1,45 +0,0 @@ -""" -Module: 'esp' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -LOG_NONE = 0 # type: int -LOG_WARNING = 2 # type: int -LOG_VERBOSE = 5 # type: int -LOG_DEBUG = 4 # type: int -LOG_INFO = 3 # type: int -LOG_ERROR = 1 # type: int - - -def osdebug(*args, **kwargs) -> Incomplete: - ... - - -def flash_write(*args, **kwargs) -> Incomplete: - ... - - -def gpio_matrix_in(*args, **kwargs) -> Incomplete: - ... - - -def gpio_matrix_out(*args, **kwargs) -> Incomplete: - ... - - -def flash_user_start(*args, **kwargs) -> Incomplete: - ... - - -def flash_erase(*args, **kwargs) -> Incomplete: - ... - - -def flash_read(*args, **kwargs) -> Incomplete: - ... - - -def flash_size(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp.pyi index 9ecec41cf..ddec6243f 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp.pyi @@ -1,11 +1,17 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'esp' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -LOG_NONE: int -LOG_WARNING: int -LOG_VERBOSE: int -LOG_DEBUG: int -LOG_INFO: int -LOG_ERROR: int +LOG_NONE: int = 0 +LOG_WARNING: int = 2 +LOG_VERBOSE: int = 5 +LOG_DEBUG: int = 4 +LOG_INFO: int = 3 +LOG_ERROR: int = 1 def osdebug(*args, **kwargs) -> Incomplete: ... def flash_write(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp32.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp32.py deleted file mode 100644 index 113217e8a..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp32.py +++ /dev/null @@ -1,137 +0,0 @@ -""" -Module: 'esp32' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -WAKEUP_ALL_LOW = False # type: bool -WAKEUP_ANY_HIGH = True # type: bool -HEAP_EXEC = 1 # type: int -HEAP_DATA = 4 # type: int - - -def idf_heap_info(*args, **kwargs) -> Incomplete: - ... - - -def wake_on_ulp(*args, **kwargs) -> Incomplete: - ... - - -def wake_on_touch(*args, **kwargs) -> Incomplete: - ... - - -def wake_on_ext0(*args, **kwargs) -> Incomplete: - ... - - -def wake_on_ext1(*args, **kwargs) -> Incomplete: - ... - - -def gpio_deep_sleep_hold(*args, **kwargs) -> Incomplete: - ... - - -class ULP: - RESERVE_MEM = 2040 # type: int - - def run(self, *args, **kwargs) -> Incomplete: - ... - - def set_wakeup_period(self, *args, **kwargs) -> Incomplete: - ... - - def load_binary(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class NVS: - def get_i32(self, *args, **kwargs) -> Incomplete: - ... - - def set_i32(self, *args, **kwargs) -> Incomplete: - ... - - def set_blob(self, *args, **kwargs) -> Incomplete: - ... - - def commit(self, *args, **kwargs) -> Incomplete: - ... - - def get_blob(self, *args, **kwargs) -> Incomplete: - ... - - def erase_key(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Partition: - RUNNING = 1 # type: int - TYPE_APP = 0 # type: int - TYPE_DATA = 1 # type: int - BOOT = 0 # type: int - - def readblocks(self, *args, **kwargs) -> Incomplete: - ... - - def ioctl(self, *args, **kwargs) -> Incomplete: - ... - - def set_boot(self, *args, **kwargs) -> Incomplete: - ... - - def writeblocks(self, *args, **kwargs) -> Incomplete: - ... - - def info(self, *args, **kwargs) -> Incomplete: - ... - - def find(self, *args, **kwargs) -> Incomplete: - ... - - def get_next_update(self, *args, **kwargs) -> Incomplete: - ... - - @classmethod - def mark_app_valid_cancel_rollback(cls, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class RMT: - PULSE_MAX = 32767 # type: int - - def source_freq(self, *args, **kwargs) -> Incomplete: - ... - - def loop(self, *args, **kwargs) -> Incomplete: - ... - - def wait_done(self, *args, **kwargs) -> Incomplete: - ... - - def write_pulses(self, *args, **kwargs) -> Incomplete: - ... - - def bitstream_channel(self, *args, **kwargs) -> Incomplete: - ... - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def clock_div(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp32.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp32.pyi index 01eaa27a0..be13a5fad 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp32.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp32.pyi @@ -1,9 +1,15 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'esp32' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -WAKEUP_ALL_LOW: bool -WAKEUP_ANY_HIGH: bool -HEAP_EXEC: int -HEAP_DATA: int +WAKEUP_ALL_LOW: bool = False +WAKEUP_ANY_HIGH: bool = True +HEAP_EXEC: int = 1 +HEAP_DATA: int = 4 def idf_heap_info(*args, **kwargs) -> Incomplete: ... def wake_on_ulp(*args, **kwargs) -> Incomplete: ... @@ -13,7 +19,7 @@ def wake_on_ext1(*args, **kwargs) -> Incomplete: ... def gpio_deep_sleep_hold(*args, **kwargs) -> Incomplete: ... class ULP: - RESERVE_MEM: int + RESERVE_MEM: int = 2040 def run(self, *args, **kwargs) -> Incomplete: ... def set_wakeup_period(self, *args, **kwargs) -> Incomplete: ... def load_binary(self, *args, **kwargs) -> Incomplete: ... @@ -29,10 +35,10 @@ class NVS: def __init__(self, *argv, **kwargs) -> None: ... class Partition: - RUNNING: int - TYPE_APP: int - TYPE_DATA: int - BOOT: int + RUNNING: int = 1 + TYPE_APP: int = 0 + TYPE_DATA: int = 1 + BOOT: int = 0 def readblocks(self, *args, **kwargs) -> Incomplete: ... def ioctl(self, *args, **kwargs) -> Incomplete: ... def set_boot(self, *args, **kwargs) -> Incomplete: ... @@ -45,7 +51,7 @@ class Partition: def __init__(self, *argv, **kwargs) -> None: ... class RMT: - PULSE_MAX: int + PULSE_MAX: int = 32767 def source_freq(self, *args, **kwargs) -> Incomplete: ... def loop(self, *args, **kwargs) -> Incomplete: ... def wait_done(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/espnow.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/espnow.py deleted file mode 100644 index 00e335d45..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/espnow.py +++ /dev/null @@ -1,112 +0,0 @@ -""" -Module: 'espnow' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -KEY_LEN = 16 # type: int -MAX_DATA_LEN = 250 # type: int -MAX_ENCRYPT_PEER_NUM = 6 # type: int -MAX_TOTAL_PEER_NUM = 20 # type: int -ADDR_LEN = 6 # type: int - - -class ESPNow: - def peer_count(self, *args, **kwargs) -> Incomplete: - ... - - def recv(self, *args, **kwargs) -> Incomplete: - ... - - def mod_peer(self, *args, **kwargs) -> Incomplete: - ... - - def get_peers(self, *args, **kwargs) -> Incomplete: - ... - - def stats(self, *args, **kwargs) -> Incomplete: - ... - - def recvinto(self, *args, **kwargs) -> Incomplete: - ... - - def set_pmk(self, *args, **kwargs) -> Incomplete: - ... - - def irecv(self, *args, **kwargs) -> Incomplete: - ... - - def get_peer(self, *args, **kwargs) -> Incomplete: - ... - - def active(self, *args, **kwargs) -> Incomplete: - ... - - def send(self, *args, **kwargs) -> Incomplete: - ... - - def any(self, *args, **kwargs) -> Incomplete: - ... - - def del_peer(self, *args, **kwargs) -> Incomplete: - ... - - def add_peer(self, *args, **kwargs) -> Incomplete: - ... - - def config(self, *args, **kwargs) -> Incomplete: - ... - - def irq(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class ESPNowBase: - def irq(self, *args, **kwargs) -> Incomplete: - ... - - def mod_peer(self, *args, **kwargs) -> Incomplete: - ... - - def get_peers(self, *args, **kwargs) -> Incomplete: - ... - - def stats(self, *args, **kwargs) -> Incomplete: - ... - - def set_pmk(self, *args, **kwargs) -> Incomplete: - ... - - def peer_count(self, *args, **kwargs) -> Incomplete: - ... - - def recvinto(self, *args, **kwargs) -> Incomplete: - ... - - def send(self, *args, **kwargs) -> Incomplete: - ... - - def active(self, *args, **kwargs) -> Incomplete: - ... - - def any(self, *args, **kwargs) -> Incomplete: - ... - - def get_peer(self, *args, **kwargs) -> Incomplete: - ... - - def del_peer(self, *args, **kwargs) -> Incomplete: - ... - - def add_peer(self, *args, **kwargs) -> Incomplete: - ... - - def config(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/espnow.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/espnow.pyi index f655942e7..f2970e094 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/espnow.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/espnow.pyi @@ -1,27 +1,35 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'espnow' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -KEY_LEN: int -MAX_DATA_LEN: int -MAX_ENCRYPT_PEER_NUM: int -MAX_TOTAL_PEER_NUM: int -ADDR_LEN: int +KEY_LEN: int = 16 +MAX_DATA_LEN: int = 250 +MAX_ENCRYPT_PEER_NUM: int = 6 +MAX_TOTAL_PEER_NUM: int = 20 +ADDR_LEN: int = 6 class ESPNow: + _data: list = [] + _none_tuple: tuple = () def peer_count(self, *args, **kwargs) -> Incomplete: ... def recv(self, *args, **kwargs) -> Incomplete: ... def mod_peer(self, *args, **kwargs) -> Incomplete: ... - def get_peers(self, *args, **kwargs) -> Incomplete: ... + def irecv(self, *args, **kwargs) -> Incomplete: ... def stats(self, *args, **kwargs) -> Incomplete: ... def recvinto(self, *args, **kwargs) -> Incomplete: ... def set_pmk(self, *args, **kwargs) -> Incomplete: ... - def irecv(self, *args, **kwargs) -> Incomplete: ... - def get_peer(self, *args, **kwargs) -> Incomplete: ... - def active(self, *args, **kwargs) -> Incomplete: ... - def send(self, *args, **kwargs) -> Incomplete: ... def any(self, *args, **kwargs) -> Incomplete: ... - def del_peer(self, *args, **kwargs) -> Incomplete: ... def add_peer(self, *args, **kwargs) -> Incomplete: ... + def active(self, *args, **kwargs) -> Incomplete: ... + def send(self, *args, **kwargs) -> Incomplete: ... def config(self, *args, **kwargs) -> Incomplete: ... + def get_peers(self, *args, **kwargs) -> Incomplete: ... + def get_peer(self, *args, **kwargs) -> Incomplete: ... + def del_peer(self, *args, **kwargs) -> Incomplete: ... def irq(self, *args, **kwargs) -> Incomplete: ... def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/flashbdev.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/flashbdev.py deleted file mode 100644 index 681c8462f..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/flashbdev.py +++ /dev/null @@ -1,43 +0,0 @@ -""" -Module: 'flashbdev' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -bdev: Incomplete ## = - - -class Partition: - RUNNING = 1 # type: int - TYPE_APP = 0 # type: int - TYPE_DATA = 1 # type: int - BOOT = 0 # type: int - - def readblocks(self, *args, **kwargs) -> Incomplete: - ... - - def ioctl(self, *args, **kwargs) -> Incomplete: - ... - - def set_boot(self, *args, **kwargs) -> Incomplete: - ... - - def writeblocks(self, *args, **kwargs) -> Incomplete: - ... - - def info(self, *args, **kwargs) -> Incomplete: - ... - - def find(self, *args, **kwargs) -> Incomplete: - ... - - def get_next_update(self, *args, **kwargs) -> Incomplete: - ... - - @classmethod - def mark_app_valid_cancel_rollback(cls, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/flashbdev.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/flashbdev.pyi index 195ed30c7..eaa5349bf 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/flashbdev.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/flashbdev.pyi @@ -1,12 +1,18 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'flashbdev' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -bdev: Incomplete +bdev: Incomplete ## = class Partition: - RUNNING: int - TYPE_APP: int - TYPE_DATA: int - BOOT: int + RUNNING: int = 1 + TYPE_APP: int = 0 + TYPE_DATA: int = 1 + BOOT: int = 0 def readblocks(self, *args, **kwargs) -> Incomplete: ... def ioctl(self, *args, **kwargs) -> Incomplete: ... def set_boot(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/framebuf.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/framebuf.py deleted file mode 100644 index f75643d71..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/framebuf.py +++ /dev/null @@ -1,60 +0,0 @@ -""" -Module: 'framebuf' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -MONO_HMSB = 4 # type: int -MONO_HLSB = 3 # type: int -RGB565 = 1 # type: int -MONO_VLSB = 0 # type: int -MVLSB = 0 # type: int -GS2_HMSB = 5 # type: int -GS8 = 6 # type: int -GS4_HMSB = 2 # type: int - - -def FrameBuffer1(*args, **kwargs) -> Incomplete: - ... - - -class FrameBuffer: - def poly(self, *args, **kwargs) -> Incomplete: - ... - - def vline(self, *args, **kwargs) -> Incomplete: - ... - - def pixel(self, *args, **kwargs) -> Incomplete: - ... - - def text(self, *args, **kwargs) -> Incomplete: - ... - - def rect(self, *args, **kwargs) -> Incomplete: - ... - - def scroll(self, *args, **kwargs) -> Incomplete: - ... - - def ellipse(self, *args, **kwargs) -> Incomplete: - ... - - def line(self, *args, **kwargs) -> Incomplete: - ... - - def blit(self, *args, **kwargs) -> Incomplete: - ... - - def hline(self, *args, **kwargs) -> Incomplete: - ... - - def fill(self, *args, **kwargs) -> Incomplete: - ... - - def fill_rect(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/framebuf.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/framebuf.pyi index edf1b5e3c..0ccab41ff 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/framebuf.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/framebuf.pyi @@ -1,13 +1,19 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'framebuf' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -MONO_HMSB: int -MONO_HLSB: int -RGB565: int -MONO_VLSB: int -MVLSB: int -GS2_HMSB: int -GS8: int -GS4_HMSB: int +MONO_HMSB: int = 4 +MONO_HLSB: int = 3 +RGB565: int = 1 +MONO_VLSB: int = 0 +MVLSB: int = 0 +GS2_HMSB: int = 5 +GS8: int = 6 +GS4_HMSB: int = 2 def FrameBuffer1(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/gc.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/gc.py deleted file mode 100644 index 5e1595f31..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/gc.py +++ /dev/null @@ -1,34 +0,0 @@ -""" -Module: 'gc' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def mem_alloc(*args, **kwargs) -> Incomplete: - ... - - -def isenabled(*args, **kwargs) -> Incomplete: - ... - - -def mem_free(*args, **kwargs) -> Incomplete: - ... - - -def threshold(*args, **kwargs) -> Incomplete: - ... - - -def collect(*args, **kwargs) -> Incomplete: - ... - - -def enable(*args, **kwargs) -> Incomplete: - ... - - -def disable(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/gc.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/gc.pyi index 19dc7f421..d9a220386 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/gc.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/gc.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'gc' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def mem_alloc(*args, **kwargs) -> Incomplete: ... def isenabled(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/hashlib.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/hashlib.py deleted file mode 100644 index f14436f20..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/hashlib.py +++ /dev/null @@ -1,39 +0,0 @@ -""" -Module: 'hashlib' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class sha1: - def digest(self, *args, **kwargs) -> Incomplete: - ... - - def update(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class sha256: - def digest(self, *args, **kwargs) -> Incomplete: - ... - - def update(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class md5: - def digest(self, *args, **kwargs) -> Incomplete: - ... - - def update(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/hashlib.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/hashlib.pyi index 190e5a04d..76042f0af 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/hashlib.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/hashlib.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'hashlib' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete class sha1: def digest(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/heapq.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/heapq.py deleted file mode 100644 index 6abc1c256..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/heapq.py +++ /dev/null @@ -1,18 +0,0 @@ -""" -Module: 'heapq' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def heappop(*args, **kwargs) -> Incomplete: - ... - - -def heappush(*args, **kwargs) -> Incomplete: - ... - - -def heapify(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/heapq.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/heapq.pyi index e8dde2a9a..7e6c8b25c 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/heapq.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/heapq.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'heapq' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def heappop(*args, **kwargs) -> Incomplete: ... def heappush(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/inisetup.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/inisetup.py deleted file mode 100644 index 5f2a0872c..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/inisetup.py +++ /dev/null @@ -1,21 +0,0 @@ -""" -Module: 'inisetup' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def check_bootsec(*args, **kwargs) -> Incomplete: - ... - - -def fs_corrupted(*args, **kwargs) -> Incomplete: - ... - - -def setup(*args, **kwargs) -> Incomplete: - ... - - -bdev: Incomplete ## = diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/inisetup.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/inisetup.pyi index e0d1a4c46..04b1a752e 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/inisetup.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/inisetup.pyi @@ -1,7 +1,13 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'inisetup' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def check_bootsec(*args, **kwargs) -> Incomplete: ... def fs_corrupted(*args, **kwargs) -> Incomplete: ... def setup(*args, **kwargs) -> Incomplete: ... -bdev: Incomplete +bdev: Incomplete ## = diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/io.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/io.py deleted file mode 100644 index 17fbe29b0..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/io.py +++ /dev/null @@ -1,90 +0,0 @@ -""" -Module: 'io' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def open(*args, **kwargs) -> Incomplete: - ... - - -class StringIO: - def write(self, *args, **kwargs) -> Incomplete: - ... - - def flush(self, *args, **kwargs) -> Incomplete: - ... - - def getvalue(self, *args, **kwargs) -> Incomplete: - ... - - def seek(self, *args, **kwargs) -> Incomplete: - ... - - def tell(self, *args, **kwargs) -> Incomplete: - ... - - def readline(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class IOBase: - def __init__(self, *argv, **kwargs) -> None: - ... - - -class BytesIO: - def write(self, *args, **kwargs) -> Incomplete: - ... - - def flush(self, *args, **kwargs) -> Incomplete: - ... - - def getvalue(self, *args, **kwargs) -> Incomplete: - ... - - def seek(self, *args, **kwargs) -> Incomplete: - ... - - def tell(self, *args, **kwargs) -> Incomplete: - ... - - def readline(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class BufferedWriter: - def flush(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/io.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/io.pyi index f3d05c13b..0d896289f 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/io.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/io.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'io' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def open(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/json.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/json.py deleted file mode 100644 index 147e3b936..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/json.py +++ /dev/null @@ -1,22 +0,0 @@ -""" -Module: 'json' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def loads(*args, **kwargs) -> Incomplete: - ... - - -def load(*args, **kwargs) -> Incomplete: - ... - - -def dumps(*args, **kwargs) -> Incomplete: - ... - - -def dump(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/json.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/json.pyi index 49dc2e225..55170a39f 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/json.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/json.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'json' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def loads(*args, **kwargs) -> Incomplete: ... def load(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/logging.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/logging.py deleted file mode 100644 index 1564377f2..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/logging.py +++ /dev/null @@ -1,63 +0,0 @@ -""" -Module: 'logging' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -WARNING = 30 # type: int -INFO = 20 # type: int -CRITICAL = 50 # type: int -ERROR = 40 # type: int -NOTSET = 0 # type: int -DEBUG = 10 # type: int - - -def info(*args, **kwargs) -> Incomplete: - ... - - -def getLogger(*args, **kwargs) -> Incomplete: - ... - - -def basicConfig(*args, **kwargs) -> Incomplete: - ... - - -def debug(*args, **kwargs) -> Incomplete: - ... - - -class Logger: - level = 0 # type: int - - def error(self, *args, **kwargs) -> Incomplete: - ... - - def warning(self, *args, **kwargs) -> Incomplete: - ... - - def setLevel(self, *args, **kwargs) -> Incomplete: - ... - - def isEnabledFor(self, *args, **kwargs) -> Incomplete: - ... - - def critical(self, *args, **kwargs) -> Incomplete: - ... - - def debug(self, *args, **kwargs) -> Incomplete: - ... - - def info(self, *args, **kwargs) -> Incomplete: - ... - - def log(self, *args, **kwargs) -> Incomplete: - ... - - def exception(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/logging.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/logging.pyi index ae77d4d5c..d085a5d0f 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/logging.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/logging.pyi @@ -1,26 +1,38 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'logging' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -WARNING: int -INFO: int -CRITICAL: int -ERROR: int -NOTSET: int -DEBUG: int +NOTSET: int = 0 +CRITICAL: int = 50 +ERROR: int = 40 +_level_dict: dict = {} +_level: int = 20 +_loggers: dict = {} +INFO: int = 20 +DEBUG: int = 10 +WARNING: int = 30 def info(*args, **kwargs) -> Incomplete: ... -def getLogger(*args, **kwargs) -> Incomplete: ... def basicConfig(*args, **kwargs) -> Incomplete: ... def debug(*args, **kwargs) -> Incomplete: ... +def getLogger(*args, **kwargs) -> Incomplete: ... + +_stream: Incomplete ## = class Logger: - level: int - def error(self, *args, **kwargs) -> Incomplete: ... - def warning(self, *args, **kwargs) -> Incomplete: ... + level: int = 0 def setLevel(self, *args, **kwargs) -> Incomplete: ... - def isEnabledFor(self, *args, **kwargs) -> Incomplete: ... + def _level_str(self, *args, **kwargs) -> Incomplete: ... def critical(self, *args, **kwargs) -> Incomplete: ... + def isEnabledFor(self, *args, **kwargs) -> Incomplete: ... def debug(self, *args, **kwargs) -> Incomplete: ... - def info(self, *args, **kwargs) -> Incomplete: ... def log(self, *args, **kwargs) -> Incomplete: ... + def info(self, *args, **kwargs) -> Incomplete: ... + def error(self, *args, **kwargs) -> Incomplete: ... def exception(self, *args, **kwargs) -> Incomplete: ... + def warning(self, *args, **kwargs) -> Incomplete: ... def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/machine.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/machine.py deleted file mode 100644 index 2357dc298..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/machine.py +++ /dev/null @@ -1,487 +0,0 @@ -""" -Module: 'machine' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -WDT_RESET = 3 # type: int -SLEEP = 2 # type: int -PWRON_RESET = 1 # type: int -PIN_WAKE = 2 # type: int -SOFT_RESET = 5 # type: int -ULP_WAKE = 6 # type: int -TOUCHPAD_WAKE = 5 # type: int -TIMER_WAKE = 4 # type: int -DEEPSLEEP = 4 # type: int -EXT1_WAKE = 3 # type: int -DEEPSLEEP_RESET = 4 # type: int -HARD_RESET = 2 # type: int -EXT0_WAKE = 2 # type: int - - -def soft_reset(*args, **kwargs) -> Incomplete: - ... - - -def dht_readinto(*args, **kwargs) -> Incomplete: - ... - - -def bitstream(*args, **kwargs) -> Incomplete: - ... - - -def unique_id(*args, **kwargs) -> Incomplete: - ... - - -def time_pulse_us(*args, **kwargs) -> Incomplete: - ... - - -def bootloader(*args, **kwargs) -> Incomplete: - ... - - -def deepsleep(*args, **kwargs) -> Incomplete: - ... - - -def disable_irq(*args, **kwargs) -> Incomplete: - ... - - -def reset(*args, **kwargs) -> Incomplete: - ... - - -def reset_cause(*args, **kwargs) -> Incomplete: - ... - - -def sleep(*args, **kwargs) -> Incomplete: - ... - - -def lightsleep(*args, **kwargs) -> Incomplete: - ... - - -def enable_irq(*args, **kwargs) -> Incomplete: - ... - - -def freq(*args, **kwargs) -> Incomplete: - ... - - -def idle(*args, **kwargs) -> Incomplete: - ... - - -def wake_reason(*args, **kwargs) -> Incomplete: - ... - - -class PWM: - def duty_u16(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def freq(self, *args, **kwargs) -> Incomplete: - ... - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def duty_ns(self, *args, **kwargs) -> Incomplete: - ... - - def duty(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Pin: - OPEN_DRAIN = 7 # type: int - OUT = 3 # type: int - IRQ_RISING = 1 # type: int - WAKE_LOW = 4 # type: int - WAKE_HIGH = 5 # type: int - PULL_DOWN = 1 # type: int - PULL_UP = 2 # type: int - DRIVE_1 = 1 # type: int - IRQ_FALLING = 2 # type: int - DRIVE_0 = 0 # type: int - IN = 1 # type: int - DRIVE_2 = 2 # type: int - DRIVE_3 = 3 # type: int - - def irq(self, *args, **kwargs) -> Incomplete: - ... - - def on(self, *args, **kwargs) -> Incomplete: - ... - - def off(self, *args, **kwargs) -> Incomplete: - ... - - def value(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - class board: - def __init__(self, *argv, **kwargs) -> None: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -mem8: Incomplete ## = <8-bit memory> -mem32: Incomplete ## = <32-bit memory> -mem16: Incomplete ## = <16-bit memory> - - -class I2S: - RX = 9 # type: int - MONO = 0 # type: int - STEREO = 1 # type: int - TX = 5 # type: int - - def shift(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def irq(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class ADC: - ATTN_2_5DB = 1 # type: int - WIDTH_12BIT = 12 # type: int - ATTN_6DB = 2 # type: int - ATTN_11DB = 3 # type: int - ATTN_0DB = 0 # type: int - - def read_u16(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def read_uv(self, *args, **kwargs) -> Incomplete: - ... - - def width(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def block(self, *args, **kwargs) -> Incomplete: - ... - - def atten(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class ADCBlock: - def init(self, *args, **kwargs) -> Incomplete: - ... - - def connect(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class I2C: - def readfrom_mem_into(self, *args, **kwargs) -> Incomplete: - ... - - def readfrom_into(self, *args, **kwargs) -> Incomplete: - ... - - def readfrom_mem(self, *args, **kwargs) -> Incomplete: - ... - - def writeto_mem(self, *args, **kwargs) -> Incomplete: - ... - - def scan(self, *args, **kwargs) -> Incomplete: - ... - - def writeto(self, *args, **kwargs) -> Incomplete: - ... - - def writevto(self, *args, **kwargs) -> Incomplete: - ... - - def start(self, *args, **kwargs) -> Incomplete: - ... - - def readfrom(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def stop(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class WDT: - def feed(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class SoftSPI: - LSB = 1 # type: int - MSB = 0 # type: int - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def write_readinto(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Timer: - ONE_SHOT = 0 # type: int - PERIODIC = 1 # type: int - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def value(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class TouchPad: - def config(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class UART: - INV_CTS = 8 # type: int - CTS = 2 # type: int - INV_TX = 32 # type: int - INV_RTS = 64 # type: int - INV_RX = 4 # type: int - RTS = 1 # type: int - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def sendbreak(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def flush(self, *args, **kwargs) -> Incomplete: - ... - - def txdone(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def any(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def readline(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class RTC: - def init(self, *args, **kwargs) -> Incomplete: - ... - - def memory(self, *args, **kwargs) -> Incomplete: - ... - - def datetime(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class SoftI2C: - def readfrom_mem_into(self, *args, **kwargs) -> Incomplete: - ... - - def readfrom_into(self, *args, **kwargs) -> Incomplete: - ... - - def readfrom_mem(self, *args, **kwargs) -> Incomplete: - ... - - def writeto_mem(self, *args, **kwargs) -> Incomplete: - ... - - def scan(self, *args, **kwargs) -> Incomplete: - ... - - def writeto(self, *args, **kwargs) -> Incomplete: - ... - - def writevto(self, *args, **kwargs) -> Incomplete: - ... - - def start(self, *args, **kwargs) -> Incomplete: - ... - - def readfrom(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def stop(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class SDCard: - def ioctl(self, *args, **kwargs) -> Incomplete: - ... - - def readblocks(self, *args, **kwargs) -> Incomplete: - ... - - def writeblocks(self, *args, **kwargs) -> Incomplete: - ... - - def info(self, *args, **kwargs) -> Incomplete: - ... - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class SPI: - LSB = 1 # type: int - MSB = 0 # type: int - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def write_readinto(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Signal: - def off(self, *args, **kwargs) -> Incomplete: - ... - - def on(self, *args, **kwargs) -> Incomplete: - ... - - def value(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/machine.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/machine.pyi index c0756b871..1d97c06b2 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/machine.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/machine.pyi @@ -1,18 +1,24 @@ -from _typeshed import Incomplete as Incomplete - -WDT_RESET: int -SLEEP: int -PWRON_RESET: int -PIN_WAKE: int -SOFT_RESET: int -ULP_WAKE: int -TOUCHPAD_WAKE: int -TIMER_WAKE: int -DEEPSLEEP: int -EXT1_WAKE: int -DEEPSLEEP_RESET: int -HARD_RESET: int -EXT0_WAKE: int +""" +Module: 'machine' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete + +WDT_RESET: int = 3 +SLEEP: int = 2 +PWRON_RESET: int = 1 +PIN_WAKE: int = 2 +SOFT_RESET: int = 5 +ULP_WAKE: int = 6 +TOUCHPAD_WAKE: int = 5 +TIMER_WAKE: int = 4 +DEEPSLEEP: int = 4 +EXT1_WAKE: int = 3 +DEEPSLEEP_RESET: int = 4 +HARD_RESET: int = 2 +EXT0_WAKE: int = 2 def soft_reset(*args, **kwargs) -> Incomplete: ... def dht_readinto(*args, **kwargs) -> Incomplete: ... @@ -41,19 +47,19 @@ class PWM: def __init__(self, *argv, **kwargs) -> None: ... class Pin: - OPEN_DRAIN: int - OUT: int - IRQ_RISING: int - WAKE_LOW: int - WAKE_HIGH: int - PULL_DOWN: int - PULL_UP: int - DRIVE_1: int - IRQ_FALLING: int - DRIVE_0: int - IN: int - DRIVE_2: int - DRIVE_3: int + OPEN_DRAIN: int = 7 + OUT: int = 3 + IRQ_RISING: int = 1 + WAKE_LOW: int = 4 + WAKE_HIGH: int = 5 + PULL_DOWN: int = 1 + PULL_UP: int = 2 + DRIVE_1: int = 1 + IRQ_FALLING: int = 2 + DRIVE_0: int = 0 + IN: int = 1 + DRIVE_2: int = 2 + DRIVE_3: int = 3 def irq(self, *args, **kwargs) -> Incomplete: ... def on(self, *args, **kwargs) -> Incomplete: ... def off(self, *args, **kwargs) -> Incomplete: ... @@ -65,15 +71,15 @@ class Pin: def __init__(self, *argv, **kwargs) -> None: ... -mem8: Incomplete -mem32: Incomplete -mem16: Incomplete +mem8: Incomplete ## = <8-bit memory> +mem32: Incomplete ## = <32-bit memory> +mem16: Incomplete ## = <16-bit memory> class I2S: - RX: int - MONO: int - STEREO: int - TX: int + RX: int = 9 + MONO: int = 0 + STEREO: int = 1 + TX: int = 5 def shift(self, *args, **kwargs) -> Incomplete: ... def init(self, *args, **kwargs) -> Incomplete: ... def irq(self, *args, **kwargs) -> Incomplete: ... @@ -83,11 +89,11 @@ class I2S: def __init__(self, *argv, **kwargs) -> None: ... class ADC: - ATTN_2_5DB: int - WIDTH_12BIT: int - ATTN_6DB: int - ATTN_11DB: int - ATTN_0DB: int + ATTN_2_5DB: int = 1 + WIDTH_12BIT: int = 12 + ATTN_6DB: int = 2 + ATTN_11DB: int = 3 + ATTN_0DB: int = 0 def read_u16(self, *args, **kwargs) -> Incomplete: ... def init(self, *args, **kwargs) -> Incomplete: ... def read_uv(self, *args, **kwargs) -> Incomplete: ... @@ -123,8 +129,8 @@ class WDT: def __init__(self, *argv, **kwargs) -> None: ... class SoftSPI: - LSB: int - MSB: int + LSB: int = 1 + MSB: int = 0 def deinit(self, *args, **kwargs) -> Incomplete: ... def init(self, *args, **kwargs) -> Incomplete: ... def write_readinto(self, *args, **kwargs) -> Incomplete: ... @@ -134,8 +140,8 @@ class SoftSPI: def __init__(self, *argv, **kwargs) -> None: ... class Timer: - ONE_SHOT: int - PERIODIC: int + ONE_SHOT: int = 0 + PERIODIC: int = 1 def deinit(self, *args, **kwargs) -> Incomplete: ... def init(self, *args, **kwargs) -> Incomplete: ... def value(self, *args, **kwargs) -> Incomplete: ... @@ -147,12 +153,12 @@ class TouchPad: def __init__(self, *argv, **kwargs) -> None: ... class UART: - INV_CTS: int - CTS: int - INV_TX: int - INV_RTS: int - INV_RX: int - RTS: int + INV_CTS: int = 8 + CTS: int = 2 + INV_TX: int = 32 + INV_RTS: int = 64 + INV_RX: int = 4 + RTS: int = 1 def deinit(self, *args, **kwargs) -> Incomplete: ... def sendbreak(self, *args, **kwargs) -> Incomplete: ... def init(self, *args, **kwargs) -> Incomplete: ... @@ -196,8 +202,8 @@ class SDCard: def __init__(self, *argv, **kwargs) -> None: ... class SPI: - LSB: int - MSB: int + LSB: int = 1 + MSB: int = 0 def deinit(self, *args, **kwargs) -> Incomplete: ... def init(self, *args, **kwargs) -> Incomplete: ... def write_readinto(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/math.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/math.py deleted file mode 100644 index eaefad185..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/math.py +++ /dev/null @@ -1,172 +0,0 @@ -""" -Module: 'math' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -inf = inf # type: float -nan = nan # type: float -pi = 3.141593 # type: float -e = 2.718282 # type: float -tau = 6.283185 # type: float - - -def ldexp(*args, **kwargs) -> Incomplete: - ... - - -def lgamma(*args, **kwargs) -> Incomplete: - ... - - -def trunc(*args, **kwargs) -> Incomplete: - ... - - -def isclose(*args, **kwargs) -> Incomplete: - ... - - -def gamma(*args, **kwargs) -> Incomplete: - ... - - -def isnan(*args, **kwargs) -> Incomplete: - ... - - -def isfinite(*args, **kwargs) -> Incomplete: - ... - - -def isinf(*args, **kwargs) -> Incomplete: - ... - - -def sqrt(*args, **kwargs) -> Incomplete: - ... - - -def sinh(*args, **kwargs) -> Incomplete: - ... - - -def log(*args, **kwargs) -> Incomplete: - ... - - -def tan(*args, **kwargs) -> Incomplete: - ... - - -def tanh(*args, **kwargs) -> Incomplete: - ... - - -def log2(*args, **kwargs) -> Incomplete: - ... - - -def log10(*args, **kwargs) -> Incomplete: - ... - - -def sin(*args, **kwargs) -> Incomplete: - ... - - -def modf(*args, **kwargs) -> Incomplete: - ... - - -def radians(*args, **kwargs) -> Incomplete: - ... - - -def atanh(*args, **kwargs) -> Incomplete: - ... - - -def atan2(*args, **kwargs) -> Incomplete: - ... - - -def atan(*args, **kwargs) -> Incomplete: - ... - - -def ceil(*args, **kwargs) -> Incomplete: - ... - - -def copysign(*args, **kwargs) -> Incomplete: - ... - - -def frexp(*args, **kwargs) -> Incomplete: - ... - - -def acos(*args, **kwargs) -> Incomplete: - ... - - -def pow(*args, **kwargs) -> Incomplete: - ... - - -def asinh(*args, **kwargs) -> Incomplete: - ... - - -def acosh(*args, **kwargs) -> Incomplete: - ... - - -def asin(*args, **kwargs) -> Incomplete: - ... - - -def factorial(*args, **kwargs) -> Incomplete: - ... - - -def fabs(*args, **kwargs) -> Incomplete: - ... - - -def expm1(*args, **kwargs) -> Incomplete: - ... - - -def floor(*args, **kwargs) -> Incomplete: - ... - - -def fmod(*args, **kwargs) -> Incomplete: - ... - - -def cos(*args, **kwargs) -> Incomplete: - ... - - -def degrees(*args, **kwargs) -> Incomplete: - ... - - -def cosh(*args, **kwargs) -> Incomplete: - ... - - -def exp(*args, **kwargs) -> Incomplete: - ... - - -def erf(*args, **kwargs) -> Incomplete: - ... - - -def erfc(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/math.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/math.pyi index 452c13b59..4f407855d 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/math.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/math.pyi @@ -1,10 +1,16 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'math' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -inf: float -nan: float -pi: float -e: float -tau: float +inf: float = inf +nan: float = nan +pi: float = 3.141593 +e: float = 2.718282 +tau: float = 6.283185 def ldexp(*args, **kwargs) -> Incomplete: ... def lgamma(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/micropython.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/micropython.py deleted file mode 100644 index c56b8f0c3..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/micropython.py +++ /dev/null @@ -1,46 +0,0 @@ -""" -Module: 'micropython' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def opt_level(*args, **kwargs) -> Incomplete: - ... - - -def mem_info(*args, **kwargs) -> Incomplete: - ... - - -def stack_use(*args, **kwargs) -> Incomplete: - ... - - -def qstr_info(*args, **kwargs) -> Incomplete: - ... - - -def schedule(*args, **kwargs) -> Incomplete: - ... - - -def alloc_emergency_exception_buf(*args, **kwargs) -> Incomplete: - ... - - -def const(*args, **kwargs) -> Incomplete: - ... - - -def kbd_intr(*args, **kwargs) -> Incomplete: - ... - - -def heap_lock(*args, **kwargs) -> Incomplete: - ... - - -def heap_unlock(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/micropython.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/micropython.pyi index af5dee8a1..c0bc7fef5 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/micropython.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/micropython.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'micropython' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def opt_level(*args, **kwargs) -> Incomplete: ... def mem_info(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip.py deleted file mode 100644 index e7dcbde23..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip.py +++ /dev/null @@ -1,14 +0,0 @@ -""" -Module: 'mip' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def install(*args, **kwargs) -> Incomplete: - ... - - -def const(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip.pyi index 9616fd1a9..761767d98 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip.pyi @@ -1,4 +1,19 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'mip' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -def install(*args, **kwargs) -> Incomplete: ... +_CHUNK_SIZE: int = 128 + +def _ensure_path_exists(*args, **kwargs) -> Incomplete: ... +def _download_file(*args, **kwargs) -> Incomplete: ... +def _install_json(*args, **kwargs) -> Incomplete: ... +def _install_package(*args, **kwargs) -> Incomplete: ... +def _rewrite_url(*args, **kwargs) -> Incomplete: ... +def _chunk(*args, **kwargs) -> Incomplete: ... def const(*args, **kwargs) -> Incomplete: ... +def install(*args, **kwargs) -> Incomplete: ... +def _check_exists(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip/__init__.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip/__init__.py deleted file mode 100644 index 9007ba6c4..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip/__init__.py +++ /dev/null @@ -1,14 +0,0 @@ -""" -Module: 'mip.__init__' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def install(*args, **kwargs) -> Incomplete: - ... - - -def const(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip/__init__.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip/__init__.pyi index 9616fd1a9..626920708 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip/__init__.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip/__init__.pyi @@ -1,4 +1,19 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'mip.__init__' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -def install(*args, **kwargs) -> Incomplete: ... +_CHUNK_SIZE: int = 128 + +def _ensure_path_exists(*args, **kwargs) -> Incomplete: ... +def _download_file(*args, **kwargs) -> Incomplete: ... +def _install_json(*args, **kwargs) -> Incomplete: ... +def _install_package(*args, **kwargs) -> Incomplete: ... +def _rewrite_url(*args, **kwargs) -> Incomplete: ... +def _chunk(*args, **kwargs) -> Incomplete: ... def const(*args, **kwargs) -> Incomplete: ... +def install(*args, **kwargs) -> Incomplete: ... +def _check_exists(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/modules.json b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/modules.json index 946eb8c25..32e073735 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/modules.json +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/modules.json @@ -1,92 +1,92 @@ -{"firmware": {"family": "micropython", "version": "1.22.0", "build": "", "ver": "v1.22.0", "port": "esp32", "board": "ESP32_GENERIC_S3", "cpu": "ESP32S3", "mpy": "v6.2", "arch": "xtensawin"}, -"stubber": {"version": "v1.16.2"}, "stubtype": "firmware", +{"firmware": {"family": "micropython", "version": "1.22.0", "build": "", "ver": "1.22.0", "port": "esp32", "board": "ESP32_GENERIC_S3", "cpu": "ESP32S3", "mpy": "v6.2", "arch": "xtensawin"}, +"stubber": {"version": "v1.17.0"}, "stubtype": "firmware", "modules" :[ -{"module": "_asyncio", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_asyncio.py"}, -{"module": "_espnow", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_espnow.py"}, -{"module": "_onewire", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_onewire.py"}, -{"module": "_thread", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_thread.py"}, -{"module": "aioespnow", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/aioespnow.py"}, -{"module": "apa106", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/apa106.py"}, -{"module": "array", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/array.py"}, -{"module": "asyncio.__init__", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/__init__.py"}, -{"module": "asyncio.core", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/core.py"}, -{"module": "asyncio.event", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/event.py"}, -{"module": "asyncio.funcs", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/funcs.py"}, -{"module": "asyncio.lock", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/lock.py"}, -{"module": "asyncio.stream", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/stream.py"}, -{"module": "binascii", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/binascii.py"}, -{"module": "bluetooth", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/bluetooth.py"}, -{"module": "btree", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/btree.py"}, -{"module": "cmath", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cmath.py"}, -{"module": "collections", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/collections.py"}, -{"module": "cryptolib", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cryptolib.py"}, -{"module": "deflate", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/deflate.py"}, -{"module": "dht", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/dht.py"}, -{"module": "ds18x20", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ds18x20.py"}, -{"module": "errno", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/errno.py"}, -{"module": "esp", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp.py"}, -{"module": "esp32", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp32.py"}, -{"module": "espnow", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/espnow.py"}, -{"module": "flashbdev", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/flashbdev.py"}, -{"module": "framebuf", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/framebuf.py"}, -{"module": "gc", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/gc.py"}, -{"module": "hashlib", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/hashlib.py"}, -{"module": "heapq", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/heapq.py"}, -{"module": "inisetup", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/inisetup.py"}, -{"module": "io", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/io.py"}, -{"module": "json", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/json.py"}, -{"module": "logging", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/logging.py"}, -{"module": "machine", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/machine.py"}, -{"module": "math", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/math.py"}, -{"module": "micropython", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/micropython.py"}, -{"module": "mip", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip.py"}, -{"module": "mip.__init__", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip/__init__.py"}, -{"module": "neopixel", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/neopixel.py"}, -{"module": "network", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/network.py"}, -{"module": "ntptime", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ntptime.py"}, -{"module": "onewire", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/onewire.py"}, -{"module": "os", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/os.py"}, -{"module": "platform", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/platform.py"}, -{"module": "random", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/random.py"}, -{"module": "requests", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests.py"}, -{"module": "requests.__init__", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests/__init__.py"}, -{"module": "select", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/select.py"}, -{"module": "socket", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/socket.py"}, -{"module": "ssl", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ssl.py"}, -{"module": "struct", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/struct.py"}, -{"module": "sys", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/sys.py"}, -{"module": "time", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/time.py"}, -{"module": "uarray", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uarray.py"}, -{"module": "uasyncio.__init__", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/__init__.py"}, -{"module": "uasyncio.core", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/core.py"}, -{"module": "uasyncio.event", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/event.py"}, -{"module": "uasyncio.funcs", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/funcs.py"}, -{"module": "uasyncio.lock", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/lock.py"}, -{"module": "uasyncio.stream", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/stream.py"}, -{"module": "ubinascii", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubinascii.py"}, -{"module": "ubluetooth", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubluetooth.py"}, -{"module": "ucollections", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucollections.py"}, -{"module": "ucryptolib", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucryptolib.py"}, -{"module": "uctypes", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uctypes.py"}, -{"module": "uerrno", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uerrno.py"}, -{"module": "uhashlib", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uhashlib.py"}, -{"module": "uheapq", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uheapq.py"}, -{"module": "uio", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uio.py"}, -{"module": "ujson", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ujson.py"}, -{"module": "umachine", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umachine.py"}, -{"module": "umqtt.robust", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/robust.py"}, -{"module": "umqtt.simple", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/simple.py"}, -{"module": "uos", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uos.py"}, -{"module": "uplatform", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uplatform.py"}, -{"module": "urandom", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urandom.py"}, -{"module": "ure", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ure.py"}, -{"module": "urequests", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urequests.py"}, -{"module": "uselect", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uselect.py"}, -{"module": "usocket", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usocket.py"}, -{"module": "ussl", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ussl.py"}, -{"module": "ustruct", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ustruct.py"}, -{"module": "usys", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usys.py"}, -{"module": "utime", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/utime.py"}, -{"module": "uwebsocket", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uwebsocket.py"}, -{"module": "websocket", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/websocket.py"} +{"module": "_asyncio", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_asyncio.pyi"}, +{"module": "_espnow", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_espnow.pyi"}, +{"module": "_onewire", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_onewire.pyi"}, +{"module": "_thread", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_thread.pyi"}, +{"module": "aioespnow", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/aioespnow.pyi"}, +{"module": "apa106", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/apa106.pyi"}, +{"module": "array", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/array.pyi"}, +{"module": "asyncio.__init__", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/__init__.pyi"}, +{"module": "asyncio.core", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/core.pyi"}, +{"module": "asyncio.event", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/event.pyi"}, +{"module": "asyncio.funcs", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/funcs.pyi"}, +{"module": "asyncio.lock", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/lock.pyi"}, +{"module": "asyncio.stream", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/asyncio/stream.pyi"}, +{"module": "binascii", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/binascii.pyi"}, +{"module": "bluetooth", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/bluetooth.pyi"}, +{"module": "btree", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/btree.pyi"}, +{"module": "cmath", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cmath.pyi"}, +{"module": "collections", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/collections.pyi"}, +{"module": "cryptolib", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/cryptolib.pyi"}, +{"module": "deflate", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/deflate.pyi"}, +{"module": "dht", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/dht.pyi"}, +{"module": "ds18x20", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ds18x20.pyi"}, +{"module": "errno", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/errno.pyi"}, +{"module": "esp", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp.pyi"}, +{"module": "esp32", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/esp32.pyi"}, +{"module": "espnow", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/espnow.pyi"}, +{"module": "flashbdev", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/flashbdev.pyi"}, +{"module": "framebuf", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/framebuf.pyi"}, +{"module": "gc", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/gc.pyi"}, +{"module": "hashlib", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/hashlib.pyi"}, +{"module": "heapq", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/heapq.pyi"}, +{"module": "inisetup", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/inisetup.pyi"}, +{"module": "io", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/io.pyi"}, +{"module": "json", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/json.pyi"}, +{"module": "logging", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/logging.pyi"}, +{"module": "machine", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/machine.pyi"}, +{"module": "math", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/math.pyi"}, +{"module": "micropython", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/micropython.pyi"}, +{"module": "mip", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip.pyi"}, +{"module": "mip.__init__", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/mip/__init__.pyi"}, +{"module": "neopixel", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/neopixel.pyi"}, +{"module": "network", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/network.pyi"}, +{"module": "ntptime", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ntptime.pyi"}, +{"module": "onewire", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/onewire.pyi"}, +{"module": "os", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/os.pyi"}, +{"module": "platform", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/platform.pyi"}, +{"module": "random", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/random.pyi"}, +{"module": "requests", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests.pyi"}, +{"module": "requests.__init__", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests/__init__.pyi"}, +{"module": "select", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/select.pyi"}, +{"module": "socket", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/socket.pyi"}, +{"module": "ssl", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ssl.pyi"}, +{"module": "struct", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/struct.pyi"}, +{"module": "sys", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/sys.pyi"}, +{"module": "time", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/time.pyi"}, +{"module": "uarray", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uarray.pyi"}, +{"module": "uasyncio.__init__", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/__init__.pyi"}, +{"module": "uasyncio.core", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/core.pyi"}, +{"module": "uasyncio.event", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/event.pyi"}, +{"module": "uasyncio.funcs", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/funcs.pyi"}, +{"module": "uasyncio.lock", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/lock.pyi"}, +{"module": "uasyncio.stream", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/stream.pyi"}, +{"module": "ubinascii", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubinascii.pyi"}, +{"module": "ubluetooth", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubluetooth.pyi"}, +{"module": "ucollections", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucollections.pyi"}, +{"module": "ucryptolib", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucryptolib.pyi"}, +{"module": "uctypes", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uctypes.pyi"}, +{"module": "uerrno", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uerrno.pyi"}, +{"module": "uhashlib", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uhashlib.pyi"}, +{"module": "uheapq", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uheapq.pyi"}, +{"module": "uio", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uio.pyi"}, +{"module": "ujson", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ujson.pyi"}, +{"module": "umachine", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umachine.pyi"}, +{"module": "umqtt.robust", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/robust.pyi"}, +{"module": "umqtt.simple", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/simple.pyi"}, +{"module": "uos", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uos.pyi"}, +{"module": "uplatform", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uplatform.pyi"}, +{"module": "urandom", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urandom.pyi"}, +{"module": "ure", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ure.pyi"}, +{"module": "urequests", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urequests.pyi"}, +{"module": "uselect", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uselect.pyi"}, +{"module": "usocket", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usocket.pyi"}, +{"module": "ussl", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ussl.pyi"}, +{"module": "ustruct", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ustruct.pyi"}, +{"module": "usys", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usys.pyi"}, +{"module": "utime", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/utime.pyi"}, +{"module": "uwebsocket", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uwebsocket.pyi"}, +{"module": "websocket", "file": "/remote/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/websocket.pyi"} ]} \ No newline at end of file diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/neopixel.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/neopixel.py deleted file mode 100644 index 7425c33aa..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/neopixel.py +++ /dev/null @@ -1,23 +0,0 @@ -""" -Module: 'neopixel' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def bitstream(*args, **kwargs) -> Incomplete: - ... - - -class NeoPixel: - ORDER = () # type: tuple - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def fill(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/neopixel.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/neopixel.pyi index 7043f7a07..eff468bea 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/neopixel.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/neopixel.pyi @@ -1,9 +1,15 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'neopixel' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def bitstream(*args, **kwargs) -> Incomplete: ... class NeoPixel: - ORDER: tuple + ORDER: tuple = () def write(self, *args, **kwargs) -> Incomplete: ... def fill(self, *args, **kwargs) -> Incomplete: ... def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/network.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/network.py deleted file mode 100644 index 85ebb0285..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/network.py +++ /dev/null @@ -1,101 +0,0 @@ -""" -Module: 'network' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -PHY_KSZ8081 = 6 # type: int -PHY_KSZ8041 = 5 # type: int -MODE_11G = 2 # type: int -PHY_KSZ8851SNL = 100 # type: int -PHY_LAN8710 = 0 # type: int -MODE_LR = 8 # type: int -MODE_11N = 4 # type: int -PHY_IP101 = 2 # type: int -PHY_DM9051 = 101 # type: int -PHY_DP83848 = 4 # type: int -STAT_GOT_IP = 1010 # type: int -STAT_CONNECTING = 1001 # type: int -PHY_LAN8720 = 1 # type: int -STAT_HANDSHAKE_TIMEOUT = 204 # type: int -STAT_IDLE = 1000 # type: int -PHY_W5500 = 102 # type: int -PHY_RTL8201 = 3 # type: int -STAT_BEACON_TIMEOUT = 200 # type: int -STAT_WRONG_PASSWORD = 202 # type: int -STAT_ASSOC_FAIL = 203 # type: int -STAT_NO_AP_FOUND = 201 # type: int -AUTH_WPA2_ENTERPRISE = 5 # type: int -AUTH_WEP = 1 # type: int -MODE_11B = 1 # type: int -AUTH_WPA2_PSK = 3 # type: int -AUTH_WPA2_WPA3_PSK = 7 # type: int -AUTH_MAX = 10 # type: int -AP_IF = 1 # type: int -AUTH_WAPI_PSK = 8 # type: int -AUTH_OPEN = 0 # type: int -AUTH_OWE = 9 # type: int -ETH_STARTED = 1 # type: int -ETH_INITIALIZED = 0 # type: int -AUTH_WPA3_PSK = 6 # type: int -ETH_STOPPED = 2 # type: int -STA_IF = 0 # type: int -AUTH_WPA_WPA2_PSK = 4 # type: int -AUTH_WPA_PSK = 2 # type: int -ETH_GOT_IP = 5 # type: int -ETH_CONNECTED = 3 # type: int -ETH_DISCONNECTED = 4 # type: int - - -def phy_mode(*args, **kwargs) -> Incomplete: - ... - - -def country(*args, **kwargs) -> Incomplete: - ... - - -def hostname(*args, **kwargs) -> Incomplete: - ... - - -def LAN(*args, **kwargs) -> Incomplete: - ... - - -def PPP(*args, **kwargs) -> Incomplete: - ... - - -class WLAN: - PM_PERFORMANCE = 1 # type: int - PM_POWERSAVE = 2 # type: int - PM_NONE = 0 # type: int - - def status(self, *args, **kwargs) -> Incomplete: - ... - - def ifconfig(self, *args, **kwargs) -> Incomplete: - ... - - def isconnected(self, *args, **kwargs) -> Incomplete: - ... - - def scan(self, *args, **kwargs) -> Incomplete: - ... - - def disconnect(self, *args, **kwargs) -> Incomplete: - ... - - def active(self, *args, **kwargs) -> Incomplete: - ... - - def config(self, *args, **kwargs) -> Incomplete: - ... - - def connect(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/network.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/network.pyi index 5d0f49cf5..29f59d955 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/network.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/network.pyi @@ -1,46 +1,52 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'network' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -PHY_KSZ8081: int -PHY_KSZ8041: int -MODE_11G: int -PHY_KSZ8851SNL: int -PHY_LAN8710: int -MODE_LR: int -MODE_11N: int -PHY_IP101: int -PHY_DM9051: int -PHY_DP83848: int -STAT_GOT_IP: int -STAT_CONNECTING: int -PHY_LAN8720: int -STAT_HANDSHAKE_TIMEOUT: int -STAT_IDLE: int -PHY_W5500: int -PHY_RTL8201: int -STAT_BEACON_TIMEOUT: int -STAT_WRONG_PASSWORD: int -STAT_ASSOC_FAIL: int -STAT_NO_AP_FOUND: int -AUTH_WPA2_ENTERPRISE: int -AUTH_WEP: int -MODE_11B: int -AUTH_WPA2_PSK: int -AUTH_WPA2_WPA3_PSK: int -AUTH_MAX: int -AP_IF: int -AUTH_WAPI_PSK: int -AUTH_OPEN: int -AUTH_OWE: int -ETH_STARTED: int -ETH_INITIALIZED: int -AUTH_WPA3_PSK: int -ETH_STOPPED: int -STA_IF: int -AUTH_WPA_WPA2_PSK: int -AUTH_WPA_PSK: int -ETH_GOT_IP: int -ETH_CONNECTED: int -ETH_DISCONNECTED: int +PHY_KSZ8081: int = 6 +PHY_KSZ8041: int = 5 +MODE_11G: int = 2 +PHY_KSZ8851SNL: int = 100 +PHY_LAN8710: int = 0 +MODE_LR: int = 8 +MODE_11N: int = 4 +PHY_IP101: int = 2 +PHY_DM9051: int = 101 +PHY_DP83848: int = 4 +STAT_GOT_IP: int = 1010 +STAT_CONNECTING: int = 1001 +PHY_LAN8720: int = 1 +STAT_HANDSHAKE_TIMEOUT: int = 204 +STAT_IDLE: int = 1000 +PHY_W5500: int = 102 +PHY_RTL8201: int = 3 +STAT_BEACON_TIMEOUT: int = 200 +STAT_WRONG_PASSWORD: int = 202 +STAT_ASSOC_FAIL: int = 203 +STAT_NO_AP_FOUND: int = 201 +AUTH_WPA2_ENTERPRISE: int = 5 +AUTH_WEP: int = 1 +MODE_11B: int = 1 +AUTH_WPA2_PSK: int = 3 +AUTH_WPA2_WPA3_PSK: int = 7 +AUTH_MAX: int = 10 +AP_IF: int = 1 +AUTH_WAPI_PSK: int = 8 +AUTH_OPEN: int = 0 +AUTH_OWE: int = 9 +ETH_STARTED: int = 1 +ETH_INITIALIZED: int = 0 +AUTH_WPA3_PSK: int = 6 +ETH_STOPPED: int = 2 +STA_IF: int = 0 +AUTH_WPA_WPA2_PSK: int = 4 +AUTH_WPA_PSK: int = 2 +ETH_GOT_IP: int = 5 +ETH_CONNECTED: int = 3 +ETH_DISCONNECTED: int = 4 def phy_mode(*args, **kwargs) -> Incomplete: ... def country(*args, **kwargs) -> Incomplete: ... @@ -49,9 +55,9 @@ def LAN(*args, **kwargs) -> Incomplete: ... def PPP(*args, **kwargs) -> Incomplete: ... class WLAN: - PM_PERFORMANCE: int - PM_POWERSAVE: int - PM_NONE: int + PM_PERFORMANCE: int = 1 + PM_POWERSAVE: int = 2 + PM_NONE: int = 0 def status(self, *args, **kwargs) -> Incomplete: ... def ifconfig(self, *args, **kwargs) -> Incomplete: ... def isconnected(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ntptime.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ntptime.py deleted file mode 100644 index a927bb78d..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ntptime.py +++ /dev/null @@ -1,17 +0,0 @@ -""" -Module: 'ntptime' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -host = "pool.ntp.org" # type: str -timeout = 1 # type: int - - -def settime(*args, **kwargs) -> Incomplete: - ... - - -def time(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ntptime.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ntptime.pyi index e893f85a6..bb1f79cc2 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ntptime.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ntptime.pyi @@ -1,7 +1,13 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'ntptime' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -host: str -timeout: int +host: str = "pool.ntp.org" +timeout: int = 1 def settime(*args, **kwargs) -> Incomplete: ... def time(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/onewire.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/onewire.py deleted file mode 100644 index 3ea04de14..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/onewire.py +++ /dev/null @@ -1,10 +0,0 @@ -""" -Module: 'onewire' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class OneWireError(Exception): - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/onewire.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/onewire.pyi index f0154ec3a..99446f21f 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/onewire.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/onewire.pyi @@ -1,3 +1,26 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'onewire' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete class OneWireError(Exception): ... + +class OneWire: + SKIP_ROM: int = 204 + SEARCH_ROM: int = 240 + MATCH_ROM: int = 85 + def select_rom(self, *args, **kwargs) -> Incomplete: ... + def writebit(self, *args, **kwargs) -> Incomplete: ... + def writebyte(self, *args, **kwargs) -> Incomplete: ... + def _search_rom(self, *args, **kwargs) -> Incomplete: ... + def write(self, *args, **kwargs) -> Incomplete: ... + def crc8(self, *args, **kwargs) -> Incomplete: ... + def readinto(self, *args, **kwargs) -> Incomplete: ... + def scan(self, *args, **kwargs) -> Incomplete: ... + def reset(self, *args, **kwargs) -> Incomplete: ... + def readbit(self, *args, **kwargs) -> Incomplete: ... + def readbyte(self, *args, **kwargs) -> Incomplete: ... + def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/os.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/os.py deleted file mode 100644 index c436fb982..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/os.py +++ /dev/null @@ -1,166 +0,0 @@ -""" -Module: 'os' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def rmdir(*args, **kwargs) -> Incomplete: - ... - - -def stat(*args, **kwargs) -> Incomplete: - ... - - -def urandom(*args, **kwargs) -> Incomplete: - ... - - -def rename(*args, **kwargs) -> Incomplete: - ... - - -def mount(*args, **kwargs) -> Incomplete: - ... - - -def uname(*args, **kwargs) -> Incomplete: - ... - - -def unlink(*args, **kwargs) -> Incomplete: - ... - - -def statvfs(*args, **kwargs) -> Incomplete: - ... - - -def umount(*args, **kwargs) -> Incomplete: - ... - - -def sync(*args, **kwargs) -> Incomplete: - ... - - -def mkdir(*args, **kwargs) -> Incomplete: - ... - - -def dupterm(*args, **kwargs) -> Incomplete: - ... - - -def chdir(*args, **kwargs) -> Incomplete: - ... - - -def remove(*args, **kwargs) -> Incomplete: - ... - - -def dupterm_notify(*args, **kwargs) -> Incomplete: - ... - - -def listdir(*args, **kwargs) -> Incomplete: - ... - - -def ilistdir(*args, **kwargs) -> Incomplete: - ... - - -def getcwd(*args, **kwargs) -> Incomplete: - ... - - -class VfsFat: - def rename(self, *args, **kwargs) -> Incomplete: - ... - - def mkfs(self, *args, **kwargs) -> Incomplete: - ... - - def mount(self, *args, **kwargs) -> Incomplete: - ... - - def statvfs(self, *args, **kwargs) -> Incomplete: - ... - - def rmdir(self, *args, **kwargs) -> Incomplete: - ... - - def stat(self, *args, **kwargs) -> Incomplete: - ... - - def umount(self, *args, **kwargs) -> Incomplete: - ... - - def remove(self, *args, **kwargs) -> Incomplete: - ... - - def mkdir(self, *args, **kwargs) -> Incomplete: - ... - - def open(self, *args, **kwargs) -> Incomplete: - ... - - def ilistdir(self, *args, **kwargs) -> Incomplete: - ... - - def chdir(self, *args, **kwargs) -> Incomplete: - ... - - def getcwd(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class VfsLfs2: - def rename(self, *args, **kwargs) -> Incomplete: - ... - - def mkfs(self, *args, **kwargs) -> Incomplete: - ... - - def mount(self, *args, **kwargs) -> Incomplete: - ... - - def statvfs(self, *args, **kwargs) -> Incomplete: - ... - - def rmdir(self, *args, **kwargs) -> Incomplete: - ... - - def stat(self, *args, **kwargs) -> Incomplete: - ... - - def umount(self, *args, **kwargs) -> Incomplete: - ... - - def remove(self, *args, **kwargs) -> Incomplete: - ... - - def mkdir(self, *args, **kwargs) -> Incomplete: - ... - - def open(self, *args, **kwargs) -> Incomplete: - ... - - def ilistdir(self, *args, **kwargs) -> Incomplete: - ... - - def chdir(self, *args, **kwargs) -> Incomplete: - ... - - def getcwd(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/os.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/os.pyi index 1da5a62ad..77fbcb10f 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/os.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/os.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'os' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def rmdir(*args, **kwargs) -> Incomplete: ... def stat(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/platform.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/platform.py deleted file mode 100644 index 4e40e7950..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/platform.py +++ /dev/null @@ -1,18 +0,0 @@ -""" -Module: 'platform' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def platform(*args, **kwargs) -> Incomplete: - ... - - -def python_compiler(*args, **kwargs) -> Incomplete: - ... - - -def libc_ver(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/platform.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/platform.pyi index 435dd9bab..bb41600db 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/platform.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/platform.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'platform' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def platform(*args, **kwargs) -> Incomplete: ... def python_compiler(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/random.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/random.py deleted file mode 100644 index 85b0a9c13..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/random.py +++ /dev/null @@ -1,34 +0,0 @@ -""" -Module: 'random' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def randrange(*args, **kwargs) -> Incomplete: - ... - - -def random(*args, **kwargs) -> Incomplete: - ... - - -def seed(*args, **kwargs) -> Incomplete: - ... - - -def uniform(*args, **kwargs) -> Incomplete: - ... - - -def choice(*args, **kwargs) -> Incomplete: - ... - - -def randint(*args, **kwargs) -> Incomplete: - ... - - -def getrandbits(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/random.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/random.pyi index 86b04dcf6..38cd0b2e4 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/random.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/random.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'random' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def randrange(*args, **kwargs) -> Incomplete: ... def random(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests.py deleted file mode 100644 index 5c18d80a7..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests.py +++ /dev/null @@ -1,48 +0,0 @@ -""" -Module: 'requests' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def head(*args, **kwargs) -> Incomplete: - ... - - -def delete(*args, **kwargs) -> Incomplete: - ... - - -def patch(*args, **kwargs) -> Incomplete: - ... - - -def post(*args, **kwargs) -> Incomplete: - ... - - -def get(*args, **kwargs) -> Incomplete: - ... - - -def request(*args, **kwargs) -> Incomplete: - ... - - -def put(*args, **kwargs) -> Incomplete: - ... - - -class Response: - def json(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - content: Incomplete ## = - text: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests.pyi index 61630430a..270a617b0 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'requests' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def head(*args, **kwargs) -> Incomplete: ... def delete(*args, **kwargs) -> Incomplete: ... @@ -11,6 +17,7 @@ def put(*args, **kwargs) -> Incomplete: ... class Response: def json(self, *args, **kwargs) -> Incomplete: ... def close(self, *args, **kwargs) -> Incomplete: ... - content: Incomplete - text: Incomplete + + content: Incomplete ## = + text: Incomplete ## = def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests/__init__.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests/__init__.py deleted file mode 100644 index b2b7c990c..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests/__init__.py +++ /dev/null @@ -1,48 +0,0 @@ -""" -Module: 'requests.__init__' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def head(*args, **kwargs) -> Incomplete: - ... - - -def delete(*args, **kwargs) -> Incomplete: - ... - - -def patch(*args, **kwargs) -> Incomplete: - ... - - -def post(*args, **kwargs) -> Incomplete: - ... - - -def get(*args, **kwargs) -> Incomplete: - ... - - -def request(*args, **kwargs) -> Incomplete: - ... - - -def put(*args, **kwargs) -> Incomplete: - ... - - -class Response: - def json(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - content: Incomplete ## = - text: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests/__init__.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests/__init__.pyi index 61630430a..ef5f45e0e 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests/__init__.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/requests/__init__.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'requests.__init__' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def head(*args, **kwargs) -> Incomplete: ... def delete(*args, **kwargs) -> Incomplete: ... @@ -11,6 +17,7 @@ def put(*args, **kwargs) -> Incomplete: ... class Response: def json(self, *args, **kwargs) -> Incomplete: ... def close(self, *args, **kwargs) -> Incomplete: ... - content: Incomplete - text: Incomplete + + content: Incomplete ## = + text: Incomplete ## = def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/select.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/select.py deleted file mode 100644 index 65b4dada4..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/select.py +++ /dev/null @@ -1,19 +0,0 @@ -""" -Module: 'select' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -POLLOUT = 4 # type: int -POLLIN = 1 # type: int -POLLHUP = 16 # type: int -POLLERR = 8 # type: int - - -def select(*args, **kwargs) -> Incomplete: - ... - - -def poll(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/select.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/select.pyi index 5d29973e2..09a344b35 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/select.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/select.pyi @@ -1,9 +1,15 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'select' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -POLLOUT: int -POLLIN: int -POLLHUP: int -POLLERR: int +POLLOUT: int = 4 +POLLIN: int = 1 +POLLHUP: int = 16 +POLLERR: int = 8 def select(*args, **kwargs) -> Incomplete: ... def poll(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/socket.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/socket.py deleted file mode 100644 index 2d9362953..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/socket.py +++ /dev/null @@ -1,86 +0,0 @@ -""" -Module: 'socket' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -SOCK_STREAM = 1 # type: int -SOCK_DGRAM = 2 # type: int -SOCK_RAW = 3 # type: int -SO_BROADCAST = 32 # type: int -SOL_SOCKET = 4095 # type: int -SO_BINDTODEVICE = 4107 # type: int -SO_REUSEADDR = 4 # type: int -AF_INET6 = 10 # type: int -IP_ADD_MEMBERSHIP = 3 # type: int -AF_INET = 2 # type: int -IPPROTO_UDP = 17 # type: int -IPPROTO_IP = 0 # type: int -IPPROTO_TCP = 6 # type: int - - -def getaddrinfo(*args, **kwargs) -> Incomplete: - ... - - -class socket: - def recvfrom(self, *args, **kwargs) -> Incomplete: - ... - - def recv(self, *args, **kwargs) -> Incomplete: - ... - - def makefile(self, *args, **kwargs) -> Incomplete: - ... - - def listen(self, *args, **kwargs) -> Incomplete: - ... - - def fileno(self, *args, **kwargs) -> Incomplete: - ... - - def sendall(self, *args, **kwargs) -> Incomplete: - ... - - def setsockopt(self, *args, **kwargs) -> Incomplete: - ... - - def setblocking(self, *args, **kwargs) -> Incomplete: - ... - - def sendto(self, *args, **kwargs) -> Incomplete: - ... - - def settimeout(self, *args, **kwargs) -> Incomplete: - ... - - def readline(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - def connect(self, *args, **kwargs) -> Incomplete: - ... - - def send(self, *args, **kwargs) -> Incomplete: - ... - - def bind(self, *args, **kwargs) -> Incomplete: - ... - - def accept(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/socket.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/socket.pyi index 918806801..bd102fb7b 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/socket.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/socket.pyi @@ -1,18 +1,24 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'socket' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -SOCK_STREAM: int -SOCK_DGRAM: int -SOCK_RAW: int -SO_BROADCAST: int -SOL_SOCKET: int -SO_BINDTODEVICE: int -SO_REUSEADDR: int -AF_INET6: int -IP_ADD_MEMBERSHIP: int -AF_INET: int -IPPROTO_UDP: int -IPPROTO_IP: int -IPPROTO_TCP: int +SOCK_STREAM: int = 1 +SOCK_DGRAM: int = 2 +SOCK_RAW: int = 3 +SO_BROADCAST: int = 32 +SOL_SOCKET: int = 4095 +SO_BINDTODEVICE: int = 4107 +SO_REUSEADDR: int = 4 +AF_INET6: int = 10 +IP_ADD_MEMBERSHIP: int = 3 +AF_INET: int = 2 +IPPROTO_UDP: int = 17 +IPPROTO_IP: int = 0 +IPPROTO_TCP: int = 6 def getaddrinfo(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ssl.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ssl.py deleted file mode 100644 index d668cfa7c..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ssl.py +++ /dev/null @@ -1,37 +0,0 @@ -""" -Module: 'ssl' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -MBEDTLS_VERSION = "mbed TLS 3.4.1" # type: str -PROTOCOL_TLS_SERVER = 1 # type: int -PROTOCOL_TLS_CLIENT = 0 # type: int -CERT_NONE = 0 # type: int -CERT_REQUIRED = 2 # type: int -CERT_OPTIONAL = 1 # type: int - - -def wrap_socket(*args, **kwargs) -> Incomplete: - ... - - -class SSLContext: - def load_verify_locations(self, *args, **kwargs) -> Incomplete: - ... - - def set_ciphers(self, *args, **kwargs) -> Incomplete: - ... - - def wrap_socket(self, *args, **kwargs) -> Incomplete: - ... - - def load_cert_chain(self, *args, **kwargs) -> Incomplete: - ... - - def get_ciphers(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ssl.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ssl.pyi index 09441cdaa..08c603275 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ssl.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ssl.pyi @@ -1,11 +1,17 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'ssl' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -MBEDTLS_VERSION: str -PROTOCOL_TLS_SERVER: int -PROTOCOL_TLS_CLIENT: int -CERT_NONE: int -CERT_REQUIRED: int -CERT_OPTIONAL: int +MBEDTLS_VERSION: str = "mbed TLS 3.4.1" +PROTOCOL_TLS_SERVER: int = 1 +PROTOCOL_TLS_CLIENT: int = 0 +CERT_NONE: int = 0 +CERT_REQUIRED: int = 2 +CERT_OPTIONAL: int = 1 def wrap_socket(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/struct.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/struct.py deleted file mode 100644 index 9dc05ebe3..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/struct.py +++ /dev/null @@ -1,26 +0,0 @@ -""" -Module: 'struct' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def pack_into(*args, **kwargs) -> Incomplete: - ... - - -def unpack(*args, **kwargs) -> Incomplete: - ... - - -def unpack_from(*args, **kwargs) -> Incomplete: - ... - - -def pack(*args, **kwargs) -> Incomplete: - ... - - -def calcsize(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/struct.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/struct.pyi index 457f447f4..25b58e3bb 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/struct.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/struct.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'struct' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def pack_into(*args, **kwargs) -> Incomplete: ... def unpack(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/sys.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/sys.py deleted file mode 100644 index 0a85bf472..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/sys.py +++ /dev/null @@ -1,31 +0,0 @@ -""" -Module: 'sys' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -platform = "esp32" # type: str -version_info = () # type: tuple -path = [] # type: list -version = "3.4.0; MicroPython v1.22.0 on 2023-12-27" # type: str -ps1 = ">>> " # type: str -ps2 = "... " # type: str -byteorder = "little" # type: str -modules = {} # type: dict -argv = [] # type: list -implementation = () # type: tuple -maxsize = 2147483647 # type: int - - -def print_exception(*args, **kwargs) -> Incomplete: - ... - - -def exit(*args, **kwargs) -> Incomplete: - ... - - -stderr: Incomplete ## = -stdout: Incomplete ## = -stdin: Incomplete ## = diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/sys.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/sys.pyi index a61745133..21dcf3b9d 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/sys.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/sys.pyi @@ -1,20 +1,26 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'sys' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -platform: str -version_info: tuple -path: list -version: str -ps1: str -ps2: str -byteorder: str -modules: dict -argv: list -implementation: tuple -maxsize: int +platform: str = "esp32" +version_info: tuple = () +path: list = [] +version: str = "3.4.0; MicroPython v1.22.0 on 2023-12-27" +ps1: str = ">>> " +ps2: str = "... " +byteorder: str = "little" +modules: dict = {} +argv: list = [] +implementation: tuple = () +maxsize: int = 2147483647 def print_exception(*args, **kwargs) -> Incomplete: ... def exit(*args, **kwargs) -> Incomplete: ... -stderr: Incomplete -stdout: Incomplete -stdin: Incomplete +stderr: Incomplete ## = +stdout: Incomplete ## = +stdin: Incomplete ## = diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/time.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/time.py deleted file mode 100644 index 66f94c3e1..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/time.py +++ /dev/null @@ -1,58 +0,0 @@ -""" -Module: 'time' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def ticks_diff(*args, **kwargs) -> Incomplete: - ... - - -def ticks_add(*args, **kwargs) -> Incomplete: - ... - - -def ticks_cpu(*args, **kwargs) -> Incomplete: - ... - - -def time(*args, **kwargs) -> Incomplete: - ... - - -def ticks_ms(*args, **kwargs) -> Incomplete: - ... - - -def ticks_us(*args, **kwargs) -> Incomplete: - ... - - -def time_ns(*args, **kwargs) -> Incomplete: - ... - - -def localtime(*args, **kwargs) -> Incomplete: - ... - - -def sleep_us(*args, **kwargs) -> Incomplete: - ... - - -def gmtime(*args, **kwargs) -> Incomplete: - ... - - -def sleep_ms(*args, **kwargs) -> Incomplete: - ... - - -def mktime(*args, **kwargs) -> Incomplete: - ... - - -def sleep(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/time.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/time.pyi index b0ede898d..2d5f670de 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/time.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/time.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'time' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def ticks_diff(*args, **kwargs) -> Incomplete: ... def ticks_add(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uarray.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uarray.py deleted file mode 100644 index 44b6480ad..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uarray.py +++ /dev/null @@ -1,17 +0,0 @@ -""" -Module: 'uarray' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class array: - def extend(self, *args, **kwargs) -> Incomplete: - ... - - def append(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uarray.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uarray.pyi index a8e856830..512427ee6 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uarray.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uarray.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uarray' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete class array: def extend(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/__init__.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/__init__.py deleted file mode 100644 index 8ad700852..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/__init__.py +++ /dev/null @@ -1,80 +0,0 @@ -""" -Module: 'uasyncio.__init__' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def ticks_add(*args, **kwargs) -> Incomplete: - ... - - -def current_task(*args, **kwargs) -> Incomplete: - ... - - -def create_task(*args, **kwargs) -> Incomplete: - ... - - -def ticks_diff(*args, **kwargs) -> Incomplete: - ... - - -def get_event_loop(*args, **kwargs) -> Incomplete: - ... - - -def ticks(*args, **kwargs) -> Incomplete: - ... - - -def run_until_complete(*args, **kwargs) -> Incomplete: - ... - - -def new_event_loop(*args, **kwargs) -> Incomplete: - ... - - -def wait_for_ms(*args, **kwargs) -> Incomplete: - ... - - -def sleep(*args, **kwargs) -> Incomplete: - ... - - -def run(*args, **kwargs) -> Incomplete: - ... - - -def sleep_ms(*args, **kwargs) -> Incomplete: - ... - - -class TaskQueue: - def push(self, *args, **kwargs) -> Incomplete: - ... - - def peek(self, *args, **kwargs) -> Incomplete: - ... - - def remove(self, *args, **kwargs) -> Incomplete: - ... - - def pop(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -gather: Incomplete ## = -wait_for: Incomplete ## = -open_connection: Incomplete ## = - - -class CancelledError(Exception): - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/__init__.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/__init__.pyi index 8b7de8f15..0e1692d2e 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/__init__.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/__init__.pyi @@ -1,17 +1,28 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uasyncio.__init__' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete + +_attrs: dict = {} -def ticks_add(*args, **kwargs) -> Incomplete: ... -def current_task(*args, **kwargs) -> Incomplete: ... def create_task(*args, **kwargs) -> Incomplete: ... +def current_task(*args, **kwargs) -> Incomplete: ... def ticks_diff(*args, **kwargs) -> Incomplete: ... +def wait_for_ms(*args, **kwargs) -> Incomplete: ... def get_event_loop(*args, **kwargs) -> Incomplete: ... def ticks(*args, **kwargs) -> Incomplete: ... def run_until_complete(*args, **kwargs) -> Incomplete: ... def new_event_loop(*args, **kwargs) -> Incomplete: ... -def wait_for_ms(*args, **kwargs) -> Incomplete: ... +def ticks_add(*args, **kwargs) -> Incomplete: ... +def sleep_ms(*args, **kwargs) -> Incomplete: ... def sleep(*args, **kwargs) -> Incomplete: ... def run(*args, **kwargs) -> Incomplete: ... -def sleep_ms(*args, **kwargs) -> Incomplete: ... + +open_connection: Generator ## = class TaskQueue: def push(self, *args, **kwargs) -> Incomplete: ... @@ -20,8 +31,96 @@ class TaskQueue: def pop(self, *args, **kwargs) -> Incomplete: ... def __init__(self, *argv, **kwargs) -> None: ... -gather: Incomplete -wait_for: Incomplete -open_connection: Incomplete +gather: Generator ## = + +class Lock: + def locked(self, *args, **kwargs) -> Incomplete: ... + def release(self, *args, **kwargs) -> Incomplete: ... + + acquire: Generator ## = + def __init__(self, *argv, **kwargs) -> None: ... + +class Task: + def __init__(self, *argv, **kwargs) -> None: ... + +wait_for: Generator ## = class CancelledError(Exception): ... + +start_server: Generator ## = + +class StreamWriter: + def write(self, *args, **kwargs) -> Incomplete: ... + def get_extra_info(self, *args, **kwargs) -> Incomplete: ... + def close(self, *args, **kwargs) -> Incomplete: ... + + awritestr: Generator ## = + wait_closed: Generator ## = + drain: Generator ## = + readexactly: Generator ## = + readinto: Generator ## = + read: Generator ## = + awrite: Generator ## = + readline: Generator ## = + aclose: Generator ## = + def __init__(self, *argv, **kwargs) -> None: ... + +class StreamReader: + def write(self, *args, **kwargs) -> Incomplete: ... + def get_extra_info(self, *args, **kwargs) -> Incomplete: ... + def close(self, *args, **kwargs) -> Incomplete: ... + + awritestr: Generator ## = + wait_closed: Generator ## = + drain: Generator ## = + readexactly: Generator ## = + readinto: Generator ## = + read: Generator ## = + awrite: Generator ## = + readline: Generator ## = + aclose: Generator ## = + def __init__(self, *argv, **kwargs) -> None: ... + +class SingletonGenerator: + def __init__(self, *argv, **kwargs) -> None: ... + +class Loop: + def get_exception_handler(self, *args, **kwargs) -> Incomplete: ... + def default_exception_handler(self, *args, **kwargs) -> Incomplete: ... + def set_exception_handler(self, *args, **kwargs) -> Incomplete: ... + def run_forever(self, *args, **kwargs) -> Incomplete: ... + def run_until_complete(self, *args, **kwargs) -> Incomplete: ... + def stop(self, *args, **kwargs) -> Incomplete: ... + def close(self, *args, **kwargs) -> Incomplete: ... + def create_task(self, *args, **kwargs) -> Incomplete: ... + def call_exception_handler(self, *args, **kwargs) -> Incomplete: ... + + _exc_handler: Incomplete ## = None + def __init__(self, *argv, **kwargs) -> None: ... + +class ThreadSafeFlag: + def set(self, *args, **kwargs) -> Incomplete: ... + def ioctl(self, *args, **kwargs) -> Incomplete: ... + def clear(self, *args, **kwargs) -> Incomplete: ... + + wait: Generator ## = + def __init__(self, *argv, **kwargs) -> None: ... + +class Event: + def set(self, *args, **kwargs) -> Incomplete: ... + def is_set(self, *args, **kwargs) -> Incomplete: ... + def clear(self, *args, **kwargs) -> Incomplete: ... + + wait: Generator ## = + def __init__(self, *argv, **kwargs) -> None: ... + +class IOQueue: + def queue_read(self, *args, **kwargs) -> Incomplete: ... + def wait_io_event(self, *args, **kwargs) -> Incomplete: ... + def queue_write(self, *args, **kwargs) -> Incomplete: ... + def remove(self, *args, **kwargs) -> Incomplete: ... + def _enqueue(self, *args, **kwargs) -> Incomplete: ... + def _dequeue(self, *args, **kwargs) -> Incomplete: ... + def __init__(self, *argv, **kwargs) -> None: ... + +class TimeoutError(Exception): ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/core.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/core.py deleted file mode 100644 index f35903720..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/core.py +++ /dev/null @@ -1,76 +0,0 @@ -""" -Module: 'uasyncio.core' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def ticks(*args, **kwargs) -> Incomplete: - ... - - -def create_task(*args, **kwargs) -> Incomplete: - ... - - -def ticks_diff(*args, **kwargs) -> Incomplete: - ... - - -def ticks_add(*args, **kwargs) -> Incomplete: - ... - - -def current_task(*args, **kwargs) -> Incomplete: - ... - - -def run_until_complete(*args, **kwargs) -> Incomplete: - ... - - -def new_event_loop(*args, **kwargs) -> Incomplete: - ... - - -def get_event_loop(*args, **kwargs) -> Incomplete: - ... - - -def sleep(*args, **kwargs) -> Incomplete: - ... - - -def run(*args, **kwargs) -> Incomplete: - ... - - -def sleep_ms(*args, **kwargs) -> Incomplete: - ... - - -class TaskQueue: - def push(self, *args, **kwargs) -> Incomplete: - ... - - def peek(self, *args, **kwargs) -> Incomplete: - ... - - def remove(self, *args, **kwargs) -> Incomplete: - ... - - def pop(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Task: - def __init__(self, *argv, **kwargs) -> None: - ... - - -class CancelledError(Exception): - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/core.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/core.pyi index 95975c317..36d9207fb 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/core.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/core.pyi @@ -1,6 +1,15 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uasyncio.core' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete -def ticks(*args, **kwargs) -> Incomplete: ... +_exc_context: dict = {} + +def _promote_to_task(*args, **kwargs) -> Incomplete: ... def create_task(*args, **kwargs) -> Incomplete: ... def ticks_diff(*args, **kwargs) -> Incomplete: ... def ticks_add(*args, **kwargs) -> Incomplete: ... @@ -8,10 +17,19 @@ def current_task(*args, **kwargs) -> Incomplete: ... def run_until_complete(*args, **kwargs) -> Incomplete: ... def new_event_loop(*args, **kwargs) -> Incomplete: ... def get_event_loop(*args, **kwargs) -> Incomplete: ... +def ticks(*args, **kwargs) -> Incomplete: ... def sleep(*args, **kwargs) -> Incomplete: ... def run(*args, **kwargs) -> Incomplete: ... def sleep_ms(*args, **kwargs) -> Incomplete: ... +_stopper: Generator ## = +_task_queue: Incomplete ## = + +class CancelledError(Exception): ... + +class Task: + def __init__(self, *argv, **kwargs) -> None: ... + class TaskQueue: def push(self, *args, **kwargs) -> Incomplete: ... def peek(self, *args, **kwargs) -> Incomplete: ... @@ -19,7 +37,34 @@ class TaskQueue: def pop(self, *args, **kwargs) -> Incomplete: ... def __init__(self, *argv, **kwargs) -> None: ... -class Task: +class Loop: + def get_exception_handler(self, *args, **kwargs) -> Incomplete: ... + def default_exception_handler(self, *args, **kwargs) -> Incomplete: ... + def set_exception_handler(self, *args, **kwargs) -> Incomplete: ... + def run_forever(self, *args, **kwargs) -> Incomplete: ... + def run_until_complete(self, *args, **kwargs) -> Incomplete: ... + def stop(self, *args, **kwargs) -> Incomplete: ... + def close(self, *args, **kwargs) -> Incomplete: ... + def create_task(self, *args, **kwargs) -> Incomplete: ... + def call_exception_handler(self, *args, **kwargs) -> Incomplete: ... + + _exc_handler: Incomplete ## = None def __init__(self, *argv, **kwargs) -> None: ... -class CancelledError(Exception): ... +class SingletonGenerator: + def __init__(self, *argv, **kwargs) -> None: ... + +class IOQueue: + def queue_read(self, *args, **kwargs) -> Incomplete: ... + def wait_io_event(self, *args, **kwargs) -> Incomplete: ... + def queue_write(self, *args, **kwargs) -> Incomplete: ... + def remove(self, *args, **kwargs) -> Incomplete: ... + def _enqueue(self, *args, **kwargs) -> Incomplete: ... + def _dequeue(self, *args, **kwargs) -> Incomplete: ... + def __init__(self, *argv, **kwargs) -> None: ... + +_stop_task: Incomplete ## = None + +class TimeoutError(Exception): ... + +_io_queue: Incomplete ## = diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/event.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/event.py deleted file mode 100644 index 8fe7e22a3..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/event.py +++ /dev/null @@ -1,38 +0,0 @@ -""" -Module: 'uasyncio.event' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class ThreadSafeFlag: - def set(self, *args, **kwargs) -> Incomplete: - ... - - def ioctl(self, *args, **kwargs) -> Incomplete: - ... - - def clear(self, *args, **kwargs) -> Incomplete: - ... - - wait: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Event: - def set(self, *args, **kwargs) -> Incomplete: - ... - - def is_set(self, *args, **kwargs) -> Incomplete: - ... - - def clear(self, *args, **kwargs) -> Incomplete: - ... - - wait: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/event.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/event.pyi index 9f62c5c71..08a23d4ef 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/event.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/event.pyi @@ -1,15 +1,24 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uasyncio.event' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete class ThreadSafeFlag: def set(self, *args, **kwargs) -> Incomplete: ... def ioctl(self, *args, **kwargs) -> Incomplete: ... def clear(self, *args, **kwargs) -> Incomplete: ... - wait: Incomplete + + wait: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... class Event: def set(self, *args, **kwargs) -> Incomplete: ... def is_set(self, *args, **kwargs) -> Incomplete: ... def clear(self, *args, **kwargs) -> Incomplete: ... - wait: Incomplete + + wait: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/funcs.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/funcs.py deleted file mode 100644 index 8ae609e43..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/funcs.py +++ /dev/null @@ -1,14 +0,0 @@ -""" -Module: 'uasyncio.funcs' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def wait_for_ms(*args, **kwargs) -> Incomplete: - ... - - -wait_for: Incomplete ## = -gather: Incomplete ## = diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/funcs.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/funcs.pyi index 2931f0b8b..584158d9f 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/funcs.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/funcs.pyi @@ -1,6 +1,19 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uasyncio.funcs' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete def wait_for_ms(*args, **kwargs) -> Incomplete: ... -wait_for: Incomplete -gather: Incomplete +gather: Generator ## = +wait_for: Generator ## = + +class _Remove: + def remove(self, *args, **kwargs) -> Incomplete: ... + def __init__(self, *argv, **kwargs) -> None: ... + +_run: Generator ## = diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/lock.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/lock.py deleted file mode 100644 index b84efa0b1..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/lock.py +++ /dev/null @@ -1,19 +0,0 @@ -""" -Module: 'uasyncio.lock' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class Lock: - def locked(self, *args, **kwargs) -> Incomplete: - ... - - def release(self, *args, **kwargs) -> Incomplete: - ... - - acquire: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/lock.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/lock.pyi index 6661216ec..466293043 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/lock.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/lock.pyi @@ -1,7 +1,15 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uasyncio.lock' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete class Lock: def locked(self, *args, **kwargs) -> Incomplete: ... def release(self, *args, **kwargs) -> Incomplete: ... - acquire: Incomplete + + acquire: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/stream.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/stream.py deleted file mode 100644 index b80c645a5..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/stream.py +++ /dev/null @@ -1,92 +0,0 @@ -""" -Module: 'uasyncio.stream' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -stream_awrite: Incomplete ## = -open_connection: Incomplete ## = -start_server: Incomplete ## = - - -class StreamWriter: - def write(self, *args, **kwargs) -> Incomplete: - ... - - def get_extra_info(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - awritestr: Incomplete ## = - wait_closed: Incomplete ## = - drain: Incomplete ## = - readexactly: Incomplete ## = - readinto: Incomplete ## = - read: Incomplete ## = - awrite: Incomplete ## = - readline: Incomplete ## = - aclose: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Server: - def close(self, *args, **kwargs) -> Incomplete: - ... - - wait_closed: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Stream: - def write(self, *args, **kwargs) -> Incomplete: - ... - - def get_extra_info(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - awritestr: Incomplete ## = - wait_closed: Incomplete ## = - drain: Incomplete ## = - readexactly: Incomplete ## = - readinto: Incomplete ## = - read: Incomplete ## = - awrite: Incomplete ## = - readline: Incomplete ## = - aclose: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class StreamReader: - def write(self, *args, **kwargs) -> Incomplete: - ... - - def get_extra_info(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - awritestr: Incomplete ## = - wait_closed: Incomplete ## = - drain: Incomplete ## = - readexactly: Incomplete ## = - readinto: Incomplete ## = - read: Incomplete ## = - awrite: Incomplete ## = - readline: Incomplete ## = - aclose: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/stream.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/stream.pyi index fff9bcd8b..6580bfa7d 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/stream.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uasyncio/stream.pyi @@ -1,55 +1,67 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uasyncio.stream' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from typing import Generator +from _typeshed import Incomplete -stream_awrite: Incomplete -open_connection: Incomplete -start_server: Incomplete +stream_awrite: Generator ## = +open_connection: Generator ## = +start_server: Generator ## = class StreamWriter: def write(self, *args, **kwargs) -> Incomplete: ... def get_extra_info(self, *args, **kwargs) -> Incomplete: ... def close(self, *args, **kwargs) -> Incomplete: ... - awritestr: Incomplete - wait_closed: Incomplete - drain: Incomplete - readexactly: Incomplete - readinto: Incomplete - read: Incomplete - awrite: Incomplete - readline: Incomplete - aclose: Incomplete + + awritestr: Generator ## = + wait_closed: Generator ## = + drain: Generator ## = + readexactly: Generator ## = + readinto: Generator ## = + read: Generator ## = + awrite: Generator ## = + readline: Generator ## = + aclose: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... class Server: def close(self, *args, **kwargs) -> Incomplete: ... - wait_closed: Incomplete + + wait_closed: Generator ## = + _serve: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... class Stream: def write(self, *args, **kwargs) -> Incomplete: ... def get_extra_info(self, *args, **kwargs) -> Incomplete: ... def close(self, *args, **kwargs) -> Incomplete: ... - awritestr: Incomplete - wait_closed: Incomplete - drain: Incomplete - readexactly: Incomplete - readinto: Incomplete - read: Incomplete - awrite: Incomplete - readline: Incomplete - aclose: Incomplete + + awritestr: Generator ## = + wait_closed: Generator ## = + drain: Generator ## = + readexactly: Generator ## = + readinto: Generator ## = + read: Generator ## = + awrite: Generator ## = + readline: Generator ## = + aclose: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... class StreamReader: def write(self, *args, **kwargs) -> Incomplete: ... def get_extra_info(self, *args, **kwargs) -> Incomplete: ... def close(self, *args, **kwargs) -> Incomplete: ... - awritestr: Incomplete - wait_closed: Incomplete - drain: Incomplete - readexactly: Incomplete - readinto: Incomplete - read: Incomplete - awrite: Incomplete - readline: Incomplete - aclose: Incomplete + + awritestr: Generator ## = + wait_closed: Generator ## = + drain: Generator ## = + readexactly: Generator ## = + readinto: Generator ## = + read: Generator ## = + awrite: Generator ## = + readline: Generator ## = + aclose: Generator ## = def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubinascii.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubinascii.py deleted file mode 100644 index ddf0e3de9..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubinascii.py +++ /dev/null @@ -1,26 +0,0 @@ -""" -Module: 'ubinascii' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def crc32(*args, **kwargs) -> Incomplete: - ... - - -def hexlify(*args, **kwargs) -> Incomplete: - ... - - -def unhexlify(*args, **kwargs) -> Incomplete: - ... - - -def b2a_base64(*args, **kwargs) -> Incomplete: - ... - - -def a2b_base64(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubinascii.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubinascii.pyi index 9dc67f09f..d333770c4 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubinascii.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubinascii.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'ubinascii' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def crc32(*args, **kwargs) -> Incomplete: ... def hexlify(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubluetooth.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubluetooth.py deleted file mode 100644 index 728bedb94..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubluetooth.py +++ /dev/null @@ -1,85 +0,0 @@ -""" -Module: 'ubluetooth' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -FLAG_NOTIFY = 16 # type: int -FLAG_READ = 2 # type: int -FLAG_WRITE = 8 # type: int -FLAG_INDICATE = 32 # type: int -FLAG_WRITE_NO_RESPONSE = 4 # type: int - - -class UUID: - def __init__(self, *argv, **kwargs) -> None: - ... - - -class BLE: - def gattc_write(self, *args, **kwargs) -> Incomplete: - ... - - def gatts_indicate(self, *args, **kwargs) -> Incomplete: - ... - - def gattc_discover_services(self, *args, **kwargs) -> Incomplete: - ... - - def gattc_read(self, *args, **kwargs) -> Incomplete: - ... - - def gattc_exchange_mtu(self, *args, **kwargs) -> Incomplete: - ... - - def gatts_set_buffer(self, *args, **kwargs) -> Incomplete: - ... - - def gatts_write(self, *args, **kwargs) -> Incomplete: - ... - - def gatts_notify(self, *args, **kwargs) -> Incomplete: - ... - - def gatts_register_services(self, *args, **kwargs) -> Incomplete: - ... - - def gatts_read(self, *args, **kwargs) -> Incomplete: - ... - - def irq(self, *args, **kwargs) -> Incomplete: - ... - - def gap_advertise(self, *args, **kwargs) -> Incomplete: - ... - - def gap_connect(self, *args, **kwargs) -> Incomplete: - ... - - def gattc_discover_descriptors(self, *args, **kwargs) -> Incomplete: - ... - - def config(self, *args, **kwargs) -> Incomplete: - ... - - def active(self, *args, **kwargs) -> Incomplete: - ... - - def gap_scan(self, *args, **kwargs) -> Incomplete: - ... - - def gattc_discover_characteristics(self, *args, **kwargs) -> Incomplete: - ... - - def gap_disconnect(self, *args, **kwargs) -> Incomplete: - ... - - def gap_passkey(self, *args, **kwargs) -> Incomplete: - ... - - def gap_pair(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubluetooth.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubluetooth.pyi index 165d6b87a..42f127ff7 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubluetooth.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ubluetooth.pyi @@ -1,10 +1,16 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'ubluetooth' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -FLAG_NOTIFY: int -FLAG_READ: int -FLAG_WRITE: int -FLAG_INDICATE: int -FLAG_WRITE_NO_RESPONSE: int +FLAG_NOTIFY: int = 16 +FLAG_READ: int = 2 +FLAG_WRITE: int = 8 +FLAG_INDICATE: int = 32 +FLAG_WRITE_NO_RESPONSE: int = 4 class UUID: def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucollections.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucollections.py deleted file mode 100644 index aaf1c8239..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucollections.py +++ /dev/null @@ -1,60 +0,0 @@ -""" -Module: 'ucollections' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def namedtuple(*args, **kwargs) -> Incomplete: - ... - - -class OrderedDict: - def popitem(self, *args, **kwargs) -> Incomplete: - ... - - def pop(self, *args, **kwargs) -> Incomplete: - ... - - def values(self, *args, **kwargs) -> Incomplete: - ... - - def setdefault(self, *args, **kwargs) -> Incomplete: - ... - - def update(self, *args, **kwargs) -> Incomplete: - ... - - def copy(self, *args, **kwargs) -> Incomplete: - ... - - def clear(self, *args, **kwargs) -> Incomplete: - ... - - def keys(self, *args, **kwargs) -> Incomplete: - ... - - def get(self, *args, **kwargs) -> Incomplete: - ... - - def items(self, *args, **kwargs) -> Incomplete: - ... - - @classmethod - def fromkeys(cls, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class deque: - def popleft(self, *args, **kwargs) -> Incomplete: - ... - - def append(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucollections.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucollections.pyi index 70c735718..4e9e271d2 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucollections.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucollections.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'ucollections' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def namedtuple(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucryptolib.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucryptolib.py deleted file mode 100644 index 510aa18ed..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucryptolib.py +++ /dev/null @@ -1,17 +0,0 @@ -""" -Module: 'ucryptolib' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class aes: - def encrypt(self, *args, **kwargs) -> Incomplete: - ... - - def decrypt(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucryptolib.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucryptolib.pyi index 7d496d182..086528fac 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucryptolib.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ucryptolib.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'ucryptolib' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete class aes: def encrypt(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uctypes.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uctypes.py deleted file mode 100644 index 98e1c1826..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uctypes.py +++ /dev/null @@ -1,60 +0,0 @@ -""" -Module: 'uctypes' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -VOID = 0 # type: int -NATIVE = 2 # type: int -PTR = 536870912 # type: int -SHORT = 402653184 # type: int -LONGLONG = 939524096 # type: int -INT8 = 134217728 # type: int -LITTLE_ENDIAN = 0 # type: int -LONG = 671088640 # type: int -UINT = 536870912 # type: int -ULONG = 536870912 # type: int -ULONGLONG = 805306368 # type: int -USHORT = 268435456 # type: int -UINT8 = 0 # type: int -UINT16 = 268435456 # type: int -UINT32 = 536870912 # type: int -UINT64 = 805306368 # type: int -INT64 = 939524096 # type: int -BFUINT16 = -805306368 # type: int -BFUINT32 = -536870912 # type: int -BFUINT8 = -1073741824 # type: int -BFINT8 = -939524096 # type: int -ARRAY = -1073741824 # type: int -BFINT16 = -671088640 # type: int -BFINT32 = -402653184 # type: int -BF_LEN = 22 # type: int -INT = 671088640 # type: int -INT16 = 402653184 # type: int -INT32 = 671088640 # type: int -FLOAT64 = -134217728 # type: int -BF_POS = 17 # type: int -BIG_ENDIAN = 1 # type: int -FLOAT32 = -268435456 # type: int - - -def sizeof(*args, **kwargs) -> Incomplete: - ... - - -def bytes_at(*args, **kwargs) -> Incomplete: - ... - - -def bytearray_at(*args, **kwargs) -> Incomplete: - ... - - -def addressof(*args, **kwargs) -> Incomplete: - ... - - -class struct: - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uctypes.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uctypes.pyi index 515ef2dcb..73261c2c9 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uctypes.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uctypes.pyi @@ -1,37 +1,43 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uctypes' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -VOID: int -NATIVE: int -PTR: int -SHORT: int -LONGLONG: int -INT8: int -LITTLE_ENDIAN: int -LONG: int -UINT: int -ULONG: int -ULONGLONG: int -USHORT: int -UINT8: int -UINT16: int -UINT32: int -UINT64: int -INT64: int -BFUINT16: int -BFUINT32: int -BFUINT8: int -BFINT8: int -ARRAY: int -BFINT16: int -BFINT32: int -BF_LEN: int -INT: int -INT16: int -INT32: int -FLOAT64: int -BF_POS: int -BIG_ENDIAN: int -FLOAT32: int +VOID: int = 0 +NATIVE: int = 2 +PTR: int = 536870912 +SHORT: int = 402653184 +LONGLONG: int = 939524096 +INT8: int = 134217728 +LITTLE_ENDIAN: int = 0 +LONG: int = 671088640 +UINT: int = 536870912 +ULONG: int = 536870912 +ULONGLONG: int = 805306368 +USHORT: int = 268435456 +UINT8: int = 0 +UINT16: int = 268435456 +UINT32: int = 536870912 +UINT64: int = 805306368 +INT64: int = 939524096 +BFUINT16: int = -805306368 +BFUINT32: int = -536870912 +BFUINT8: int = -1073741824 +BFINT8: int = -939524096 +ARRAY: int = -1073741824 +BFINT16: int = -671088640 +BFINT32: int = -402653184 +BF_LEN: int = 22 +INT: int = 671088640 +INT16: int = 402653184 +INT32: int = 671088640 +FLOAT64: int = -134217728 +BF_POS: int = 17 +BIG_ENDIAN: int = 1 +FLOAT32: int = -268435456 def sizeof(*args, **kwargs) -> Incomplete: ... def bytes_at(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uerrno.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uerrno.py deleted file mode 100644 index 664e90c59..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uerrno.py +++ /dev/null @@ -1,30 +0,0 @@ -""" -Module: 'uerrno' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -ENOBUFS = 105 # type: int -ENODEV = 19 # type: int -ENOENT = 2 # type: int -EISDIR = 21 # type: int -EIO = 5 # type: int -EINVAL = 22 # type: int -EPERM = 1 # type: int -ETIMEDOUT = 116 # type: int -ENOMEM = 12 # type: int -EOPNOTSUPP = 95 # type: int -ENOTCONN = 128 # type: int -errorcode = {} # type: dict -EAGAIN = 11 # type: int -EALREADY = 120 # type: int -EBADF = 9 # type: int -EADDRINUSE = 112 # type: int -EACCES = 13 # type: int -EINPROGRESS = 119 # type: int -EEXIST = 17 # type: int -EHOSTUNREACH = 118 # type: int -ECONNABORTED = 113 # type: int -ECONNRESET = 104 # type: int -ECONNREFUSED = 111 # type: int diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uerrno.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uerrno.pyi index 5da23fe40..f718c8d6f 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uerrno.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uerrno.pyi @@ -1,25 +1,31 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uerrno' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -ENOBUFS: int -ENODEV: int -ENOENT: int -EISDIR: int -EIO: int -EINVAL: int -EPERM: int -ETIMEDOUT: int -ENOMEM: int -EOPNOTSUPP: int -ENOTCONN: int -errorcode: dict -EAGAIN: int -EALREADY: int -EBADF: int -EADDRINUSE: int -EACCES: int -EINPROGRESS: int -EEXIST: int -EHOSTUNREACH: int -ECONNABORTED: int -ECONNRESET: int -ECONNREFUSED: int +ENOBUFS: int = 105 +ENODEV: int = 19 +ENOENT: int = 2 +EISDIR: int = 21 +EIO: int = 5 +EINVAL: int = 22 +EPERM: int = 1 +ETIMEDOUT: int = 116 +ENOMEM: int = 12 +EOPNOTSUPP: int = 95 +ENOTCONN: int = 128 +errorcode: dict = {} +EAGAIN: int = 11 +EALREADY: int = 120 +EBADF: int = 9 +EADDRINUSE: int = 112 +EACCES: int = 13 +EINPROGRESS: int = 119 +EEXIST: int = 17 +EHOSTUNREACH: int = 118 +ECONNABORTED: int = 113 +ECONNRESET: int = 104 +ECONNREFUSED: int = 111 diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uhashlib.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uhashlib.py deleted file mode 100644 index 5b1bcc297..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uhashlib.py +++ /dev/null @@ -1,39 +0,0 @@ -""" -Module: 'uhashlib' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class sha1: - def digest(self, *args, **kwargs) -> Incomplete: - ... - - def update(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class sha256: - def digest(self, *args, **kwargs) -> Incomplete: - ... - - def update(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class md5: - def digest(self, *args, **kwargs) -> Incomplete: - ... - - def update(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uhashlib.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uhashlib.pyi index 190e5a04d..1c417f425 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uhashlib.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uhashlib.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uhashlib' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete class sha1: def digest(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uheapq.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uheapq.py deleted file mode 100644 index 227423204..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uheapq.py +++ /dev/null @@ -1,18 +0,0 @@ -""" -Module: 'uheapq' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def heappop(*args, **kwargs) -> Incomplete: - ... - - -def heappush(*args, **kwargs) -> Incomplete: - ... - - -def heapify(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uheapq.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uheapq.pyi index e8dde2a9a..0093579a1 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uheapq.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uheapq.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uheapq' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def heappop(*args, **kwargs) -> Incomplete: ... def heappush(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uio.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uio.py deleted file mode 100644 index a8d413922..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uio.py +++ /dev/null @@ -1,90 +0,0 @@ -""" -Module: 'uio' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def open(*args, **kwargs) -> Incomplete: - ... - - -class StringIO: - def write(self, *args, **kwargs) -> Incomplete: - ... - - def flush(self, *args, **kwargs) -> Incomplete: - ... - - def getvalue(self, *args, **kwargs) -> Incomplete: - ... - - def seek(self, *args, **kwargs) -> Incomplete: - ... - - def tell(self, *args, **kwargs) -> Incomplete: - ... - - def readline(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class IOBase: - def __init__(self, *argv, **kwargs) -> None: - ... - - -class BytesIO: - def write(self, *args, **kwargs) -> Incomplete: - ... - - def flush(self, *args, **kwargs) -> Incomplete: - ... - - def getvalue(self, *args, **kwargs) -> Incomplete: - ... - - def seek(self, *args, **kwargs) -> Incomplete: - ... - - def tell(self, *args, **kwargs) -> Incomplete: - ... - - def readline(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class BufferedWriter: - def flush(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uio.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uio.pyi index f3d05c13b..38c337389 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uio.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uio.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uio' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def open(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ujson.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ujson.py deleted file mode 100644 index c8306a3bf..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ujson.py +++ /dev/null @@ -1,22 +0,0 @@ -""" -Module: 'ujson' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def loads(*args, **kwargs) -> Incomplete: - ... - - -def load(*args, **kwargs) -> Incomplete: - ... - - -def dumps(*args, **kwargs) -> Incomplete: - ... - - -def dump(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ujson.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ujson.pyi index 49dc2e225..3be37ee99 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ujson.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ujson.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'ujson' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def loads(*args, **kwargs) -> Incomplete: ... def load(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umachine.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umachine.py deleted file mode 100644 index 3e5d54f8e..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umachine.py +++ /dev/null @@ -1,487 +0,0 @@ -""" -Module: 'umachine' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -WDT_RESET = 3 # type: int -SLEEP = 2 # type: int -PWRON_RESET = 1 # type: int -PIN_WAKE = 2 # type: int -SOFT_RESET = 5 # type: int -ULP_WAKE = 6 # type: int -TOUCHPAD_WAKE = 5 # type: int -TIMER_WAKE = 4 # type: int -DEEPSLEEP = 4 # type: int -EXT1_WAKE = 3 # type: int -DEEPSLEEP_RESET = 4 # type: int -HARD_RESET = 2 # type: int -EXT0_WAKE = 2 # type: int - - -def soft_reset(*args, **kwargs) -> Incomplete: - ... - - -def dht_readinto(*args, **kwargs) -> Incomplete: - ... - - -def bitstream(*args, **kwargs) -> Incomplete: - ... - - -def unique_id(*args, **kwargs) -> Incomplete: - ... - - -def time_pulse_us(*args, **kwargs) -> Incomplete: - ... - - -def bootloader(*args, **kwargs) -> Incomplete: - ... - - -def deepsleep(*args, **kwargs) -> Incomplete: - ... - - -def disable_irq(*args, **kwargs) -> Incomplete: - ... - - -def reset(*args, **kwargs) -> Incomplete: - ... - - -def reset_cause(*args, **kwargs) -> Incomplete: - ... - - -def sleep(*args, **kwargs) -> Incomplete: - ... - - -def lightsleep(*args, **kwargs) -> Incomplete: - ... - - -def enable_irq(*args, **kwargs) -> Incomplete: - ... - - -def freq(*args, **kwargs) -> Incomplete: - ... - - -def idle(*args, **kwargs) -> Incomplete: - ... - - -def wake_reason(*args, **kwargs) -> Incomplete: - ... - - -class PWM: - def duty_u16(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def freq(self, *args, **kwargs) -> Incomplete: - ... - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def duty_ns(self, *args, **kwargs) -> Incomplete: - ... - - def duty(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Pin: - OPEN_DRAIN = 7 # type: int - OUT = 3 # type: int - IRQ_RISING = 1 # type: int - WAKE_LOW = 4 # type: int - WAKE_HIGH = 5 # type: int - PULL_DOWN = 1 # type: int - PULL_UP = 2 # type: int - DRIVE_1 = 1 # type: int - IRQ_FALLING = 2 # type: int - DRIVE_0 = 0 # type: int - IN = 1 # type: int - DRIVE_2 = 2 # type: int - DRIVE_3 = 3 # type: int - - def irq(self, *args, **kwargs) -> Incomplete: - ... - - def on(self, *args, **kwargs) -> Incomplete: - ... - - def off(self, *args, **kwargs) -> Incomplete: - ... - - def value(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - class board: - def __init__(self, *argv, **kwargs) -> None: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -mem8: Incomplete ## = <8-bit memory> -mem32: Incomplete ## = <32-bit memory> -mem16: Incomplete ## = <16-bit memory> - - -class I2S: - RX = 9 # type: int - MONO = 0 # type: int - STEREO = 1 # type: int - TX = 5 # type: int - - def shift(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def irq(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class ADC: - ATTN_2_5DB = 1 # type: int - WIDTH_12BIT = 12 # type: int - ATTN_6DB = 2 # type: int - ATTN_11DB = 3 # type: int - ATTN_0DB = 0 # type: int - - def read_u16(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def read_uv(self, *args, **kwargs) -> Incomplete: - ... - - def width(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def block(self, *args, **kwargs) -> Incomplete: - ... - - def atten(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class ADCBlock: - def init(self, *args, **kwargs) -> Incomplete: - ... - - def connect(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class I2C: - def readfrom_mem_into(self, *args, **kwargs) -> Incomplete: - ... - - def readfrom_into(self, *args, **kwargs) -> Incomplete: - ... - - def readfrom_mem(self, *args, **kwargs) -> Incomplete: - ... - - def writeto_mem(self, *args, **kwargs) -> Incomplete: - ... - - def scan(self, *args, **kwargs) -> Incomplete: - ... - - def writeto(self, *args, **kwargs) -> Incomplete: - ... - - def writevto(self, *args, **kwargs) -> Incomplete: - ... - - def start(self, *args, **kwargs) -> Incomplete: - ... - - def readfrom(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def stop(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class WDT: - def feed(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class SoftSPI: - LSB = 1 # type: int - MSB = 0 # type: int - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def write_readinto(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Timer: - ONE_SHOT = 0 # type: int - PERIODIC = 1 # type: int - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def value(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class TouchPad: - def config(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class UART: - INV_CTS = 8 # type: int - CTS = 2 # type: int - INV_TX = 32 # type: int - INV_RTS = 64 # type: int - INV_RX = 4 # type: int - RTS = 1 # type: int - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def sendbreak(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def flush(self, *args, **kwargs) -> Incomplete: - ... - - def txdone(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def any(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def readline(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class RTC: - def init(self, *args, **kwargs) -> Incomplete: - ... - - def memory(self, *args, **kwargs) -> Incomplete: - ... - - def datetime(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class SoftI2C: - def readfrom_mem_into(self, *args, **kwargs) -> Incomplete: - ... - - def readfrom_into(self, *args, **kwargs) -> Incomplete: - ... - - def readfrom_mem(self, *args, **kwargs) -> Incomplete: - ... - - def writeto_mem(self, *args, **kwargs) -> Incomplete: - ... - - def scan(self, *args, **kwargs) -> Incomplete: - ... - - def writeto(self, *args, **kwargs) -> Incomplete: - ... - - def writevto(self, *args, **kwargs) -> Incomplete: - ... - - def start(self, *args, **kwargs) -> Incomplete: - ... - - def readfrom(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def stop(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class SDCard: - def ioctl(self, *args, **kwargs) -> Incomplete: - ... - - def readblocks(self, *args, **kwargs) -> Incomplete: - ... - - def writeblocks(self, *args, **kwargs) -> Incomplete: - ... - - def info(self, *args, **kwargs) -> Incomplete: - ... - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class SPI: - LSB = 1 # type: int - MSB = 0 # type: int - - def deinit(self, *args, **kwargs) -> Incomplete: - ... - - def init(self, *args, **kwargs) -> Incomplete: - ... - - def write_readinto(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class Signal: - def off(self, *args, **kwargs) -> Incomplete: - ... - - def on(self, *args, **kwargs) -> Incomplete: - ... - - def value(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umachine.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umachine.pyi index c0756b871..1fb77a80a 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umachine.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umachine.pyi @@ -1,18 +1,24 @@ -from _typeshed import Incomplete as Incomplete - -WDT_RESET: int -SLEEP: int -PWRON_RESET: int -PIN_WAKE: int -SOFT_RESET: int -ULP_WAKE: int -TOUCHPAD_WAKE: int -TIMER_WAKE: int -DEEPSLEEP: int -EXT1_WAKE: int -DEEPSLEEP_RESET: int -HARD_RESET: int -EXT0_WAKE: int +""" +Module: 'umachine' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete + +WDT_RESET: int = 3 +SLEEP: int = 2 +PWRON_RESET: int = 1 +PIN_WAKE: int = 2 +SOFT_RESET: int = 5 +ULP_WAKE: int = 6 +TOUCHPAD_WAKE: int = 5 +TIMER_WAKE: int = 4 +DEEPSLEEP: int = 4 +EXT1_WAKE: int = 3 +DEEPSLEEP_RESET: int = 4 +HARD_RESET: int = 2 +EXT0_WAKE: int = 2 def soft_reset(*args, **kwargs) -> Incomplete: ... def dht_readinto(*args, **kwargs) -> Incomplete: ... @@ -41,19 +47,19 @@ class PWM: def __init__(self, *argv, **kwargs) -> None: ... class Pin: - OPEN_DRAIN: int - OUT: int - IRQ_RISING: int - WAKE_LOW: int - WAKE_HIGH: int - PULL_DOWN: int - PULL_UP: int - DRIVE_1: int - IRQ_FALLING: int - DRIVE_0: int - IN: int - DRIVE_2: int - DRIVE_3: int + OPEN_DRAIN: int = 7 + OUT: int = 3 + IRQ_RISING: int = 1 + WAKE_LOW: int = 4 + WAKE_HIGH: int = 5 + PULL_DOWN: int = 1 + PULL_UP: int = 2 + DRIVE_1: int = 1 + IRQ_FALLING: int = 2 + DRIVE_0: int = 0 + IN: int = 1 + DRIVE_2: int = 2 + DRIVE_3: int = 3 def irq(self, *args, **kwargs) -> Incomplete: ... def on(self, *args, **kwargs) -> Incomplete: ... def off(self, *args, **kwargs) -> Incomplete: ... @@ -65,15 +71,15 @@ class Pin: def __init__(self, *argv, **kwargs) -> None: ... -mem8: Incomplete -mem32: Incomplete -mem16: Incomplete +mem8: Incomplete ## = <8-bit memory> +mem32: Incomplete ## = <32-bit memory> +mem16: Incomplete ## = <16-bit memory> class I2S: - RX: int - MONO: int - STEREO: int - TX: int + RX: int = 9 + MONO: int = 0 + STEREO: int = 1 + TX: int = 5 def shift(self, *args, **kwargs) -> Incomplete: ... def init(self, *args, **kwargs) -> Incomplete: ... def irq(self, *args, **kwargs) -> Incomplete: ... @@ -83,11 +89,11 @@ class I2S: def __init__(self, *argv, **kwargs) -> None: ... class ADC: - ATTN_2_5DB: int - WIDTH_12BIT: int - ATTN_6DB: int - ATTN_11DB: int - ATTN_0DB: int + ATTN_2_5DB: int = 1 + WIDTH_12BIT: int = 12 + ATTN_6DB: int = 2 + ATTN_11DB: int = 3 + ATTN_0DB: int = 0 def read_u16(self, *args, **kwargs) -> Incomplete: ... def init(self, *args, **kwargs) -> Incomplete: ... def read_uv(self, *args, **kwargs) -> Incomplete: ... @@ -123,8 +129,8 @@ class WDT: def __init__(self, *argv, **kwargs) -> None: ... class SoftSPI: - LSB: int - MSB: int + LSB: int = 1 + MSB: int = 0 def deinit(self, *args, **kwargs) -> Incomplete: ... def init(self, *args, **kwargs) -> Incomplete: ... def write_readinto(self, *args, **kwargs) -> Incomplete: ... @@ -134,8 +140,8 @@ class SoftSPI: def __init__(self, *argv, **kwargs) -> None: ... class Timer: - ONE_SHOT: int - PERIODIC: int + ONE_SHOT: int = 0 + PERIODIC: int = 1 def deinit(self, *args, **kwargs) -> Incomplete: ... def init(self, *args, **kwargs) -> Incomplete: ... def value(self, *args, **kwargs) -> Incomplete: ... @@ -147,12 +153,12 @@ class TouchPad: def __init__(self, *argv, **kwargs) -> None: ... class UART: - INV_CTS: int - CTS: int - INV_TX: int - INV_RTS: int - INV_RX: int - RTS: int + INV_CTS: int = 8 + CTS: int = 2 + INV_TX: int = 32 + INV_RTS: int = 64 + INV_RX: int = 4 + RTS: int = 1 def deinit(self, *args, **kwargs) -> Incomplete: ... def sendbreak(self, *args, **kwargs) -> Incomplete: ... def init(self, *args, **kwargs) -> Incomplete: ... @@ -196,8 +202,8 @@ class SDCard: def __init__(self, *argv, **kwargs) -> None: ... class SPI: - LSB: int - MSB: int + LSB: int = 1 + MSB: int = 0 def deinit(self, *args, **kwargs) -> Incomplete: ... def init(self, *args, **kwargs) -> Incomplete: ... def write_readinto(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/__init__.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/__init__.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/__init__.pyi deleted file mode 100644 index e69de29bb..000000000 diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/robust.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/robust.py deleted file mode 100644 index 21e776302..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/robust.py +++ /dev/null @@ -1,50 +0,0 @@ -""" -Module: 'umqtt.robust' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class MQTTClient: - DEBUG = False # type: bool - DELAY = 2 # type: int - - def set_callback(self, *args, **kwargs) -> Incomplete: - ... - - def set_last_will(self, *args, **kwargs) -> Incomplete: - ... - - def delay(self, *args, **kwargs) -> Incomplete: - ... - - def ping(self, *args, **kwargs) -> Incomplete: - ... - - def subscribe(self, *args, **kwargs) -> Incomplete: - ... - - def connect(self, *args, **kwargs) -> Incomplete: - ... - - def disconnect(self, *args, **kwargs) -> Incomplete: - ... - - def log(self, *args, **kwargs) -> Incomplete: - ... - - def wait_msg(self, *args, **kwargs) -> Incomplete: - ... - - def check_msg(self, *args, **kwargs) -> Incomplete: - ... - - def reconnect(self, *args, **kwargs) -> Incomplete: - ... - - def publish(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/robust.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/robust.pyi index b081fbb33..5944f4efd 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/robust.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/robust.pyi @@ -1,16 +1,24 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'umqtt.robust' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete class MQTTClient: - DEBUG: bool - DELAY: int + DELAY: int = 2 + DEBUG: bool = False + def subscribe(self, *args, **kwargs) -> Incomplete: ... def set_callback(self, *args, **kwargs) -> Incomplete: ... def set_last_will(self, *args, **kwargs) -> Incomplete: ... def delay(self, *args, **kwargs) -> Incomplete: ... def ping(self, *args, **kwargs) -> Incomplete: ... - def subscribe(self, *args, **kwargs) -> Incomplete: ... - def connect(self, *args, **kwargs) -> Incomplete: ... def disconnect(self, *args, **kwargs) -> Incomplete: ... + def connect(self, *args, **kwargs) -> Incomplete: ... + def _send_str(self, *args, **kwargs) -> Incomplete: ... def log(self, *args, **kwargs) -> Incomplete: ... + def _recv_len(self, *args, **kwargs) -> Incomplete: ... def wait_msg(self, *args, **kwargs) -> Incomplete: ... def check_msg(self, *args, **kwargs) -> Incomplete: ... def reconnect(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/simple.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/simple.py deleted file mode 100644 index c7fede8bb..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/simple.py +++ /dev/null @@ -1,14 +0,0 @@ -""" -Module: 'umqtt.simple' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def hexlify(*args, **kwargs) -> Incomplete: - ... - - -class MQTTException(Exception): - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/simple.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/simple.pyi index 772a179fc..b4a60b6d6 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/simple.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/umqtt/simple.pyi @@ -1,5 +1,25 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'umqtt.simple' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def hexlify(*args, **kwargs) -> Incomplete: ... class MQTTException(Exception): ... + +class MQTTClient: + def set_callback(self, *args, **kwargs) -> Incomplete: ... + def publish(self, *args, **kwargs) -> Incomplete: ... + def ping(self, *args, **kwargs) -> Incomplete: ... + def set_last_will(self, *args, **kwargs) -> Incomplete: ... + def subscribe(self, *args, **kwargs) -> Incomplete: ... + def wait_msg(self, *args, **kwargs) -> Incomplete: ... + def disconnect(self, *args, **kwargs) -> Incomplete: ... + def connect(self, *args, **kwargs) -> Incomplete: ... + def check_msg(self, *args, **kwargs) -> Incomplete: ... + def _recv_len(self, *args, **kwargs) -> Incomplete: ... + def _send_str(self, *args, **kwargs) -> Incomplete: ... + def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uos.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uos.py deleted file mode 100644 index 67655265d..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uos.py +++ /dev/null @@ -1,166 +0,0 @@ -""" -Module: 'uos' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def rmdir(*args, **kwargs) -> Incomplete: - ... - - -def stat(*args, **kwargs) -> Incomplete: - ... - - -def urandom(*args, **kwargs) -> Incomplete: - ... - - -def rename(*args, **kwargs) -> Incomplete: - ... - - -def mount(*args, **kwargs) -> Incomplete: - ... - - -def uname(*args, **kwargs) -> Incomplete: - ... - - -def unlink(*args, **kwargs) -> Incomplete: - ... - - -def statvfs(*args, **kwargs) -> Incomplete: - ... - - -def umount(*args, **kwargs) -> Incomplete: - ... - - -def sync(*args, **kwargs) -> Incomplete: - ... - - -def mkdir(*args, **kwargs) -> Incomplete: - ... - - -def dupterm(*args, **kwargs) -> Incomplete: - ... - - -def chdir(*args, **kwargs) -> Incomplete: - ... - - -def remove(*args, **kwargs) -> Incomplete: - ... - - -def dupterm_notify(*args, **kwargs) -> Incomplete: - ... - - -def listdir(*args, **kwargs) -> Incomplete: - ... - - -def ilistdir(*args, **kwargs) -> Incomplete: - ... - - -def getcwd(*args, **kwargs) -> Incomplete: - ... - - -class VfsFat: - def rename(self, *args, **kwargs) -> Incomplete: - ... - - def mkfs(self, *args, **kwargs) -> Incomplete: - ... - - def mount(self, *args, **kwargs) -> Incomplete: - ... - - def statvfs(self, *args, **kwargs) -> Incomplete: - ... - - def rmdir(self, *args, **kwargs) -> Incomplete: - ... - - def stat(self, *args, **kwargs) -> Incomplete: - ... - - def umount(self, *args, **kwargs) -> Incomplete: - ... - - def remove(self, *args, **kwargs) -> Incomplete: - ... - - def mkdir(self, *args, **kwargs) -> Incomplete: - ... - - def open(self, *args, **kwargs) -> Incomplete: - ... - - def ilistdir(self, *args, **kwargs) -> Incomplete: - ... - - def chdir(self, *args, **kwargs) -> Incomplete: - ... - - def getcwd(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... - - -class VfsLfs2: - def rename(self, *args, **kwargs) -> Incomplete: - ... - - def mkfs(self, *args, **kwargs) -> Incomplete: - ... - - def mount(self, *args, **kwargs) -> Incomplete: - ... - - def statvfs(self, *args, **kwargs) -> Incomplete: - ... - - def rmdir(self, *args, **kwargs) -> Incomplete: - ... - - def stat(self, *args, **kwargs) -> Incomplete: - ... - - def umount(self, *args, **kwargs) -> Incomplete: - ... - - def remove(self, *args, **kwargs) -> Incomplete: - ... - - def mkdir(self, *args, **kwargs) -> Incomplete: - ... - - def open(self, *args, **kwargs) -> Incomplete: - ... - - def ilistdir(self, *args, **kwargs) -> Incomplete: - ... - - def chdir(self, *args, **kwargs) -> Incomplete: - ... - - def getcwd(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uos.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uos.pyi index 1da5a62ad..86497fc2d 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uos.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uos.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uos' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def rmdir(*args, **kwargs) -> Incomplete: ... def stat(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uplatform.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uplatform.py deleted file mode 100644 index 067f5dbd4..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uplatform.py +++ /dev/null @@ -1,18 +0,0 @@ -""" -Module: 'uplatform' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def platform(*args, **kwargs) -> Incomplete: - ... - - -def python_compiler(*args, **kwargs) -> Incomplete: - ... - - -def libc_ver(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uplatform.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uplatform.pyi index 435dd9bab..c9d8a0bfc 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uplatform.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uplatform.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uplatform' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def platform(*args, **kwargs) -> Incomplete: ... def python_compiler(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urandom.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urandom.py deleted file mode 100644 index 641365113..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urandom.py +++ /dev/null @@ -1,34 +0,0 @@ -""" -Module: 'urandom' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def randrange(*args, **kwargs) -> Incomplete: - ... - - -def random(*args, **kwargs) -> Incomplete: - ... - - -def seed(*args, **kwargs) -> Incomplete: - ... - - -def uniform(*args, **kwargs) -> Incomplete: - ... - - -def choice(*args, **kwargs) -> Incomplete: - ... - - -def randint(*args, **kwargs) -> Incomplete: - ... - - -def getrandbits(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urandom.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urandom.pyi index 86b04dcf6..dcc44f451 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urandom.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urandom.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'urandom' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def randrange(*args, **kwargs) -> Incomplete: ... def random(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ure.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ure.py deleted file mode 100644 index 02b8b40aa..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ure.py +++ /dev/null @@ -1,22 +0,0 @@ -""" -Module: 'ure' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def sub(*args, **kwargs) -> Incomplete: - ... - - -def search(*args, **kwargs) -> Incomplete: - ... - - -def match(*args, **kwargs) -> Incomplete: - ... - - -def compile(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ure.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ure.pyi index 6cd43ad4d..1ad789492 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ure.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ure.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'ure' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def sub(*args, **kwargs) -> Incomplete: ... def search(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urequests.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urequests.py deleted file mode 100644 index 5f28432e2..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urequests.py +++ /dev/null @@ -1,48 +0,0 @@ -""" -Module: 'urequests' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def head(*args, **kwargs) -> Incomplete: - ... - - -def delete(*args, **kwargs) -> Incomplete: - ... - - -def patch(*args, **kwargs) -> Incomplete: - ... - - -def post(*args, **kwargs) -> Incomplete: - ... - - -def get(*args, **kwargs) -> Incomplete: - ... - - -def request(*args, **kwargs) -> Incomplete: - ... - - -def put(*args, **kwargs) -> Incomplete: - ... - - -class Response: - def json(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - content: Incomplete ## = - text: Incomplete ## = - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urequests.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urequests.pyi index 61630430a..9d49c0cfe 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urequests.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/urequests.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'urequests' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def head(*args, **kwargs) -> Incomplete: ... def delete(*args, **kwargs) -> Incomplete: ... @@ -11,6 +17,7 @@ def put(*args, **kwargs) -> Incomplete: ... class Response: def json(self, *args, **kwargs) -> Incomplete: ... def close(self, *args, **kwargs) -> Incomplete: ... - content: Incomplete - text: Incomplete + + content: Incomplete ## = + text: Incomplete ## = def __init__(self, *argv, **kwargs) -> None: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uselect.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uselect.py deleted file mode 100644 index 690324422..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uselect.py +++ /dev/null @@ -1,19 +0,0 @@ -""" -Module: 'uselect' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -POLLOUT = 4 # type: int -POLLIN = 1 # type: int -POLLHUP = 16 # type: int -POLLERR = 8 # type: int - - -def select(*args, **kwargs) -> Incomplete: - ... - - -def poll(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uselect.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uselect.pyi index 5d29973e2..8730ad92b 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uselect.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uselect.pyi @@ -1,9 +1,15 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uselect' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -POLLOUT: int -POLLIN: int -POLLHUP: int -POLLERR: int +POLLOUT: int = 4 +POLLIN: int = 1 +POLLHUP: int = 16 +POLLERR: int = 8 def select(*args, **kwargs) -> Incomplete: ... def poll(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usocket.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usocket.py deleted file mode 100644 index c02abd16c..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usocket.py +++ /dev/null @@ -1,86 +0,0 @@ -""" -Module: 'usocket' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -SOCK_STREAM = 1 # type: int -SOCK_DGRAM = 2 # type: int -SOCK_RAW = 3 # type: int -SO_BROADCAST = 32 # type: int -SOL_SOCKET = 4095 # type: int -SO_BINDTODEVICE = 4107 # type: int -SO_REUSEADDR = 4 # type: int -AF_INET6 = 10 # type: int -IP_ADD_MEMBERSHIP = 3 # type: int -AF_INET = 2 # type: int -IPPROTO_UDP = 17 # type: int -IPPROTO_IP = 0 # type: int -IPPROTO_TCP = 6 # type: int - - -def getaddrinfo(*args, **kwargs) -> Incomplete: - ... - - -class socket: - def recvfrom(self, *args, **kwargs) -> Incomplete: - ... - - def recv(self, *args, **kwargs) -> Incomplete: - ... - - def makefile(self, *args, **kwargs) -> Incomplete: - ... - - def listen(self, *args, **kwargs) -> Incomplete: - ... - - def fileno(self, *args, **kwargs) -> Incomplete: - ... - - def sendall(self, *args, **kwargs) -> Incomplete: - ... - - def setsockopt(self, *args, **kwargs) -> Incomplete: - ... - - def setblocking(self, *args, **kwargs) -> Incomplete: - ... - - def sendto(self, *args, **kwargs) -> Incomplete: - ... - - def settimeout(self, *args, **kwargs) -> Incomplete: - ... - - def readline(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - def connect(self, *args, **kwargs) -> Incomplete: - ... - - def send(self, *args, **kwargs) -> Incomplete: - ... - - def bind(self, *args, **kwargs) -> Incomplete: - ... - - def accept(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usocket.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usocket.pyi index 918806801..543979378 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usocket.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usocket.pyi @@ -1,18 +1,24 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'usocket' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -SOCK_STREAM: int -SOCK_DGRAM: int -SOCK_RAW: int -SO_BROADCAST: int -SOL_SOCKET: int -SO_BINDTODEVICE: int -SO_REUSEADDR: int -AF_INET6: int -IP_ADD_MEMBERSHIP: int -AF_INET: int -IPPROTO_UDP: int -IPPROTO_IP: int -IPPROTO_TCP: int +SOCK_STREAM: int = 1 +SOCK_DGRAM: int = 2 +SOCK_RAW: int = 3 +SO_BROADCAST: int = 32 +SOL_SOCKET: int = 4095 +SO_BINDTODEVICE: int = 4107 +SO_REUSEADDR: int = 4 +AF_INET6: int = 10 +IP_ADD_MEMBERSHIP: int = 3 +AF_INET: int = 2 +IPPROTO_UDP: int = 17 +IPPROTO_IP: int = 0 +IPPROTO_TCP: int = 6 def getaddrinfo(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ussl.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ussl.py deleted file mode 100644 index f6f182a29..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ussl.py +++ /dev/null @@ -1,37 +0,0 @@ -""" -Module: 'ussl' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -MBEDTLS_VERSION = "mbed TLS 3.4.1" # type: str -PROTOCOL_TLS_SERVER = 1 # type: int -PROTOCOL_TLS_CLIENT = 0 # type: int -CERT_NONE = 0 # type: int -CERT_REQUIRED = 2 # type: int -CERT_OPTIONAL = 1 # type: int - - -def wrap_socket(*args, **kwargs) -> Incomplete: - ... - - -class SSLContext: - def load_verify_locations(self, *args, **kwargs) -> Incomplete: - ... - - def set_ciphers(self, *args, **kwargs) -> Incomplete: - ... - - def wrap_socket(self, *args, **kwargs) -> Incomplete: - ... - - def load_cert_chain(self, *args, **kwargs) -> Incomplete: - ... - - def get_ciphers(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ussl.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ussl.pyi index 09441cdaa..fa061f3b8 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ussl.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ussl.pyi @@ -1,11 +1,17 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'ussl' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -MBEDTLS_VERSION: str -PROTOCOL_TLS_SERVER: int -PROTOCOL_TLS_CLIENT: int -CERT_NONE: int -CERT_REQUIRED: int -CERT_OPTIONAL: int +MBEDTLS_VERSION: str = "mbed TLS 3.4.1" +PROTOCOL_TLS_SERVER: int = 1 +PROTOCOL_TLS_CLIENT: int = 0 +CERT_NONE: int = 0 +CERT_REQUIRED: int = 2 +CERT_OPTIONAL: int = 1 def wrap_socket(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ustruct.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ustruct.py deleted file mode 100644 index 9ba84c54f..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ustruct.py +++ /dev/null @@ -1,26 +0,0 @@ -""" -Module: 'ustruct' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def pack_into(*args, **kwargs) -> Incomplete: - ... - - -def unpack(*args, **kwargs) -> Incomplete: - ... - - -def unpack_from(*args, **kwargs) -> Incomplete: - ... - - -def pack(*args, **kwargs) -> Incomplete: - ... - - -def calcsize(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ustruct.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ustruct.pyi index 457f447f4..b0d134671 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ustruct.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/ustruct.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'ustruct' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def pack_into(*args, **kwargs) -> Incomplete: ... def unpack(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usys.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usys.py deleted file mode 100644 index 6fe3c40b2..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usys.py +++ /dev/null @@ -1,31 +0,0 @@ -""" -Module: 'usys' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - -platform = "esp32" # type: str -version_info = () # type: tuple -path = [] # type: list -version = "3.4.0; MicroPython v1.22.0 on 2023-12-27" # type: str -ps1 = ">>> " # type: str -ps2 = "... " # type: str -byteorder = "little" # type: str -modules = {} # type: dict -argv = [] # type: list -implementation = () # type: tuple -maxsize = 2147483647 # type: int - - -def print_exception(*args, **kwargs) -> Incomplete: - ... - - -def exit(*args, **kwargs) -> Incomplete: - ... - - -stderr: Incomplete ## = -stdout: Incomplete ## = -stdin: Incomplete ## = diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usys.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usys.pyi index a61745133..354c7e310 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usys.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/usys.pyi @@ -1,20 +1,26 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'usys' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete -platform: str -version_info: tuple -path: list -version: str -ps1: str -ps2: str -byteorder: str -modules: dict -argv: list -implementation: tuple -maxsize: int +platform: str = "esp32" +version_info: tuple = () +path: list = [] +version: str = "3.4.0; MicroPython v1.22.0 on 2023-12-27" +ps1: str = ">>> " +ps2: str = "... " +byteorder: str = "little" +modules: dict = {} +argv: list = [] +implementation: tuple = () +maxsize: int = 2147483647 def print_exception(*args, **kwargs) -> Incomplete: ... def exit(*args, **kwargs) -> Incomplete: ... -stderr: Incomplete -stdout: Incomplete -stdin: Incomplete +stderr: Incomplete ## = +stdout: Incomplete ## = +stdin: Incomplete ## = diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/utime.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/utime.py deleted file mode 100644 index 033bc58d6..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/utime.py +++ /dev/null @@ -1,58 +0,0 @@ -""" -Module: 'utime' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -def ticks_diff(*args, **kwargs) -> Incomplete: - ... - - -def ticks_add(*args, **kwargs) -> Incomplete: - ... - - -def ticks_cpu(*args, **kwargs) -> Incomplete: - ... - - -def time(*args, **kwargs) -> Incomplete: - ... - - -def ticks_ms(*args, **kwargs) -> Incomplete: - ... - - -def ticks_us(*args, **kwargs) -> Incomplete: - ... - - -def time_ns(*args, **kwargs) -> Incomplete: - ... - - -def localtime(*args, **kwargs) -> Incomplete: - ... - - -def sleep_us(*args, **kwargs) -> Incomplete: - ... - - -def gmtime(*args, **kwargs) -> Incomplete: - ... - - -def sleep_ms(*args, **kwargs) -> Incomplete: - ... - - -def mktime(*args, **kwargs) -> Incomplete: - ... - - -def sleep(*args, **kwargs) -> Incomplete: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/utime.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/utime.pyi index b0ede898d..1ea09951f 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/utime.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/utime.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'utime' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete def ticks_diff(*args, **kwargs) -> Incomplete: ... def ticks_add(*args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uwebsocket.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uwebsocket.py deleted file mode 100644 index 63b35ef5f..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uwebsocket.py +++ /dev/null @@ -1,29 +0,0 @@ -""" -Module: 'uwebsocket' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class websocket: - def readline(self, *args, **kwargs) -> Incomplete: - ... - - def ioctl(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uwebsocket.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uwebsocket.pyi index 8fd1ed6ae..710eb28b8 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uwebsocket.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/uwebsocket.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'uwebsocket' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete class websocket: def readline(self, *args, **kwargs) -> Incomplete: ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/websocket.py b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/websocket.py deleted file mode 100644 index 29f9a19dc..000000000 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/websocket.py +++ /dev/null @@ -1,29 +0,0 @@ -""" -Module: 'websocket' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 -""" -# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': 'v1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} -# Stubber: v1.16.2 -from _typeshed import Incomplete - - -class websocket: - def readline(self, *args, **kwargs) -> Incomplete: - ... - - def ioctl(self, *args, **kwargs) -> Incomplete: - ... - - def write(self, *args, **kwargs) -> Incomplete: - ... - - def close(self, *args, **kwargs) -> Incomplete: - ... - - def readinto(self, *args, **kwargs) -> Incomplete: - ... - - def read(self, *args, **kwargs) -> Incomplete: - ... - - def __init__(self, *argv, **kwargs) -> None: - ... diff --git a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/websocket.pyi b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/websocket.pyi index 8fd1ed6ae..657179a16 100644 --- a/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/websocket.pyi +++ b/stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/websocket.pyi @@ -1,4 +1,10 @@ -from _typeshed import Incomplete as Incomplete +""" +Module: 'websocket' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3 +""" +# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'} +# Stubber: v1.17.0 +from __future__ import annotations +from _typeshed import Incomplete class websocket: def readline(self, *args, **kwargs) -> Incomplete: ...