diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2fc0c3902..64a9d40c2 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -46,6 +46,8 @@ // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode", "features": { - "powershell": "latest" + "powershell": "latest", + "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}, + "ghcr.io/itsmechlark/features/act:1": {} } } diff --git a/.github/workflows/compare_score.py b/.github/workflows/compare_score.py new file mode 100644 index 000000000..ca658251d --- /dev/null +++ b/.github/workflows/compare_score.py @@ -0,0 +1,77 @@ +import json +import os + +import requests +from dotenv import load_dotenv + +try: + + load_dotenv() # load variables + load_dotenv(".secrets") # load variables from the ".secrets" file +except: + pass + +# has been propagated from repo vars to env vars +try: + current_scores = json.loads(os.getenv("SNIPPET_SCORE", '{"snippet_score": 0}')) +except json.decoder.JSONDecodeError: + current_scores = {"snippet_score": 0} + +# set by pytest in custom conftest reporting +new_scores = {} +with open("results/snippet_score.json", "r") as f: + new_scores = json.load(f) + + +# Compare the scores and update the repository variable if necessary +def add_summary(msg, current_scores: dict, new_scores: dict): + if os.getenv("GITHUB_STEP_SUMMARY") is None: + print(f"The environment variable GITHUB_STEP_SUMMARY does not exist.") + return + with open(os.getenv("GITHUB_STEP_SUMMARY", 0), "a") as f: + f.write("# Snippets\n") + f.write(msg) + f.write("\n```json\n") + json.dump({"current": new_scores}, f) + f.write("\n") + json.dump({"previous": current_scores}, f) + f.write("\n```\n") + + + +def update_var(var_name: str, value: str): + repo = os.getenv("GITHUB_REPOSITORY", "Josverl/micropython-stubs") + gh_token_vars = os.getenv("GH_TOKEN_VARS", os.getenv("GH_TOKEN", "-")) + if gh_token_vars == "-": + print("No token available to update the repository variable") + return + # update the repository variable + url = f"https://api.github.com/repos/{repo}/actions/variables/{var_name}" + headers = { + "Authorization": f"token {gh_token_vars}", + "Content-Type": "application/json", + "User-Agent": "josverl", + } + data = {"name": str(var_name), "value": str(value)} + response = requests.patch(url, headers=headers, json=data) + response.raise_for_status() + + +if new_scores["snippet_score"] < current_scores["snippet_score"]: + msg = f"The snippet_score has decreased from {current_scores['snippet_score']} to {new_scores['snippet_score']}" + print(msg) + add_summary(msg, current_scores, new_scores) + exit(1) # Fail the test +elif new_scores["snippet_score"] == current_scores["snippet_score"]: + msg = f"The snippet_score has not changed from {current_scores['snippet_score']}" + print(msg) + add_summary(msg, current_scores, new_scores) +elif new_scores["snippet_score"] > current_scores["snippet_score"]: + msg = f"The snippet_score has improved to {new_scores['snippet_score']}" + print(msg) + add_summary(msg, current_scores, new_scores) + if os.getenv("GITHUB_REF_NAME", "main") == "main": + update_var(var_name="SNIPPET_SCORE", value=json.dumps(new_scores, skipkeys=True, indent=4)) + +print("Done") +exit(0) diff --git a/.github/workflows/list_versions.py b/.github/workflows/list_versions.py index 58b087ac4..b6b3250fc 100644 --- a/.github/workflows/list_versions.py +++ b/.github/workflows/list_versions.py @@ -1,3 +1,19 @@ +""" +This module retrieves the versions of Micropython from the Micropython repository on GitHub. +It is used to generate a matrix of versions to create stubs for using Github Actions. + +It provides a function `micropython_versions` that returns a list of versions starting from a specified version. +The module also includes a main block that generates a matrix of versions based on command-line arguments and environment variables. +The matrix is printed as JSON and can be optionally written to a file if running in a GitHub Actions workflow. +""" +import json +import os +import sys + +from github import Github +from packaging.version import parse + +... import json import os import sys diff --git a/.github/workflows/test_stub_quality.yml b/.github/workflows/test_stub_quality.yml new file mode 100644 index 000000000..9665c55cf --- /dev/null +++ b/.github/workflows/test_stub_quality.yml @@ -0,0 +1,58 @@ +name: test_stub_quality +on: [push, pull_request, workflow_dispatch] + +env: + # Setting an environment variable with the value of a configuration variable + SNIPPET_SCORE: ${{ vars.SNIPPET_SCORE }} + GH_TOKEN_VARS: ${{ secrets.GH_TOKEN_VARS }} + +jobs: + test_snippets: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + #---------------------------------------------- + + - name: Install poetry # poetry is not in the default image + run: pipx install poetry + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.11" # Replace with the Python version you're using + + - name: Testspace client install & config + uses: testspace-com/setup-testspace@v1 + with: + domain: josverl + #---------------------------------------------- + # install project + #---------------------------------------------- + - name: Install dependencies for group test + run: | + pip install -r requirements-test.txt + + #---------------------------------------------- + # stubber clone + # repos needed for tests + #---------------------------------------------- + - name: stubber clone + run: stubber clone + + + - name: update the stubs and test the snippets (not pushed) + continue-on-error: true + run: | + pwsh -file ./update-stubs.ps1 + pytest -m 'snippets' --cache-clear --junitxml=./results/results.xml + env: + JUPYTER_PLATFORM_DIRS: "1" + # fix: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs + + - name: Testspace push test content + run: | + testspace ./results/results.xml + + - name: compare and update + run: | + python .github/workflows/compare_score.py diff --git a/.gitignore b/.gitignore index 14f2d63f0..a20897aee 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,5 @@ typings # no node modules node_modules package*.json + +coverage/snippet_score.json diff --git a/.vscode/settings.json b/.vscode/settings.json index bf2c9522f..49ade0c39 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,26 +1,6 @@ { "workbench.colorCustomizations": { - "titleBar.activeBackground": "#215732", - "titleBar.activeForeground": "#e7e7e7", - "titleBar.inactiveBackground": "#21573299", - "titleBar.inactiveForeground": "#e7e7e799", - "activityBar.activeBackground": "#2f7c47", - "activityBar.activeBorder": "#422c74", - "activityBar.background": "#2f7c47", - "activityBar.foreground": "#e7e7e7", - "activityBar.inactiveForeground": "#e7e7e799", - "panel.border": "#2f7c47", - "editorGroup.border": "#2f7c47", - "tab.activeBorder": "#2f7c47", - "activityBarBadge.background": "#422c74", - "activityBarBadge.foreground": "#e7e7e7", - "statusBar.background": "#215732", - "statusBar.foreground": "#e7e7e7", - "statusBarItem.hoverBackground": "#2f7c47", - "statusBarItem.remoteBackground": "#215732", - "statusBarItem.remoteForeground": "#e7e7e7", - "sash.hoverBorder": "#2f7c47", - "commandCenter.border": "#e7e7e799" + "activityBar.activeBorder": "#422c74" }, "peacock.color": "#215732", "cSpell.words": [ @@ -29,9 +9,6 @@ "peacock.affectEditorGroupBorder": true, "peacock.affectPanelBorder": true, "peacock.affectTabActiveBorder": true, - "python.testing.pytestArgs": [ - "tests" - ], "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true, "python.analysis.useLibraryCodeForTypes": false, diff --git a/lgtm.yml b/lgtm.yml deleted file mode 100644 index fa9be9ff1..000000000 --- a/lgtm.yml +++ /dev/null @@ -1,28 +0,0 @@ -# configures LGTM not to generate too much error & warnings on obvious issues in stubs. -# also addresses a number of false positives in uasync -queries: - - exclude: py/unused-import # broad types import in stubs - - exclude: py/clear-text-storage-sensitive-data - - exclude: py/catch-base-exception # common MicroPython shorthand - - exclude: py/insecure-default-protocol # micropython SSL wrapping - - exclude: py/insecure-protocol # micropython SSL wrapping - - exclude: py/missing-call-to-init # stubs do not call parents - - exclude: py/useless-except # except core.CancelledError as er: - - exclude: py/polluting-import # Cpython stubs: from pycopy import * - - exclude: py/import-and-import-from # used in several frozen modules - not my code - - exclude: py/multiple-definition # used in several frozen modules - not my code - - exclude: py/not-named-self # used in uasyncio and aioble - not my code - - exclude: py/illegal-raise # used in uasyncio - not my code - - exclude: py/unsafe-cyclic-import # used in uasyncio - not my code - - exclude: py/modification-of-default-value # used in urequest - not my code - - exclude: py/procedure-return-value-used # used all over the place in the frozen modules uasyncio/stream.py - not my code - TODO: report and ?fix upstream -# - exclude: -# - exclude: - -path_classifiers: - docs: - - docs - generated: - - publish/*/**/*.* # copies of stubs from the publishing process - test: - - test diff --git a/not_found.txt b/not_found.txt deleted file mode 100644 index d0a50e6e4..000000000 --- a/not_found.txt +++ /dev/null @@ -1,6053 +0,0 @@ ----------------------------------------------------------- - def write(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\apa106.py - - stubs\micropython-latest-esp32-merged\apa106.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\onewire.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp32-merged\uwebsocket.py - - stubs\micropython-latest-esp32-merged\websocket.py - - stubs\micropython-latest-esp8266-merged\apa102.py - - stubs\micropython-latest-esp8266-merged\apa102.py - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\onewire.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\uwebsocket.py - - stubs\micropython-latest-esp8266-merged\websocket.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\onewire.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-rp2-merged\uwebsocket.py - - stubs\micropython-latest-rp2-merged\websocket.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\onewire.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\apa106.py - - stubs\micropython-v1_20_0-esp32-merged\apa106.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\apa106.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\apa106.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\apa106.py - - stubs\micropython-v1_20_0-esp32-S3-merged\apa106.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\websocket.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\neopixel.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uwebsocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\websocket.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def fill(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\apa106.py - - stubs\micropython-latest-esp32-merged\apa106.py - - stubs\micropython-latest-esp8266-merged\apa102.py - - stubs\micropython-latest-esp8266-merged\apa102.py - - stubs\micropython-v1_20_0-esp32-merged\apa106.py - - stubs\micropython-v1_20_0-esp32-merged\apa106.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\apa106.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\apa106.py - - stubs\micropython-v1_20_0-esp32-S3-merged\apa106.py - - stubs\micropython-v1_20_0-esp32-S3-merged\apa106.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\neopixel.py - ----------------------------------------------------------- - def decode(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\array.py - - stubs\micropython-latest-esp32-merged\uarray.py - - stubs\micropython-latest-esp8266-merged\array.py - - stubs\micropython-latest-esp8266-merged\uarray.py - - stubs\micropython-latest-rp2-merged\array.py - - stubs\micropython-latest-rp2-merged\uarray.py - - stubs\micropython-latest-stm32-merged\array.py - - stubs\micropython-latest-stm32-merged\uarray.py - ----------------------------------------------------------- -def crc32(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\binascii.py - - stubs\micropython-latest-esp32-merged\ubinascii.py - - stubs\micropython-latest-rp2-merged\binascii.py - - stubs\micropython-latest-rp2-merged\ubinascii.py - - stubs\micropython-latest-stm32-merged\binascii.py - - stubs\micropython-latest-stm32-merged\ubinascii.py - - stubs\micropython-v1_20_0-esp32-merged\binascii.py - - stubs\micropython-v1_20_0-esp32-merged\ubinascii.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\binascii.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ubinascii.py - - stubs\micropython-v1_20_0-esp32-S3-merged\binascii.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ubinascii.py - - stubs\micropython-v1_20_0-rp2-merged\binascii.py - - stubs\micropython-v1_20_0-rp2-merged\ubinascii.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\binascii.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ubinascii.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\binascii.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ubinascii.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\binascii.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ubinascii.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\binascii.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ubinascii.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\binascii.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ubinascii.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\binascii.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ubinascii.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\binascii.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ubinascii.py - - stubs\micropython-v1_20_0-stm32-merged\binascii.py - - stubs\micropython-v1_20_0-stm32-merged\ubinascii.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\binascii.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ubinascii.py - ----------------------------------------------------------- -def dht_readinto(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\dht.py - - stubs\micropython-latest-esp32-merged\esp.py - - stubs\micropython-latest-esp8266-merged\dht.py - - stubs\micropython-latest-esp8266-merged\esp.py - - stubs\micropython-latest-rp2-merged\dht.py - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-latest-stm32-merged\dht.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-esp32-merged\dht.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\dht.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\dht.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\dht.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\dht.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\dht.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\dht.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\dht.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def humidity(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\dht.py - - stubs\micropython-latest-esp32-merged\dht.py - - stubs\micropython-latest-esp8266-merged\dht.py - - stubs\micropython-latest-esp8266-merged\dht.py - - stubs\micropython-latest-rp2-merged\dht.py - - stubs\micropython-latest-rp2-merged\dht.py - - stubs\micropython-latest-stm32-merged\dht.py - - stubs\micropython-latest-stm32-merged\dht.py - - stubs\micropython-v1_20_0-esp32-merged\dht.py - - stubs\micropython-v1_20_0-esp32-merged\dht.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\dht.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\dht.py - - stubs\micropython-v1_20_0-esp32-S3-merged\dht.py - - stubs\micropython-v1_20_0-esp32-S3-merged\dht.py - - stubs\micropython-v1_20_0-rp2-merged\dht.py - - stubs\micropython-v1_20_0-rp2-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\dht.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\dht.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\dht.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\dht.py - - stubs\micropython-v1_20_0-stm32-merged\dht.py - - stubs\micropython-v1_20_0-stm32-merged\dht.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\dht.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\dht.py - ----------------------------------------------------------- - def temperature(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\dht.py - - stubs\micropython-latest-esp32-merged\dht.py - - stubs\micropython-latest-esp8266-merged\dht.py - - stubs\micropython-latest-esp8266-merged\dht.py - - stubs\micropython-latest-rp2-merged\dht.py - - stubs\micropython-latest-rp2-merged\dht.py - - stubs\micropython-latest-stm32-merged\dht.py - - stubs\micropython-latest-stm32-merged\dht.py - - stubs\micropython-v1_20_0-esp32-merged\dht.py - - stubs\micropython-v1_20_0-esp32-merged\dht.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\dht.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\dht.py - - stubs\micropython-v1_20_0-esp32-S3-merged\dht.py - - stubs\micropython-v1_20_0-esp32-S3-merged\dht.py - - stubs\micropython-v1_20_0-rp2-merged\dht.py - - stubs\micropython-v1_20_0-rp2-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\dht.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\dht.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\dht.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\dht.py - - stubs\micropython-v1_20_0-stm32-merged\dht.py - - stubs\micropython-v1_20_0-stm32-merged\dht.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\dht.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\dht.py - ----------------------------------------------------------- - def measure(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\dht.py - - stubs\micropython-latest-esp32-merged\dht.py - - stubs\micropython-latest-esp32-merged\dht.py - - stubs\micropython-latest-esp8266-merged\dht.py - - stubs\micropython-latest-esp8266-merged\dht.py - - stubs\micropython-latest-esp8266-merged\dht.py - - stubs\micropython-latest-rp2-merged\dht.py - - stubs\micropython-latest-rp2-merged\dht.py - - stubs\micropython-latest-rp2-merged\dht.py - - stubs\micropython-latest-stm32-merged\dht.py - - stubs\micropython-latest-stm32-merged\dht.py - - stubs\micropython-latest-stm32-merged\dht.py - - stubs\micropython-v1_20_0-esp32-merged\dht.py - - stubs\micropython-v1_20_0-esp32-merged\dht.py - - stubs\micropython-v1_20_0-esp32-merged\dht.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\dht.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\dht.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\dht.py - - stubs\micropython-v1_20_0-esp32-S3-merged\dht.py - - stubs\micropython-v1_20_0-esp32-S3-merged\dht.py - - stubs\micropython-v1_20_0-esp32-S3-merged\dht.py - - stubs\micropython-v1_20_0-rp2-merged\dht.py - - stubs\micropython-v1_20_0-rp2-merged\dht.py - - stubs\micropython-v1_20_0-rp2-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\dht.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\dht.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\dht.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\dht.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\dht.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\dht.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\dht.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\dht.py - - stubs\micropython-v1_20_0-stm32-merged\dht.py - - stubs\micropython-v1_20_0-stm32-merged\dht.py - - stubs\micropython-v1_20_0-stm32-merged\dht.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\dht.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\dht.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\dht.py - ----------------------------------------------------------- -def const(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ds18x20.py - - stubs\micropython-latest-esp8266-merged\ds18x20.py - - stubs\micropython-latest-rp2-merged\ds18x20.py - - stubs\micropython-latest-rp2-merged\lsm6dsox.py - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-latest-stm32-merged\lcd160cr.py - - stubs\micropython-v1_20_0-esp32-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ds18x20.py - - stubs\micropython-v1_20_0-stm32-merged\lcd160cr.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\lcd160cr.py - ----------------------------------------------------------- - def read_scratch(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ds18x20.py - - stubs\micropython-latest-esp8266-merged\ds18x20.py - - stubs\micropython-latest-rp2-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ds18x20.py - ----------------------------------------------------------- - def write_scratch(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ds18x20.py - - stubs\micropython-latest-esp8266-merged\ds18x20.py - - stubs\micropython-latest-rp2-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ds18x20.py - ----------------------------------------------------------- - def read_temp(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ds18x20.py - - stubs\micropython-latest-esp8266-merged\ds18x20.py - - stubs\micropython-latest-rp2-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ds18x20.py - ----------------------------------------------------------- - def convert_temp(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ds18x20.py - - stubs\micropython-latest-esp8266-merged\ds18x20.py - - stubs\micropython-latest-rp2-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ds18x20.py - ----------------------------------------------------------- - def scan(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ds18x20.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\onewire.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\ds18x20.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\onewire.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\ds18x20.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\onewire.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\onewire.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ds18x20.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ds18x20.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ds18x20.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- -def gpio_matrix_in(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\esp.py - - stubs\micropython-v1_20_0-esp32-merged\esp.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\esp.py - - stubs\micropython-v1_20_0-esp32-S3-merged\esp.py - ----------------------------------------------------------- -def gpio_matrix_out(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\esp.py - - stubs\micropython-v1_20_0-esp32-merged\esp.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\esp.py - - stubs\micropython-v1_20_0-esp32-S3-merged\esp.py - ----------------------------------------------------------- - def deinit(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\esp32.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\esp32.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\esp32.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\esp32.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def readblocks(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\flashbdev.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\flashbdev.py - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-esp32-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\samd.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\samd.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def ioctl(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\flashbdev.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp32-merged\uwebsocket.py - - stubs\micropython-latest-esp32-merged\websocket.py - - stubs\micropython-latest-esp8266-merged\flashbdev.py - - stubs\micropython-latest-esp8266-merged\uwebsocket.py - - stubs\micropython-latest-esp8266-merged\websocket.py - - stubs\micropython-latest-rp2-merged\network.py - - stubs\micropython-latest-rp2-merged\uwebsocket.py - - stubs\micropython-latest-rp2-merged\websocket.py - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-esp32-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\websocket.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uwebsocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\websocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\samd.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\samd.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def set_boot(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-S3-merged\flashbdev.py - ----------------------------------------------------------- - def writeblocks(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\flashbdev.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\flashbdev.py - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-esp32-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\samd.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\samd.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def info(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\flashbdev.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def find(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-S3-merged\flashbdev.py - ----------------------------------------------------------- - def get_next_update(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-S3-merged\flashbdev.py - ----------------------------------------------------------- - def mark_app_valid_cancel_rollback(cls, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\flashbdev.py - - stubs\micropython-v1_20_0-esp32-S3-merged\flashbdev.py - ----------------------------------------------------------- -def FrameBuffer1(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\framebuf.py - - stubs\micropython-latest-esp8266-merged\framebuf.py - - stubs\micropython-latest-rp2-merged\framebuf.py - - stubs\micropython-latest-stm32-merged\framebuf.py - - stubs\micropython-v1_20_0-esp32-merged\framebuf.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\framebuf.py - - stubs\micropython-v1_20_0-esp32-S3-merged\framebuf.py - - stubs\micropython-v1_20_0-rp2-merged\framebuf.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\framebuf.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\framebuf.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\framebuf.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\framebuf.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\framebuf.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\framebuf.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\framebuf.py - - stubs\micropython-v1_20_0-stm32-merged\framebuf.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\framebuf.py - ----------------------------------------------------------- - def fill_rect(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\framebuf.py - - stubs\micropython-latest-esp8266-merged\framebuf.py - - stubs\micropython-latest-rp2-merged\framebuf.py - - stubs\micropython-latest-stm32-merged\framebuf.py - - stubs\micropython-v1_20_0-esp32-merged\framebuf.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\framebuf.py - - stubs\micropython-v1_20_0-esp32-S3-merged\framebuf.py - - stubs\micropython-v1_20_0-rp2-merged\framebuf.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\framebuf.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\framebuf.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\framebuf.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\framebuf.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\framebuf.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\framebuf.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\framebuf.py - - stubs\micropython-v1_20_0-stm32-merged\framebuf.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\framebuf.py - ----------------------------------------------------------- -def isenabled(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\gc.py - - stubs\micropython-latest-esp8266-merged\gc.py - - stubs\micropython-latest-rp2-merged\gc.py - - stubs\micropython-latest-stm32-merged\gc.py - - stubs\micropython-v1_20_0-esp32-merged\gc.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\gc.py - - stubs\micropython-v1_20_0-esp32-S3-merged\gc.py - - stubs\micropython-v1_20_0-rp2-merged\gc.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\gc.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\gc.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\gc.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\gc.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\gc.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\gc.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\gc.py - - stubs\micropython-v1_20_0-stm32-merged\gc.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\gc.py - ----------------------------------------------------------- - def digest(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\hashlib.py - - stubs\micropython-latest-esp32-merged\hashlib.py - - stubs\micropython-latest-esp32-merged\uhashlib.py - - stubs\micropython-latest-esp32-merged\uhashlib.py - - stubs\micropython-latest-esp8266-merged\hashlib.py - - stubs\micropython-latest-esp8266-merged\hashlib.py - - stubs\micropython-latest-esp8266-merged\uhashlib.py - - stubs\micropython-latest-esp8266-merged\uhashlib.py - - stubs\micropython-latest-rp2-merged\hashlib.py - - stubs\micropython-latest-rp2-merged\hashlib.py - - stubs\micropython-latest-rp2-merged\uhashlib.py - - stubs\micropython-latest-rp2-merged\uhashlib.py - - stubs\micropython-latest-stm32-merged\hashlib.py - - stubs\micropython-latest-stm32-merged\uhashlib.py - - stubs\micropython-v1_20_0-esp32-merged\hashlib.py - - stubs\micropython-v1_20_0-esp32-merged\hashlib.py - - stubs\micropython-v1_20_0-esp32-merged\uhashlib.py - - stubs\micropython-v1_20_0-esp32-merged\uhashlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\hashlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\hashlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uhashlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uhashlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\hashlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\hashlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uhashlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uhashlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\hashlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uhashlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\hashlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uhashlib.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\hashlib.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uhashlib.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\hashlib.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uhashlib.py - - stubs\micropython-v1_20_0-stm32-merged\hashlib.py - - stubs\micropython-v1_20_0-stm32-merged\uhashlib.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\hashlib.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uhashlib.py - ----------------------------------------------------------- - def update(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\hashlib.py - - stubs\micropython-latest-esp32-merged\hashlib.py - - stubs\micropython-latest-esp32-merged\ucollections.py - - stubs\micropython-latest-esp32-merged\uhashlib.py - - stubs\micropython-latest-esp32-merged\uhashlib.py - - stubs\micropython-latest-esp8266-merged\hashlib.py - - stubs\micropython-latest-esp8266-merged\hashlib.py - - stubs\micropython-latest-esp8266-merged\ucollections.py - - stubs\micropython-latest-esp8266-merged\uhashlib.py - - stubs\micropython-latest-esp8266-merged\uhashlib.py - - stubs\micropython-latest-rp2-merged\hashlib.py - - stubs\micropython-latest-rp2-merged\hashlib.py - - stubs\micropython-latest-rp2-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\uhashlib.py - - stubs\micropython-latest-rp2-merged\uhashlib.py - - stubs\micropython-latest-stm32-merged\hashlib.py - - stubs\micropython-latest-stm32-merged\ucollections.py - - stubs\micropython-latest-stm32-merged\uhashlib.py - - stubs\micropython-v1_20_0-esp32-merged\collections.py - - stubs\micropython-v1_20_0-esp32-merged\hashlib.py - - stubs\micropython-v1_20_0-esp32-merged\hashlib.py - - stubs\micropython-v1_20_0-esp32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-merged\uhashlib.py - - stubs\micropython-v1_20_0-esp32-merged\uhashlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\collections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\hashlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\hashlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uhashlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uhashlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\collections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\hashlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\hashlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uhashlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-merged\collections.py - - stubs\micropython-v1_20_0-rp2-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\hashlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uhashlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uhashlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\hashlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uhashlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\hashlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uhashlib.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\collections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\hashlib.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uhashlib.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\collections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\hashlib.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uhashlib.py - - stubs\micropython-v1_20_0-stm32-merged\collections.py - - stubs\micropython-v1_20_0-stm32-merged\hashlib.py - - stubs\micropython-v1_20_0-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-merged\uhashlib.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\collections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\hashlib.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uhashlib.py - ----------------------------------------------------------- -def check_bootsec(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\inisetup.py - - stubs\micropython-latest-esp8266-merged\inisetup.py - - stubs\micropython-v1_20_0-esp32-merged\inisetup.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\inisetup.py - - stubs\micropython-v1_20_0-esp32-S3-merged\inisetup.py - ----------------------------------------------------------- -def fs_corrupted(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\inisetup.py - - stubs\micropython-latest-esp8266-merged\inisetup.py - - stubs\micropython-v1_20_0-esp32-merged\inisetup.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\inisetup.py - - stubs\micropython-v1_20_0-esp32-S3-merged\inisetup.py - ----------------------------------------------------------- -def setup(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\inisetup.py - - stubs\micropython-latest-esp8266-merged\inisetup.py - - stubs\micropython-v1_20_0-esp32-merged\inisetup.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\inisetup.py - - stubs\micropython-v1_20_0-esp32-S3-merged\inisetup.py - ----------------------------------------------------------- - def flush(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - ----------------------------------------------------------- - def readlines(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - ----------------------------------------------------------- - def seek(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - ----------------------------------------------------------- - def tell(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - ----------------------------------------------------------- - def readline(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uwebsocket.py - - stubs\micropython-latest-esp32-merged\uzlib.py - - stubs\micropython-latest-esp32-merged\websocket.py - - stubs\micropython-latest-esp32-merged\zlib.py - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uwebsocket.py - - stubs\micropython-latest-esp8266-merged\uzlib.py - - stubs\micropython-latest-esp8266-merged\websocket.py - - stubs\micropython-latest-esp8266-merged\zlib.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uwebsocket.py - - stubs\micropython-latest-rp2-merged\uzlib.py - - stubs\micropython-latest-rp2-merged\websocket.py - - stubs\micropython-latest-rp2-merged\zlib.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uzlib.py - - stubs\micropython-latest-stm32-merged\zlib.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-merged\uzlib.py - - stubs\micropython-v1_20_0-esp32-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-merged\zlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uzlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\zlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uzlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\zlib.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-merged\zlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\zlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uwebsocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\websocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\zlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\zlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uzlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\zlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uzlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\zlib.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uzlib.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\zlib.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uzlib.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\zlib.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\uzlib.py - - stubs\micropython-v1_20_0-stm32-merged\zlib.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uzlib.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\zlib.py - ----------------------------------------------------------- - def close(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\urequests.py - - stubs\micropython-latest-esp32-merged\uwebsocket.py - - stubs\micropython-latest-esp32-merged\websocket.py - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uwebsocket.py - - stubs\micropython-latest-esp8266-merged\websocket.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uwebsocket.py - - stubs\micropython-latest-rp2-merged\websocket.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\websocket.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urequests.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uwebsocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\websocket.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - ----------------------------------------------------------- - def read(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp32-merged\uwebsocket.py - - stubs\micropython-latest-esp32-merged\uzlib.py - - stubs\micropython-latest-esp32-merged\websocket.py - - stubs\micropython-latest-esp32-merged\zlib.py - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\uwebsocket.py - - stubs\micropython-latest-esp8266-merged\uzlib.py - - stubs\micropython-latest-esp8266-merged\websocket.py - - stubs\micropython-latest-esp8266-merged\zlib.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-rp2-merged\uwebsocket.py - - stubs\micropython-latest-rp2-merged\uzlib.py - - stubs\micropython-latest-rp2-merged\websocket.py - - stubs\micropython-latest-rp2-merged\zlib.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-latest-stm32-merged\uzlib.py - - stubs\micropython-latest-stm32-merged\zlib.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-merged\uzlib.py - - stubs\micropython-v1_20_0-esp32-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-merged\zlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uzlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\zlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uzlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\zlib.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-merged\zlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\zlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uwebsocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\websocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\zlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\zlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uzlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\zlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uzlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\zlib.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uzlib.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\zlib.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uzlib.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\zlib.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\uzlib.py - - stubs\micropython-v1_20_0-stm32-merged\zlib.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uzlib.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\zlib.py - ----------------------------------------------------------- - def readinto(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\onewire.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp32-merged\uwebsocket.py - - stubs\micropython-latest-esp32-merged\uzlib.py - - stubs\micropython-latest-esp32-merged\websocket.py - - stubs\micropython-latest-esp32-merged\zlib.py - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\onewire.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\uwebsocket.py - - stubs\micropython-latest-esp8266-merged\uzlib.py - - stubs\micropython-latest-esp8266-merged\websocket.py - - stubs\micropython-latest-esp8266-merged\zlib.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\onewire.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-rp2-merged\uwebsocket.py - - stubs\micropython-latest-rp2-merged\uzlib.py - - stubs\micropython-latest-rp2-merged\websocket.py - - stubs\micropython-latest-rp2-merged\zlib.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\onewire.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-latest-stm32-merged\uzlib.py - - stubs\micropython-latest-stm32-merged\zlib.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-merged\uzlib.py - - stubs\micropython-v1_20_0-esp32-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-merged\zlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uzlib.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\zlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uwebsocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uzlib.py - - stubs\micropython-v1_20_0-esp32-S3-merged\websocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\zlib.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-merged\zlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\zlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uwebsocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\websocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\zlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\zlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uzlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\zlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uzlib.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\zlib.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uzlib.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\zlib.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uzlib.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\zlib.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\uzlib.py - - stubs\micropython-v1_20_0-stm32-merged\zlib.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uzlib.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\zlib.py - ----------------------------------------------------------- - def __init__(self, *args, **kwargs) -> None: - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\ucollections.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp8266-merged\ucollections.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-rp2-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-stm32-merged\ucollections.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\collections.py - - stubs\micropython-v1_20_0-esp32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\collections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\collections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\collections.py - - stubs\micropython-v1_20_0-rp2-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\collections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\collections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-merged\collections.py - - stubs\micropython-v1_20_0-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\collections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ucollections.py - ----------------------------------------------------------- - def getvalue(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\io.py - - stubs\micropython-latest-esp32-merged\uio.py - - stubs\micropython-latest-esp8266-merged\uio.py - - stubs\micropython-latest-rp2-merged\uio.py - - stubs\micropython-latest-stm32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-merged\io.py - - stubs\micropython-v1_20_0-esp32-merged\uio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\io.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\io.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uio.py - - stubs\micropython-v1_20_0-rp2-merged\io.py - - stubs\micropython-v1_20_0-rp2-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\io.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\io.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\io.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\io.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\io.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uio.py - - stubs\micropython-v1_20_0-stm32-merged\io.py - - stubs\micropython-v1_20_0-stm32-merged\uio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\io.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uio.py - ----------------------------------------------------------- - def duty(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - ----------------------------------------------------------- - def width(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - ----------------------------------------------------------- - def atten(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - ----------------------------------------------------------- - def value(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- - def init(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def write_readinto(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def config(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\network.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\network.py - - stubs\micropython-latest-rp2-merged\network.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\network.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\network.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\network.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - ----------------------------------------------------------- - def memory(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - ----------------------------------------------------------- - def readfrom_mem_into(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def readfrom_into(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def readfrom_mem(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def writeto_mem(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def writeto(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def writevto(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def start(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def readfrom(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def stop(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\machine.py - - stubs\micropython-latest-esp32-merged\umachine.py - - stubs\micropython-latest-esp8266-merged\machine.py - - stubs\micropython-latest-esp8266-merged\umachine.py - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\machine.py - - stubs\micropython-v1_20_0-esp32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\machine.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\machine.py - - stubs\micropython-v1_20_0-esp32-S3-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- -def isclose(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\math.py - - stubs\micropython-latest-rp2-merged\math.py - - stubs\micropython-latest-stm32-merged\math.py - - stubs\micropython-v1_20_0-esp32-merged\math.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\math.py - - stubs\micropython-v1_20_0-esp32-S3-merged\math.py - - stubs\micropython-v1_20_0-rp2-merged\math.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\math.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\math.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\math.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\math.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\math.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\math.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\math.py - - stubs\micropython-v1_20_0-stm32-merged\math.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\math.py - ----------------------------------------------------------- -def factorial(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\math.py - - stubs\micropython-latest-rp2-merged\math.py - - stubs\micropython-latest-stm32-merged\math.py - - stubs\micropython-v1_20_0-esp32-merged\math.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\math.py - - stubs\micropython-v1_20_0-esp32-S3-merged\math.py - - stubs\micropython-v1_20_0-rp2-merged\math.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\math.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\math.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\math.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\math.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\math.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\math.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\math.py - - stubs\micropython-v1_20_0-stm32-merged\math.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\math.py - ----------------------------------------------------------- -def bitstream(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\neopixel.py - - stubs\micropython-latest-esp8266-merged\neopixel.py - - stubs\micropython-latest-rp2-merged\neopixel.py - - stubs\micropython-v1_20_0-esp32-merged\neopixel.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\neopixel.py - - stubs\micropython-v1_20_0-esp32-S3-merged\neopixel.py - - stubs\micropython-v1_20_0-rp2-merged\neopixel.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\neopixel.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\neopixel.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\neopixel.py - ----------------------------------------------------------- -def phy_mode(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\network.py - - stubs\micropython-latest-esp8266-merged\network.py - - stubs\micropython-v1_20_0-esp32-merged\network.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\network.py - - stubs\micropython-v1_20_0-esp32-S3-merged\network.py - ----------------------------------------------------------- -def PPP(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\network.py - - stubs\micropython-v1_20_0-esp32-merged\network.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\network.py - - stubs\micropython-v1_20_0-esp32-S3-merged\network.py - ----------------------------------------------------------- -def settime(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ntptime.py - - stubs\micropython-latest-esp8266-merged\ntptime.py - - stubs\micropython-v1_20_0-esp32-merged\ntptime.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ntptime.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ntptime.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ntptime.py - ----------------------------------------------------------- -def time(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ntptime.py - - stubs\micropython-latest-esp8266-merged\ntptime.py - - stubs\micropython-v1_20_0-esp32-merged\ntptime.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ntptime.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ntptime.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ntptime.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - ----------------------------------------------------------- - def select_rom(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\onewire.py - - stubs\micropython-latest-esp8266-merged\onewire.py - - stubs\micropython-latest-rp2-merged\onewire.py - - stubs\micropython-latest-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\onewire.py - ----------------------------------------------------------- - def writebyte(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\onewire.py - - stubs\micropython-latest-esp8266-merged\onewire.py - - stubs\micropython-latest-rp2-merged\onewire.py - - stubs\micropython-latest-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\onewire.py - ----------------------------------------------------------- - def crc8(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\onewire.py - - stubs\micropython-latest-esp8266-merged\onewire.py - - stubs\micropython-latest-rp2-merged\onewire.py - - stubs\micropython-latest-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\onewire.py - ----------------------------------------------------------- - def readbyte(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\onewire.py - - stubs\micropython-latest-esp8266-merged\onewire.py - - stubs\micropython-latest-rp2-merged\onewire.py - - stubs\micropython-latest-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\onewire.py - ----------------------------------------------------------- - def readbit(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\onewire.py - - stubs\micropython-latest-esp8266-merged\onewire.py - - stubs\micropython-latest-rp2-merged\onewire.py - - stubs\micropython-latest-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\onewire.py - ----------------------------------------------------------- - def writebit(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\onewire.py - - stubs\micropython-latest-esp8266-merged\onewire.py - - stubs\micropython-latest-rp2-merged\onewire.py - - stubs\micropython-latest-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\onewire.py - ----------------------------------------------------------- - def reset(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\onewire.py - - stubs\micropython-latest-esp8266-merged\onewire.py - - stubs\micropython-latest-rp2-merged\lsm6dsox.py - - stubs\micropython-latest-rp2-merged\onewire.py - - stubs\micropython-latest-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-merged\onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\onewire.py - ----------------------------------------------------------- -def unlink(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - ----------------------------------------------------------- -def dupterm_notify(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - ----------------------------------------------------------- - def rename(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - ----------------------------------------------------------- - def mount(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - ----------------------------------------------------------- - def statvfs(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - ----------------------------------------------------------- - def rmdir(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - ----------------------------------------------------------- - def stat(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - ----------------------------------------------------------- - def umount(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - ----------------------------------------------------------- - def remove(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\_uasyncio.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\_uasyncio.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\_uasyncio.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\_uasyncio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_uasyncio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\_uasyncio.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\_uasyncio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_uasyncio.py - ----------------------------------------------------------- - def mkdir(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - ----------------------------------------------------------- - def open(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - ----------------------------------------------------------- - def ilistdir(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - ----------------------------------------------------------- - def chdir(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - ----------------------------------------------------------- - def getcwd(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\os.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp32-merged\uos.py - - stubs\micropython-latest-esp8266-merged\os.py - - stubs\micropython-latest-esp8266-merged\uos.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\os.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-rp2-merged\uos.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\os.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-latest-stm32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\os.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\os.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\os.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\os.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\os.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\os.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\os.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\os.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\os.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\os.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uos.py - ----------------------------------------------------------- -def platform(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\platform.py - - stubs\micropython-latest-esp32-merged\uplatform.py - - stubs\micropython-latest-stm32-merged\platform.py - - stubs\micropython-latest-stm32-merged\uplatform.py - - stubs\micropython-v1_20_0-esp32-merged\platform.py - - stubs\micropython-v1_20_0-esp32-merged\uplatform.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\platform.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uplatform.py - - stubs\micropython-v1_20_0-esp32-S3-merged\platform.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uplatform.py - - stubs\micropython-v1_20_0-stm32-merged\platform.py - - stubs\micropython-v1_20_0-stm32-merged\uplatform.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\platform.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uplatform.py - ----------------------------------------------------------- -def python_compiler(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\platform.py - - stubs\micropython-latest-esp32-merged\uplatform.py - - stubs\micropython-latest-stm32-merged\platform.py - - stubs\micropython-latest-stm32-merged\uplatform.py - - stubs\micropython-v1_20_0-esp32-merged\platform.py - - stubs\micropython-v1_20_0-esp32-merged\uplatform.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\platform.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uplatform.py - - stubs\micropython-v1_20_0-esp32-S3-merged\platform.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uplatform.py - - stubs\micropython-v1_20_0-stm32-merged\platform.py - - stubs\micropython-v1_20_0-stm32-merged\uplatform.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\platform.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uplatform.py - ----------------------------------------------------------- -def libc_ver(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\platform.py - - stubs\micropython-latest-esp32-merged\uplatform.py - - stubs\micropython-latest-stm32-merged\platform.py - - stubs\micropython-latest-stm32-merged\uplatform.py - - stubs\micropython-v1_20_0-esp32-merged\platform.py - - stubs\micropython-v1_20_0-esp32-merged\uplatform.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\platform.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\uplatform.py - - stubs\micropython-v1_20_0-esp32-S3-merged\platform.py - - stubs\micropython-v1_20_0-esp32-S3-merged\uplatform.py - - stubs\micropython-v1_20_0-stm32-merged\platform.py - - stubs\micropython-v1_20_0-stm32-merged\uplatform.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\platform.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\uplatform.py - ----------------------------------------------------------- - def fileno(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\socket.py - - stubs\micropython-latest-esp32-merged\usocket.py - - stubs\micropython-v1_20_0-esp32-merged\socket.py - - stubs\micropython-v1_20_0-esp32-merged\usocket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\socket.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\usocket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\socket.py - - stubs\micropython-v1_20_0-esp32-S3-merged\usocket.py - ----------------------------------------------------------- - def popitem(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ucollections.py - - stubs\micropython-latest-esp8266-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\ucollections.py - - stubs\micropython-latest-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-merged\collections.py - - stubs\micropython-v1_20_0-esp32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\collections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\collections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\collections.py - - stubs\micropython-v1_20_0-rp2-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\collections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\collections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-merged\collections.py - - stubs\micropython-v1_20_0-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\collections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ucollections.py - ----------------------------------------------------------- - def pop(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ucollections.py - - stubs\micropython-latest-esp32-merged\utimeq.py - - stubs\micropython-latest-esp32-merged\_uasyncio.py - - stubs\micropython-latest-esp8266-merged\ucollections.py - - stubs\micropython-latest-esp8266-merged\utimeq.py - - stubs\micropython-latest-rp2-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\_uasyncio.py - - stubs\micropython-latest-stm32-merged\ucollections.py - - stubs\micropython-latest-stm32-merged\utimeq.py - - stubs\micropython-latest-stm32-merged\_uasyncio.py - - stubs\micropython-v1_20_0-esp32-merged\collections.py - - stubs\micropython-v1_20_0-esp32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-merged\utimeq.py - - stubs\micropython-v1_20_0-esp32-merged\_uasyncio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\collections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\utimeq.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_uasyncio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\collections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\utimeq.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-merged\collections.py - - stubs\micropython-v1_20_0-rp2-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\collections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\collections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\_uasyncio.py - - stubs\micropython-v1_20_0-stm32-merged\collections.py - - stubs\micropython-v1_20_0-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-merged\utimeq.py - - stubs\micropython-v1_20_0-stm32-merged\_uasyncio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\collections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\utimeq.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_uasyncio.py - ----------------------------------------------------------- - def values(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ucollections.py - - stubs\micropython-latest-esp8266-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\ucollections.py - - stubs\micropython-latest-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-merged\collections.py - - stubs\micropython-v1_20_0-esp32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\collections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\collections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\collections.py - - stubs\micropython-v1_20_0-rp2-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\collections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\collections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-merged\collections.py - - stubs\micropython-v1_20_0-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\collections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ucollections.py - ----------------------------------------------------------- - def setdefault(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ucollections.py - - stubs\micropython-latest-esp8266-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\ucollections.py - - stubs\micropython-latest-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-merged\collections.py - - stubs\micropython-v1_20_0-esp32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\collections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\collections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\collections.py - - stubs\micropython-v1_20_0-rp2-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\collections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\collections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-merged\collections.py - - stubs\micropython-v1_20_0-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\collections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ucollections.py - ----------------------------------------------------------- - def copy(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ucollections.py - - stubs\micropython-latest-esp8266-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\ucollections.py - - stubs\micropython-latest-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-merged\collections.py - - stubs\micropython-v1_20_0-esp32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\collections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\collections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\collections.py - - stubs\micropython-v1_20_0-rp2-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\collections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\collections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-merged\collections.py - - stubs\micropython-v1_20_0-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\collections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ucollections.py - ----------------------------------------------------------- - def clear(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ucollections.py - - stubs\micropython-latest-esp8266-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\ucollections.py - - stubs\micropython-latest-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-merged\collections.py - - stubs\micropython-v1_20_0-esp32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\collections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\collections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\collections.py - - stubs\micropython-v1_20_0-rp2-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\collections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\collections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-merged\collections.py - - stubs\micropython-v1_20_0-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\collections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ucollections.py - ----------------------------------------------------------- - def keys(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ucollections.py - - stubs\micropython-latest-esp8266-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\ucollections.py - - stubs\micropython-latest-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-merged\collections.py - - stubs\micropython-v1_20_0-esp32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\collections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\collections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\collections.py - - stubs\micropython-v1_20_0-rp2-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\collections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\collections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-merged\collections.py - - stubs\micropython-v1_20_0-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\collections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ucollections.py - ----------------------------------------------------------- - def get(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ucollections.py - - stubs\micropython-latest-esp8266-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-latest-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-merged\collections.py - - stubs\micropython-v1_20_0-esp32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\collections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\collections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\collections.py - - stubs\micropython-v1_20_0-rp2-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\collections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\collections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-merged\collections.py - - stubs\micropython-v1_20_0-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\collections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ucollections.py - ----------------------------------------------------------- - def items(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ucollections.py - - stubs\micropython-latest-esp8266-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\ucollections.py - - stubs\micropython-latest-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-merged\collections.py - - stubs\micropython-v1_20_0-esp32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\collections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\collections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\collections.py - - stubs\micropython-v1_20_0-rp2-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\collections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\collections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-merged\collections.py - - stubs\micropython-v1_20_0-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\collections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ucollections.py - ----------------------------------------------------------- - def fromkeys(cls, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ucollections.py - - stubs\micropython-latest-esp8266-merged\ucollections.py - - stubs\micropython-latest-rp2-merged\ucollections.py - - stubs\micropython-latest-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-merged\collections.py - - stubs\micropython-v1_20_0-esp32-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\collections.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ucollections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\collections.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-merged\collections.py - - stubs\micropython-v1_20_0-rp2-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\collections.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\collections.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\collections.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ucollections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\collections.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-merged\collections.py - - stubs\micropython-v1_20_0-stm32-merged\ucollections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\collections.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ucollections.py - ----------------------------------------------------------- -def sub(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ure.py - - stubs\micropython-latest-esp8266-merged\ure.py - - stubs\micropython-latest-rp2-merged\ure.py - - stubs\micropython-latest-stm32-merged\ure.py - - stubs\micropython-v1_20_0-esp32-merged\ure.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ure.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ure.py - - stubs\micropython-v1_20_0-rp2-merged\ure.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ure.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ure.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ure.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ure.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ure.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ure.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ure.py - - stubs\micropython-v1_20_0-stm32-merged\ure.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ure.py - ----------------------------------------------------------- -def search(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ure.py - - stubs\micropython-latest-esp8266-merged\ure.py - - stubs\micropython-latest-rp2-merged\ure.py - - stubs\micropython-latest-stm32-merged\ure.py - - stubs\micropython-v1_20_0-esp32-merged\ure.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ure.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ure.py - - stubs\micropython-v1_20_0-rp2-merged\ure.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ure.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ure.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ure.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ure.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ure.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ure.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ure.py - - stubs\micropython-v1_20_0-stm32-merged\ure.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ure.py - ----------------------------------------------------------- -def match(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ure.py - - stubs\micropython-latest-esp8266-merged\ure.py - - stubs\micropython-latest-rp2-merged\ure.py - - stubs\micropython-latest-stm32-merged\ure.py - - stubs\micropython-v1_20_0-esp32-merged\ure.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ure.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ure.py - - stubs\micropython-v1_20_0-rp2-merged\ure.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ure.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ure.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ure.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ure.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ure.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ure.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ure.py - - stubs\micropython-v1_20_0-stm32-merged\ure.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ure.py - ----------------------------------------------------------- -def compile(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\ure.py - - stubs\micropython-latest-esp8266-merged\ure.py - - stubs\micropython-latest-rp2-merged\ure.py - - stubs\micropython-latest-stm32-merged\ure.py - - stubs\micropython-v1_20_0-esp32-merged\ure.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\ure.py - - stubs\micropython-v1_20_0-esp32-S3-merged\ure.py - - stubs\micropython-v1_20_0-rp2-merged\ure.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\ure.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ure.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\ure.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\ure.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\ure.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\ure.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\ure.py - - stubs\micropython-v1_20_0-stm32-merged\ure.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\ure.py - ----------------------------------------------------------- -def request(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-S3-merged\urequests.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urequests.py - ----------------------------------------------------------- -def head(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-S3-merged\urequests.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urequests.py - ----------------------------------------------------------- -def post(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-S3-merged\urequests.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urequests.py - ----------------------------------------------------------- -def patch(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-S3-merged\urequests.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urequests.py - ----------------------------------------------------------- -def delete(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-S3-merged\urequests.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urequests.py - ----------------------------------------------------------- -def put(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-S3-merged\urequests.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urequests.py - ----------------------------------------------------------- -def get(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-S3-merged\urequests.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urequests.py - ----------------------------------------------------------- - def json(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\urequests.py - - stubs\micropython-v1_20_0-esp32-S3-merged\urequests.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urequests.py - ----------------------------------------------------------- - def peektime(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\utimeq.py - - stubs\micropython-latest-esp8266-merged\utimeq.py - - stubs\micropython-latest-stm32-merged\utimeq.py - - stubs\micropython-v1_20_0-esp32-merged\utimeq.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\utimeq.py - - stubs\micropython-v1_20_0-esp32-S3-merged\utimeq.py - - stubs\micropython-v1_20_0-stm32-merged\utimeq.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\utimeq.py - ----------------------------------------------------------- - def push(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\utimeq.py - - stubs\micropython-latest-esp32-merged\_uasyncio.py - - stubs\micropython-latest-esp8266-merged\utimeq.py - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-latest-rp2-merged\_uasyncio.py - - stubs\micropython-latest-stm32-merged\utimeq.py - - stubs\micropython-latest-stm32-merged\_uasyncio.py - - stubs\micropython-v1_20_0-esp32-merged\utimeq.py - - stubs\micropython-v1_20_0-esp32-merged\_uasyncio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\utimeq.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_uasyncio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\utimeq.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\_uasyncio.py - - stubs\micropython-v1_20_0-stm32-merged\utimeq.py - - stubs\micropython-v1_20_0-stm32-merged\_uasyncio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\utimeq.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_uasyncio.py - ----------------------------------------------------------- -def client_handshake(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\websocket_helper.py - - stubs\micropython-latest-esp8266-merged\websocket_helper.py - - stubs\micropython-latest-rp2-merged\websocket_helper.py - ----------------------------------------------------------- -def server_handshake(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\websocket_helper.py - - stubs\micropython-latest-esp8266-merged\websocket_helper.py - - stubs\micropython-latest-rp2-merged\websocket_helper.py - ----------------------------------------------------------- -def reset(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_onewire.py - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-latest-esp8266-merged\socket.py - - stubs\micropython-latest-esp8266-merged\usocket.py - - stubs\micropython-latest-esp8266-merged\_onewire.py - - stubs\micropython-latest-rp2-merged\_onewire.py - - stubs\micropython-latest-stm32-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\_onewire.py - - stubs\micropython-v1_20_0-stm32-merged\_onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_onewire.py - ----------------------------------------------------------- -def writebyte(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_onewire.py - - stubs\micropython-latest-esp8266-merged\_onewire.py - - stubs\micropython-latest-rp2-merged\_onewire.py - - stubs\micropython-latest-stm32-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\_onewire.py - - stubs\micropython-v1_20_0-stm32-merged\_onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_onewire.py - ----------------------------------------------------------- -def writebit(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_onewire.py - - stubs\micropython-latest-esp8266-merged\_onewire.py - - stubs\micropython-latest-rp2-merged\_onewire.py - - stubs\micropython-latest-stm32-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\_onewire.py - - stubs\micropython-v1_20_0-stm32-merged\_onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_onewire.py - ----------------------------------------------------------- -def crc8(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_onewire.py - - stubs\micropython-latest-esp8266-merged\_onewire.py - - stubs\micropython-latest-rp2-merged\_onewire.py - - stubs\micropython-latest-stm32-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\_onewire.py - - stubs\micropython-v1_20_0-stm32-merged\_onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_onewire.py - ----------------------------------------------------------- -def readbyte(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_onewire.py - - stubs\micropython-latest-esp8266-merged\_onewire.py - - stubs\micropython-latest-rp2-merged\_onewire.py - - stubs\micropython-latest-stm32-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\_onewire.py - - stubs\micropython-v1_20_0-stm32-merged\_onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_onewire.py - ----------------------------------------------------------- -def readbit(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_onewire.py - - stubs\micropython-latest-esp8266-merged\_onewire.py - - stubs\micropython-latest-rp2-merged\_onewire.py - - stubs\micropython-latest-stm32-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_onewire.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_onewire.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\_onewire.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\_onewire.py - - stubs\micropython-v1_20_0-stm32-merged\_onewire.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_onewire.py - ----------------------------------------------------------- -def get_ident(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_thread.py - - stubs\micropython-latest-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_thread.py - ----------------------------------------------------------- -def start_new_thread(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_thread.py - - stubs\micropython-latest-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_thread.py - ----------------------------------------------------------- -def stack_size(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_thread.py - - stubs\micropython-latest-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_thread.py - ----------------------------------------------------------- -def exit(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_thread.py - - stubs\micropython-latest-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\sys.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usys.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_thread.py - ----------------------------------------------------------- -def allocate_lock(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_thread.py - - stubs\micropython-latest-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_thread.py - ----------------------------------------------------------- - def locked(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_thread.py - - stubs\micropython-latest-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_thread.py - ----------------------------------------------------------- - def release(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_thread.py - - stubs\micropython-latest-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_thread.py - ----------------------------------------------------------- - def acquire(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_thread.py - - stubs\micropython-latest-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_thread.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_thread.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-merged\_thread.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_thread.py - ----------------------------------------------------------- - def peek(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp32-merged\_uasyncio.py - - stubs\micropython-latest-rp2-merged\_uasyncio.py - - stubs\micropython-latest-stm32-merged\_uasyncio.py - - stubs\micropython-v1_20_0-esp32-merged\_uasyncio.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\_uasyncio.py - - stubs\micropython-v1_20_0-esp32-S3-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_uasyncio.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\_uasyncio.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\_uasyncio.py - - stubs\micropython-v1_20_0-stm32-merged\_uasyncio.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\_uasyncio.py - ----------------------------------------------------------- -def apa102_write(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\apa102.py - - stubs\micropython-latest-esp8266-merged\esp.py - ----------------------------------------------------------- -def freemem(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\esp.py - ----------------------------------------------------------- -def free(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\esp.py - ----------------------------------------------------------- -def malloc(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\esp.py - ----------------------------------------------------------- -def meminfo(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\esp.py - ----------------------------------------------------------- -def check_fw(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\esp.py - ----------------------------------------------------------- -def esf_free_bufs(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\esp.py - ----------------------------------------------------------- -def wifi(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\inisetup.py - ----------------------------------------------------------- -def print_pcbs(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-latest-esp8266-merged\socket.py - - stubs\micropython-latest-esp8266-merged\usocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- -def getaddrinfo(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- -def callback(*args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-latest-esp8266-merged\socket.py - - stubs\micropython-latest-esp8266-merged\usocket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def recvfrom(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def recv(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def makefile(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def listen(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def settimeout(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def sendall(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def setsockopt(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def setblocking(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def sendto(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def connect(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def send(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def bind(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def accept(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-esp8266-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\lwip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\socket.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usocket.py - ----------------------------------------------------------- - def read_mlc_output(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\lsm6dsox.py - ----------------------------------------------------------- - def set_embedded_functions(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\lsm6dsox.py - ----------------------------------------------------------- - def read_gyro(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\lsm6dsox.py - ----------------------------------------------------------- - def read_accel(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\lsm6dsox.py - ----------------------------------------------------------- - def set_mem_bank(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\lsm6dsox.py - ----------------------------------------------------------- - def load_mlc(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\lsm6dsox.py - ----------------------------------------------------------- - def toggle(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\machine.py - - stubs\micropython-latest-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-merged\machine.py - - stubs\micropython-v1_20_0-rp2-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\machine.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - ----------------------------------------------------------- -def route(*args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\network.py - - stubs\micropython-latest-stm32-merged\network.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - - stubs\micropython-v1_20_0-stm32-merged\network.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\network.py - ----------------------------------------------------------- - def wrap(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def wait(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def jmp(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def word(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def in_(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def delay(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def start_pass(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def out(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def side(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def wrap_target(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def label(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def irq(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def set(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def mov(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def pull(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def nop(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\rp2.py - ----------------------------------------------------------- - def put(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - ----------------------------------------------------------- - def restart(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - ----------------------------------------------------------- - def rx_fifo(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - ----------------------------------------------------------- - def tx_fifo(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - ----------------------------------------------------------- - def exec(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - ----------------------------------------------------------- - def active(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - ----------------------------------------------------------- - def state_machine(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - ----------------------------------------------------------- - def remove_program(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - ----------------------------------------------------------- - def add_program(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - ----------------------------------------------------------- -def calcsize(*args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\lcd160cr.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\struct.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ustruct.py - - stubs\micropython-v1_20_0-stm32-merged\lcd160cr.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\lcd160cr.py - ----------------------------------------------------------- -def pack_into(*args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\lcd160cr.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\struct.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ustruct.py - - stubs\micropython-v1_20_0-stm32-merged\lcd160cr.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\lcd160cr.py - ----------------------------------------------------------- -def sleep_ms(*args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\lcd160cr.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - - stubs\micropython-v1_20_0-stm32-merged\lcd160cr.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\lcd160cr.py - ----------------------------------------------------------- - def iflush(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\lcd160cr.py - - stubs\micropython-v1_20_0-stm32-merged\lcd160cr.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\lcd160cr.py - ----------------------------------------------------------- - def oflush(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\lcd160cr.py - - stubs\micropython-v1_20_0-stm32-merged\lcd160cr.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\lcd160cr.py - ----------------------------------------------------------- -def info(*args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def name(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def pin(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def port(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def names(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def af_list(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def af(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def gpio(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def dict(cls, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def debug(cls, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def mapper(cls, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def wakeup(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def calibration(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def readchar(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- - def writechar(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\machine.py - - stubs\micropython-latest-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\machine.py - - stubs\micropython-v1_20_0-stm32-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\machine.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\umachine.py - ----------------------------------------------------------- -def servo(*args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- -def pwm(*args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- -def repl_info(*args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- -def country(*args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-esp32-merged\network.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\network.py - - stubs\micropython-v1_20_0-esp32-S3-merged\network.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-stm32-merged\network.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\network.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def read_core_vbat(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def read_core_vref(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def read_vref(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def read_core_temp(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def read_channel(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def low(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def on(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def off(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def high(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def power(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def present(self, *args, **kwargs) -> Any: - - stubs\micropython-latest-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- -def getLogger(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - ----------------------------------------------------------- -def basicConfig(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - ----------------------------------------------------------- -def debug(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - ----------------------------------------------------------- - def error(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - ----------------------------------------------------------- - def warning(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - ----------------------------------------------------------- - def setLevel(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - ----------------------------------------------------------- - def isEnabledFor(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - ----------------------------------------------------------- - def critical(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - ----------------------------------------------------------- - def debug(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - ----------------------------------------------------------- - def log(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - ----------------------------------------------------------- - def exception(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\logging.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\logging.py - - stubs\micropython-v1_20_0-rp2-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\logging.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\logging.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\logging.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\logging.py - ----------------------------------------------------------- -def install(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\mip.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\mip.py - - stubs\micropython-v1_20_0-esp32-S3-merged\mip.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\mip.py - ----------------------------------------------------------- -def hostname(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-esp32-merged\network.py - - stubs\micropython-v1_20_0-esp32-OTA-merged\network.py - - stubs\micropython-v1_20_0-esp32-S3-merged\network.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - - stubs\micropython-v1_20_0-stm32-merged\network.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\network.py - ----------------------------------------------------------- -def bootsel_button(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\_rp2.py - - stubs\micropython-v1_20_0-rp2-PIMORONI_PICOLIPO_16MB-merged\_rp2.py - ----------------------------------------------------------- - def isconnected(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - ----------------------------------------------------------- - def ifconfig(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - ----------------------------------------------------------- - def send_ethernet(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - ----------------------------------------------------------- - def status(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - ----------------------------------------------------------- - def disconnect(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\network.py - ----------------------------------------------------------- -def stat(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def rmdir(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def rename(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def mount(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def urandom(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def statvfs(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def uname(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def umount(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def chdir(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def dupterm(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def remove(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def mkdir(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def getcwd(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def listdir(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def ilistdir(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- - def mkfs(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\os.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uos.py - ----------------------------------------------------------- -def randrange(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\random.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urandom.py - ----------------------------------------------------------- -def random(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\random.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urandom.py - ----------------------------------------------------------- -def seed(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\random.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urandom.py - ----------------------------------------------------------- -def uniform(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\random.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urandom.py - ----------------------------------------------------------- -def choice(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\random.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urandom.py - ----------------------------------------------------------- -def randint(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\random.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urandom.py - ----------------------------------------------------------- -def getrandbits(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\random.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\urandom.py - ----------------------------------------------------------- -def asm_pio(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - ----------------------------------------------------------- -def asm_pio_encode(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\rp2.py - ----------------------------------------------------------- -def select(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\select.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uselect.py - ----------------------------------------------------------- -def poll(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\select.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uselect.py - ----------------------------------------------------------- -def wrap_socket(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ssl.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ussl.py - ----------------------------------------------------------- -def unpack(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\struct.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ustruct.py - ----------------------------------------------------------- -def unpack_from(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\struct.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ustruct.py - ----------------------------------------------------------- -def pack(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\struct.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ustruct.py - ----------------------------------------------------------- -def print_exception(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\sys.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\usys.py - ----------------------------------------------------------- -def ticks_diff(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - ----------------------------------------------------------- -def ticks_add(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - ----------------------------------------------------------- -def ticks_cpu(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - ----------------------------------------------------------- -def ticks_ms(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - ----------------------------------------------------------- -def ticks_us(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - ----------------------------------------------------------- -def time_ns(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - ----------------------------------------------------------- -def localtime(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - ----------------------------------------------------------- -def sleep_us(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - ----------------------------------------------------------- -def gmtime(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - ----------------------------------------------------------- -def mktime(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - ----------------------------------------------------------- -def sleep(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\time.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\utime.py - ----------------------------------------------------------- - def extend(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uarray.py - ----------------------------------------------------------- - def append(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uarray.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - ----------------------------------------------------------- -def hexlify(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ubinascii.py - ----------------------------------------------------------- -def unhexlify(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ubinascii.py - ----------------------------------------------------------- -def b2a_base64(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ubinascii.py - ----------------------------------------------------------- -def a2b_base64(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ubinascii.py - ----------------------------------------------------------- -def namedtuple(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - ----------------------------------------------------------- - def popleft(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucollections.py - ----------------------------------------------------------- - def encrypt(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucryptolib.py - ----------------------------------------------------------- - def decrypt(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ucryptolib.py - ----------------------------------------------------------- -def sizeof(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uctypes.py - ----------------------------------------------------------- -def bytes_at(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uctypes.py - ----------------------------------------------------------- -def bytearray_at(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uctypes.py - ----------------------------------------------------------- -def addressof(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uctypes.py - ----------------------------------------------------------- -def heappop(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uheapq.py - ----------------------------------------------------------- -def heappush(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uheapq.py - ----------------------------------------------------------- -def heapify(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uheapq.py - ----------------------------------------------------------- -def open(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uio.py - ----------------------------------------------------------- -def loads(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ujson.py - ----------------------------------------------------------- -def load(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ujson.py - ----------------------------------------------------------- -def dumps(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ujson.py - ----------------------------------------------------------- -def dump(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\ujson.py - ----------------------------------------------------------- -def enable_irq(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- -def disable_irq(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- -def deepsleep(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- -def bootloader(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- -def soft_reset(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- -def freq(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- -def reset_cause(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- -def idle(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- -def time_pulse_us(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- -def lightsleep(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- -def unique_id(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- - def feed(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- - def freq(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- - def duty_u16(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- - def duty_ns(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- - def read_u16(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- - def shift(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- - def sendbreak(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- - def txdone(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - - stubs\micropython-v1_20_0-stm32-merged\pyb.py - - stubs\micropython-v1_20_0-stm32-PYBV11-merged\pyb.py - ----------------------------------------------------------- - def any(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- - def datetime(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\umachine.py - ----------------------------------------------------------- -def decompress(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\uzlib.py - - stubs\micropython-v1_20_0-rp2-PICO_W-merged\zlib.py - ----------------------------------------------------------- - def timeout_ms(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - ----------------------------------------------------------- - def disable(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\machine.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\umachine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\machine.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\umachine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\machine.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\umachine.py - ----------------------------------------------------------- -def pininfo(*args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\samd.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\samd.py - ----------------------------------------------------------- - def flash_init(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\samd.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\samd.py - ----------------------------------------------------------- - def flash_version(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\samd.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\samd.py - ----------------------------------------------------------- - def flash_size(self, *args, **kwargs) -> Any: - - stubs\micropython-v1_20_0-samd-ADAFRUIT_FEATHER_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS-merged\samd.py - - stubs\micropython-v1_20_0-samd-MINISAM_M4-merged\samd.py - - stubs\micropython-v1_20_0-samd-SEEED_WIO_TERMINAL-merged\samd.py - diff --git a/package_data_test.jsondb b/package_data_test.jsondb deleted file mode 100644 index 738f013e0..000000000 --- a/package_data_test.jsondb +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 2, - "keys": [], - "data": {} -} \ No newline at end of file diff --git a/publish/micropython-v1_20_0-rp2-stubs/readme.md b/publish/micropython-v1_20_0-rp2-stubs/readme.md index e3831ba1a..e10f98b1b 100644 --- a/publish/micropython-v1_20_0-rp2-stubs/readme.md +++ b/publish/micropython-v1_20_0-rp2-stubs/readme.md @@ -27,7 +27,7 @@ For an overview of Micropython Stubs please see: https://micropython-stubs.read * List of all stubs : https://micropython-stubs.readthedocs.io/en/main/firmware_grp.html Included stubs: -* Merged stubs from `stubs/micropython-v1_20_0-rp2-merged` +* Merged stubs from `stubs/micropython-v1_20_0-rp2-PICO-merged` * Frozen stubs from `stubs/micropython-v1_20_0-frozen/rp2/GENERIC` * Core stubs from `stubs/micropython-core` diff --git a/pymakr.conf b/pymakr.conf deleted file mode 100644 index c84fa6e46..000000000 --- a/pymakr.conf +++ /dev/null @@ -1,18 +0,0 @@ -{ - "address": "192.168.4.1", - "username": "micro", - "password": "python", - "sync_folder": "", - "open_on_start": true, - "safe_boot_on_upload": false, - "py_ignore": [ - "pymakr.conf", - ".vscode", - ".gitignore", - ".git", - "project.pymakr", - "env", - "venv" - ], - "fast_upload": false -} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 191b49e42..c7e5b018a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,3 +16,34 @@ exclude = ''' )/ ) ''' + +[tool.pytest.ini_options] +minversion = "7.0" +python_functions = ["test_", "*_test"] +python_files = ["test_*.py", "*_test.py"] +testpaths = ["quality_tests"] +norecursedirs = [ + "publish", + "stubs", + "repos", + "typings*", + ".svn", + "_build", + "tmp*", + ".*", + "build", + "dist", + "{arch}", + "*.egg", +] +junit_family = "xunit1" + +addopts = "--verbose --capture=no" +# -m 'not snippets' +# --numprocesses=auto +# -m MARKEXPR Only run tests matching given mark expression. For example: -m 'mark1 and not mark2'. +# -n --numprocesses=numprocesses - + +markers = [ + "snippets: test snippets to check the stub quality", +] diff --git a/requirements-stats.txt b/requirements-stats.txt new file mode 100644 index 000000000..4fad96679 --- /dev/null +++ b/requirements-stats.txt @@ -0,0 +1,10 @@ +# download reporting +ipykernel +google-cloud-bigquery==3.12.0 +pandas +matplotlib +ipywidgets +ipympl # interactive matplotlib figures in jupyter + +# keyring # for storing credentials + diff --git a/requirements-test.txt b/requirements-test.txt new file mode 100644 index 000000000..d57cd1f50 --- /dev/null +++ b/requirements-test.txt @@ -0,0 +1,10 @@ + +micropython-stubber + +# for quality reporting +pyright +pytest +fasteners +python-dotenv +pydocstyle +loguru diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 5c483d52e..000000000 --- a/requirements.txt +++ /dev/null @@ -1,26 +0,0 @@ -# 1.7 introduced the ability to merge stubs using codemods. -micropython-stubber >= 1.11.4 - -# for quality reporting -pyright -pytest -black - - -# download reporting -ipykernel -google-cloud-bigquery==3.12.0 -pandas -matplotlib -ipywidgets -ipympl # interactive matplotlib figures in jupyter -keyring # for storing credentials - -# Section:publishing -# tomli -# tomli-w -# packaging - -# pysondb-v2 - -# click == 8.0.3 diff --git a/find_undoc_funcs.ipynb b/scripts/find_undoc_funcs.ipynb similarity index 99% rename from find_undoc_funcs.ipynb rename to scripts/find_undoc_funcs.ipynb index d8643b206..afe359bae 100644 --- a/find_undoc_funcs.ipynb +++ b/scripts/find_undoc_funcs.ipynb @@ -437,7 +437,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.0" + "version": "3.11.6" }, "orig_nbformat": 4 }, diff --git a/statistics/read_stats.py b/statistics/read_stats.py deleted file mode 100644 index 79866faff..000000000 --- a/statistics/read_stats.py +++ /dev/null @@ -1,71 +0,0 @@ -import csv - -from pathlib import Path - -from google.cloud import bigquery -from google.oauth2 import service_account - -## create service account from BQ_CREDS file -credentials = service_account.Credentials.from_service_account_file('.secrets/BQ_CREDS.json') - -client = bigquery.Client(credentials=credentials, project=credentials.project_id) - - -def get_monthly_stats(year, month): - QUERY = ( - f""" - SELECT - COUNT(*) AS num_downloads, - REGEXP_EXTRACT(file.project, r".*?-(.*?)-(?:.*-)?stubs") AS port, - REGEXP_EXTRACT(file.project, r".*?-.*?-(?:(.*)-)?stubs") AS board, - REGEXP_EXTRACT(file.version, r"(.*).post") AS version, - DATE({year},{month},1) as report_date, - file.project as project, - file.version AS version_full, - -- REGEXP_EXTRACT(file.version, r".*.post(.*)") AS post, - FROM - `bigquery-public-data.pypi.file_downloads` - WHERE - file.PROJECT LIKE 'micropython-%-stubs' -- Only query the previous month OF history - AND DATE(timestamp) BETWEEN DATE({year},{month},1) - AND DATE_ADD(DATE({year},{month},1), INTERVAL 1 MONTH) - AND details.installer.name <> 'bandersnatch' - GROUP BY - port, - board, - version, - project, - version_full - -- ,post - ORDER BY - `num_downloads` DESC - """ - ) - query_job = client.query(QUERY) # API request - - results = query_job.result() # Waits for query to finish - return results - -stats_list = [] - -year = 2022 -month = 10 - -for month in range(5,13): - print(f"Processing {year}-{month} ... ", end="", flush=True) - results = get_monthly_stats(year, month) - field_names = [f.name for f in results.schema] - # print(field_names) - print(f"Retrieved {results.total_rows} download summaries") - for row in results: - stats_list.append(dict(row)) - -print("writing to csv") -keys = stats_list[0].keys() - -with open(Path('./statistics')/'downloads.csv', 'w', newline='') as output_file: - dict_writer = csv.DictWriter(output_file, keys) - dict_writer.writeheader() - - dict_writer.writerows(stats_list) - diff --git a/statistics/report-stats.ipynb b/statistics/report-stats.ipynb index 6257c9d99..7dc3fb042 100644 --- a/statistics/report-stats.ipynb +++ b/statistics/report-stats.ipynb @@ -1,8 +1,29 @@ { "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# 2) Report download statistics\n", + "\n", + "This Jupyter Notebook contains code and analysis for analyzing and visualizing data from a CSV file. The notebook utilizes the pandas library to read and manipulate the data, and the matplotlib library to create various types of graphs and visualizations.\n", + "\n", + "The notebook is organized into multiple cells, each serving a specific purpose. The cells include importing necessary libraries, reading the CSV file, performing data manipulation and analysis, and creating different types of graphs and visualizations.\n", + "\n", + "The goal of this notebook is to provide a step-by-step guide for analyzing and visualizing data from a CSV file using Python and Jupyter Notebook. \n", + "\n", + "Please execute the cells in sequential order to ensure the proper execution of the code and generation of the desired visualizations.\n", + "\n", + "\n", + "#### Dependencies\n", + "Please note that this notebook requires the installation of the necessary dependencies, such as pandas, matplotlib, and the Google Big Query SDK.\n", + "\n", + "see [requirements-stats.txt](../requirements-stats.txt) for a list of dependencies." + ] + }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ diff --git a/statistics/stats_v1.pbix b/statistics/stats_v1.pbix deleted file mode 100644 index 9f2bb01b8..000000000 Binary files a/statistics/stats_v1.pbix and /dev/null differ diff --git a/statistics/update_stats.ipynb b/statistics/update_stats.ipynb index dbfce0f9f..05a05f1a0 100644 --- a/statistics/update_stats.ipynb +++ b/statistics/update_stats.ipynb @@ -1,8 +1,32 @@ { "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Get/Update Download statistics\n", + "\n", + "This Jupyter Notebook contains code and analysis for analyzing and visualizing data from the PyPI package repository. The notebook utilizes the Google BigQuery API to query and retrieve data, and pandas and matplotlib libraries for data manipulation and visualization.\n", + "\n", + "The notebook is divided into several sections, each represented by a separate code cell. The sections include:\n", + "\n", + "1. Data Retrieval: This section retrieves monthly download statistics for a specific package from the PyPI repository using the BigQuery API.\n", + "\n", + "2. Data Processing: This section processes and combines the retrieved data with the existing data from a CSV file. It performs data cleaning, sorting, and removes duplicate entries.\n", + "\n", + "3. Data Visualization: This section visualizes the processed data using various charts and plots, including bar charts and line plots.\n", + "\n", + "4. Data Export: This section exports the processed data to a CSV file for further analysis or sharing.\n", + "\n", + "#### Dependencies\n", + "Please note that this notebook requires the installation of the necessary dependencies, such as pandas, matplotlib, and the Google Big Query SDK.\n", + "\n", + "see [requirements-stats.txt](../requirements-stats.txt) for a list of dependencies.\n" + ] + }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -213,7 +237,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.6" + "version": "3.9.17" }, "orig_nbformat": 4 }, diff --git a/tests/quality_tests/.vscode/launch.json b/tests/quality_tests/.vscode/launch.json new file mode 100644 index 000000000..b22b033e9 --- /dev/null +++ b/tests/quality_tests/.vscode/launch.json @@ -0,0 +1,17 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "debug build-stubs", + "type": "PowerShell", + "request": "launch", + "script": "${workspaceFolder}/build-stubs.ps1", + "args": [ + "-do_build" + ] + } + ] +} \ No newline at end of file diff --git a/tests/quality_tests/.vscode/settings.json b/tests/quality_tests/.vscode/settings.json new file mode 100644 index 000000000..1415b1adc --- /dev/null +++ b/tests/quality_tests/.vscode/settings.json @@ -0,0 +1,9 @@ +{ + "python.analysis.diagnosticMode": "workspace", + "python.analysis.typeCheckingMode": "basic", + "python.testing.pytestArgs": [ + "." + ], + "python.testing.unittestEnabled": false, + "python.testing.pytestEnabled": true +} \ No newline at end of file diff --git a/tests/quality_tests/check_esp32/.mypy.ini b/tests/quality_tests/check_esp32/.mypy.ini new file mode 100644 index 000000000..9dc785a72 --- /dev/null +++ b/tests/quality_tests/check_esp32/.mypy.ini @@ -0,0 +1,26 @@ +# Global options: + +[mypy] + +# where to find the stubs +no_site_packages = True +mypy_path = $MYPY_CONFIG_FILE_DIR/typings + +# which files to check +files = $MYPY_CONFIG_FILE_DIR/check_*.py, $MYPY_CONFIG_FILE_DIR/check_*/check_*.py + +# ignore errors +disable_error_code = no-redef,misc +; ignore_missing_imports = True + +# things to ignore +exclude = .*typings.* + + + +# Per-module options: +# ignore any errors inside the mypy stdlib +[mypy-stdlib.*] +follow_imports = silent +ignore_errors = True + diff --git a/tests/quality_tests/check_esp32/check_aioespnow.py b/tests/quality_tests/check_esp32/check_aioespnow.py new file mode 100644 index 000000000..8f96000d7 --- /dev/null +++ b/tests/quality_tests/check_esp32/check_aioespnow.py @@ -0,0 +1,48 @@ +# typed: ignore +# Async +# TODO : how is aioespnow documented / detected +# Todo : add inheritance to table + +import asyncio + +import aioespnow # type: ignore +import network + +# A WLAN interface must be active to send()/recv() +network.WLAN(network.STA_IF).active(True) + +e = aioespnow.AIOESPNow() # Returns AIOESPNow enhanced with async support +e.active(True) +peer = b"\xbb\xbb\xbb\xbb\xbb\xbb" +e.add_peer(peer) + + +# Send a periodic ping to a peer +async def heartbeat(e, peer, period=30): + while True: + if not await e.asend(peer, b"ping"): + print("Heartbeat: peer not responding:", peer) + else: + print("Heartbeat: ping", peer) + await asyncio.sleep(period) + + +# Echo any received messages back to the sender +async def echo_server(e): + async for mac, msg in e: + print("Echo:", msg) + try: + await e.asend(mac, msg) + except OSError as err: + if len(err.args) > 1 and err.args[1] == "ESP_ERR_ESPNOW_NOT_FOUND": + e.add_peer(mac) + await e.asend(mac, msg) + + +async def main(e, peer, timeout, period): + asyncio.create_task(heartbeat(e, peer, period)) + asyncio.create_task(echo_server(e)) + await asyncio.sleep(timeout) + + +asyncio.run(main(e, peer, 120, 10)) diff --git a/tests/quality_tests/check_esp32/check_dht.py b/tests/quality_tests/check_esp32/check_dht.py new file mode 100644 index 000000000..0abd4101f --- /dev/null +++ b/tests/quality_tests/check_esp32/check_dht.py @@ -0,0 +1,16 @@ +# https://docs.micropython.org/en/latest/esp32/quickref.html#dht-driver +# DHT driver +# The DHT driver is implemented in software and works on all pins: + +import dht +import machine + +dht_11 = dht.DHT11(machine.Pin(4)) +dht_11.measure() +dht_11.temperature() # eg. 23 (°C) +dht_11.humidity() # eg. 41 (% RH) + +dht_12 = dht.DHT22(machine.Pin(5)) +dht_12.measure() +dht_12.temperature() # eg. 23.6 (°C) +dht_12.humidity() # eg. 41.3 (% RH) diff --git a/tests/quality_tests/check_esp32/check_esp.py b/tests/quality_tests/check_esp32/check_esp.py new file mode 100644 index 000000000..f7856f760 --- /dev/null +++ b/tests/quality_tests/check_esp32/check_esp.py @@ -0,0 +1,20 @@ +# ref: https://docs.micropython.org/en/latest/esp8266/quickref.html +# The esp module: +from machine import Pin +import esp + +esp.osdebug(None) # turn off vendor O/S debugging messages +esp.osdebug(0) # redirect vendor O/S debugging messages to UART(0) + + +sector_no = 1 # Placeholders +byte_offset = 0 +buffer = b"0000" + +# low level methods to interact with flash storage +esp.flash_size() +esp.flash_user_start() +esp.flash_erase(sector_no) +esp.flash_write(byte_offset, buffer) +esp.flash_read(byte_offset, buffer) + diff --git a/tests/quality_tests/check_esp32/check_esp32.py b/tests/quality_tests/check_esp32/check_esp32.py new file mode 100644 index 000000000..47a783347 --- /dev/null +++ b/tests/quality_tests/check_esp32/check_esp32.py @@ -0,0 +1,33 @@ +# The esp32 module: +import esp32 + +# esp32.hall_sensor() # read the internal hall sensor +# Hal sensor (magnetometer) has been removed +# https://github.com/micropython/micropython/pull/11528 + +esp32.raw_temperature() # read the internal temperature of the MCU, in Fahrenheit +esp32.ULP() # access to the Ultra-Low-Power Co-processor + + +# RMT + +from machine import Pin + +import esp32 + +rmt = esp32.RMT(0, pin=Pin(18), clock_div=8) +print(rmt) +# # RMT(channel=0, pin=18, source_freq=80000000, clock_div=8) +# The channel resolution is 100ns (1/(source_freq/clock_div)). +rmt.write_pulses((1, 20, 2, 40), 0) # Send 0 for 100ns, 1 for 2000ns, 0 for 200ns, 1 for 4000ns + + +## esp32/modules/flashbdev.py + +from esp32 import Partition + +# MicroPython's partition table uses "vfs", TinyUF2 uses "ffat". +bdev = Partition.find(Partition.TYPE_DATA, label="vfs") +if not bdev: + bdev = Partition.find(Partition.TYPE_DATA, label="ffat") +bdev = bdev[0] if bdev else None diff --git a/tests/quality_tests/check_esp32/check_machine/check_Pin.py b/tests/quality_tests/check_esp32/check_machine/check_Pin.py new file mode 100644 index 000000000..ca17eb013 --- /dev/null +++ b/tests/quality_tests/check_esp32/check_machine/check_Pin.py @@ -0,0 +1,164 @@ +# board : ESP32 +# ref : https://docs.micropython.org/en/latest/esp32/quickref.html + +from machine import Pin + +p0 = Pin(0, Pin.OUT) # create output pin on GPIO0 +p0.on() # set pin to "on" (high) level +p0.off() # set pin to "off" (low) level +p0.value(1) # set pin to on/high + +p2 = Pin(2, Pin.IN) # create input pin on GPIO2 +print(p2.value()) # get value, 0 or 1 + +p4 = Pin(4, Pin.IN, Pin.PULL_UP) # enable internal pull-up resistor +p5 = Pin(5, Pin.OUT, value=1) # set pin high on creation + +# UART (serial bus) +# See machine.UART. + +from machine import UART + +uart1 = UART(3, baudrate=9600, tx=33, rx=32) +uart1.write("hello") # write 5 bytes +uart1.read(5) # read up to 5 bytes + +# PWM (pulse width modulation)¶ + +from machine import PWM, Pin + +pwm0 = PWM(Pin(0)) # create PWM object from a pin +freq = pwm0.freq() # get current frequency (default 5kHz) +pwm0.freq(1000) # set PWM frequency from 1Hz to 40MHz + +duty = pwm0.duty() # get current duty cycle, range 0-1023 (default 512, 50%) +pwm0.duty(256) # set duty cycle from 0 to 1023 as a ratio duty/1023, (now 25%) + +duty_u16 = pwm0.duty_u16() # get current duty cycle, range 0-65535 +pwm0.duty_u16( + 2**16 * 3 // 4 +) # set duty cycle from 0 to 65535 as a ratio duty_u16/65535, (now 75%) + +duty_ns = pwm0.duty_ns() # get current pulse width in ns +pwm0.duty_ns(250_000) # set pulse width in nanoseconds from 0 to 1_000_000_000/freq, (now 25%) + +pwm0.deinit() # turn off PWM on the pin + +pwm2 = PWM(Pin(2), freq=20000, duty=512) # create and configure in one go +print(pwm2) # view PWM settings + + +# ADC (analog to digital conversion)¶ + +from machine import ADC + +adc = ADC(Pin(32)) # create ADC object on ADC pin +adc.read() # read value, 0-4095 across voltage range 0.0v - 1.0v + +adc.atten(ADC.ATTN_11DB) # set 11dB input attenuation (voltage range roughly 0.0v - 3.6v) +adc.width(ADC.WIDTH_9BIT) # set 9 bit return values (returned range 0-511) +adc.read() # read value using the newly configured attenuation and width + + +# Software SPI bus + + +from machine import Pin, SoftSPI + +# construct a SoftSPI bus on the given pins +# polarity is the idle state of SCK +# phase=0 means sample on the first edge of SCK, phase=1 means the second +spi = SoftSPI(baudrate=100000, polarity=1, phase=0, sck=Pin(0), mosi=Pin(2), miso=Pin(4)) + +spi.init(baudrate=200000) # set the baudrate + +spi.read(10) # read 10 bytes on MISO +spi.read(10, 0xFF) # read 10 bytes while outputting 0xff on MOSI + +buf = bytearray(50) # create a buffer +spi.readinto(buf) # read into the given buffer (reads 50 bytes in this case) +spi.readinto(buf, 0xFF) # read into the given buffer and output 0xff on MOSI + +spi.write(b"12345") # write 5 bytes on MOSI + +buf = bytearray(4) # create a buffer +spi.write_readinto(b"1234", buf) # write to MOSI and read from MISO into the buffer +spi.write_readinto(buf, buf) # write buf to MOSI and read MISO back into buf + +# Hardware SPI +from machine import SPI, Pin + +hspi = SPI(1, 10000000) +hspi = SPI(1, 10000000, sck=Pin(14), mosi=Pin(13), miso=Pin(12)) +vspi = SPI( + 2, + baudrate=80000000, + polarity=0, + phase=0, + bits=8, + firstbit=0, + sck=Pin(18), + mosi=Pin(23), + miso=Pin(19), +) + + +# Software I2C + +from machine import Pin, SoftI2C + +sw_i2c = SoftI2C(scl=Pin(5), sda=Pin(4), freq=100000) + +sw_i2c.scan() # scan for devices + +sw_i2c.readfrom(0x3A, 4) # read 4 bytes from device with address 0x3a +sw_i2c.writeto(0x3A, "12") # write '12' to device with address 0x3a + + +# Hardware I2C bus + +from machine import I2C, Pin + +i2c = I2C(0) +i2c = I2C(1, scl=Pin(5), sda=Pin(4), freq=400000) + +# construct an I2C bus +i2c = I2C(scl=Pin(5), sda=Pin(4), freq=100000) + + +# I2S bus + +from machine import I2S, Pin + +i2s = I2S( + 0, + sck=Pin(13), + ws=Pin(14), + sd=Pin(34), + mode=I2S.TX, + bits=16, + format=I2S.STEREO, + rate=44100, + ibuf=40000, +) # create I2S object +i2s.write(buf) # write buffer of audio samples to I2S device + +i2s = I2S( + 1, + sck=Pin(33), + ws=Pin(25), + sd=Pin(32), + mode=I2S.RX, + bits=16, + format=I2S.MONO, + rate=22050, + ibuf=40000, +) # create I2S object +i2s.readinto(buf) # fill buffer with audio samples from I2S device + +# Capacitive touch + +from machine import Pin, TouchPad + +t = TouchPad(Pin(14)) +t.read() # Returns a smaller number when touched diff --git a/tests/quality_tests/check_esp32/check_machine/check_devices.py b/tests/quality_tests/check_esp32/check_machine/check_devices.py new file mode 100644 index 000000000..f57d05fae --- /dev/null +++ b/tests/quality_tests/check_esp32/check_machine/check_devices.py @@ -0,0 +1,37 @@ +# board : ESP32 +# ref : https://docs.micropython.org/en/latest/esp32/quickref.html + +import os + +# SD card +import machine + +# Slot 2 uses pins sck=18, cs=5, miso=19, mosi=23 +sd = machine.SDCard(slot=1) + +os.mount(sd, "/sd") # mount +os.listdir("/sd") # list directory contents +os.umount("/sd") # eject + + +# DS18S20 and DS18B20 devices: + +import time + +import ds18x20 + +ow = None +ds = ds18x20.DS18X20(ow) +roms = ds.scan() +ds.convert_temp() +time.sleep_ms(750) +for rom in roms: + print(ds.read_temp(rom)) + + +# Capacitive touch + +from machine import Pin, TouchPad + +t = TouchPad(Pin(14)) +t.read() # Returns a smaller number when touched diff --git a/tests/quality_tests/check_esp32/check_machine/check_sleep.py b/tests/quality_tests/check_esp32/check_machine/check_sleep.py new file mode 100644 index 000000000..b54506cc5 --- /dev/null +++ b/tests/quality_tests/check_esp32/check_machine/check_sleep.py @@ -0,0 +1,19 @@ +# board : ESP32 +# ref : https://docs.micropython.org/en/latest/esp32/quickref.html +# Deep-sleep mode +import machine +from typing_extensions import TYPE_CHECKING, assert_never, assert_type + +# check if the device woke from a deep sleep +if machine.reset_cause() == machine.DEEPSLEEP_RESET: + assert_type(machine.reset_cause(), int) + print("woke from a deep sleep") + +machine.lightsleep(10000) + + +# put the device to sleep for 10 seconds +def deepsleep(msec: int) -> None: + machine.deepsleep(msec) + assert_never(msec) + # mpyp issue https://github.com/python/mypy/issues/15467 diff --git a/tests/quality_tests/check_esp32/check_machine/check_time.py b/tests/quality_tests/check_esp32/check_machine/check_time.py new file mode 100644 index 000000000..737c3e102 --- /dev/null +++ b/tests/quality_tests/check_esp32/check_machine/check_time.py @@ -0,0 +1,28 @@ +# board : ESP32 +# ref : https://docs.micropython.org/en/latest/esp32/quickref.html +import utime as time + +import machine + +machine.freq() # get the current frequency of the CPU +machine.freq(240000000) # set the CPU frequency to 240 MHz + + +# Real time clock (RTC) + +from machine import RTC + +rtc = RTC() +rtc.datetime((2017, 8, 23, 1, 12, 48, 0, 0)) # set a specific date and time +rtc.datetime() # get date and time + + +# WDT (Watchdog timer) + +from machine import WDT + +# enable the WDT with a timeout of 5s (1s is the minimum) +wdt = WDT(timeout=5000) +wdt.feed() + + diff --git a/tests/quality_tests/check_esp32/check_machine/check_touchpad.py b/tests/quality_tests/check_esp32/check_machine/check_touchpad.py new file mode 100644 index 000000000..97873d51e --- /dev/null +++ b/tests/quality_tests/check_esp32/check_machine/check_touchpad.py @@ -0,0 +1,6 @@ +# Capacitive touch + +from machine import TouchPad, Pin + +t = TouchPad(Pin(14)) +t.read() # Returns a smaller number when touched diff --git a/tests/quality_tests/check_esp32/check_onewire.py b/tests/quality_tests/check_esp32/check_onewire.py new file mode 100644 index 000000000..950933268 --- /dev/null +++ b/tests/quality_tests/check_esp32/check_onewire.py @@ -0,0 +1,24 @@ +from typing_extensions import assert_type +# OneWire driver +from machine import Pin +import onewire + +ow = onewire.OneWire(Pin(12)) # create a OneWire bus on GPIO12 +ow.scan() # return a list of devices on the bus + +ow.reset() # reset the bus +ow.readbyte() # read a byte +ow.writebyte(0x12) # write a byte on the bus +ow.write(b"123") # write bytes on the bus +ow.select_rom(b"12345678") # select a specific device by its ROM code + +assert_type(ow, onewire.OneWire) + +# there was no onewire documatation before 1.19.1 +# assert_type(ow.write(b"123"), None) +# assert_type(ow.select_rom(b"12345678"), None) + +# assert_type(ow.scan(), list) +# assert_type(ow.reset(), None) +# assert_type(ow.readbyte(), int) +# assert_type(ow.writebyte(0x12), None) diff --git a/tests/quality_tests/check_esp32/check_webrepl.py b/tests/quality_tests/check_esp32/check_webrepl.py new file mode 100644 index 000000000..97865f2c4 --- /dev/null +++ b/tests/quality_tests/check_esp32/check_webrepl.py @@ -0,0 +1,12 @@ +# https://docs.micropython.org/en/latest/esp32/quickref.html#webrepl-web-browser-interactive-prompt +# +import webrepl_setup + +# and following on-screen instructions. After reboot, it will be available for connection. If you disabled automatic start-up on boot, you may run configured daemon on demand using: + +import webrepl + +webrepl.start() + +# or, start with a specific password +webrepl.start(password="mypass") diff --git a/tests/quality_tests/check_esp32/pyrightconfig.json b/tests/quality_tests/check_esp32/pyrightconfig.json new file mode 100644 index 000000000..967c0766e --- /dev/null +++ b/tests/quality_tests/check_esp32/pyrightconfig.json @@ -0,0 +1,22 @@ +{ + "include": [ + "." + ], + "typeshedPaths": [ + "./typings" + ], + "exclude": [ + ".*", + "__*", + "**/typings" + ], + "ignore": [ + "**/typings" + ], + // "pythonVersion": "3.8", + "pythonPlatform": "Linux", + "verboseOutput": false, + "typeCheckingMode": "basic", + "typeshedPath": "./typings", + "reportMissingModuleSource": "none" +} \ No newline at end of file diff --git a/tests/quality_tests/check_esp32/typecheck_lock.file b/tests/quality_tests/check_esp32/typecheck_lock.file new file mode 100644 index 000000000..e69de29bb diff --git a/tests/quality_tests/check_esp8266/check_dht.py b/tests/quality_tests/check_esp8266/check_dht.py new file mode 100644 index 000000000..b3aec1bbe --- /dev/null +++ b/tests/quality_tests/check_esp8266/check_dht.py @@ -0,0 +1,16 @@ +# https://docs.micropython.org/en/latest/esp32/quickref.html#dht-driver +# DHT driver +# The DHT driver is implemented in software and works on all pins: + +import dht +import machine + +d = dht.DHT11(machine.Pin(4)) +d.measure() +d.temperature() # eg. 23 (°C) +d.humidity() # eg. 41 (% RH) + +d = dht.DHT22(machine.Pin(4)) +d.measure() +d.temperature() # eg. 23.6 (°C) +d.humidity() # eg. 41.3 (% RH) diff --git a/tests/quality_tests/check_esp8266/check_esp.py b/tests/quality_tests/check_esp8266/check_esp.py new file mode 100644 index 000000000..a38115f16 --- /dev/null +++ b/tests/quality_tests/check_esp8266/check_esp.py @@ -0,0 +1,28 @@ +# ref: https://docs.micropython.org/en/latest/esp8266/quickref.html +# The esp module: +import esp +from machine import Pin + +esp.osdebug(None) # turn off vendor O/S debugging messages +esp.osdebug(0) # redirect vendor O/S debugging messages to UART(0) + + +sector_no = 1 # Placeholders +byte_offset = 0 +buffer = b"0000" + +# low level methods to interact with flash storage +esp.flash_size() +esp.flash_user_start() +esp.flash_erase(sector_no) +esp.flash_write(byte_offset, buffer) +esp.flash_read(byte_offset, len(buffer)) + +# Neopixel +# Note: ESP8266 only +# For low-level driving of a NeoPixel: +pin = Pin(18) +grb_buf = (1, 20, 2, 40) +is800khz = False +esp.neopixel_write(pin, grb_buf, is800khz) # stubs-ignore: version<=1.19.1 + diff --git a/tests/quality_tests/check_esp8266/check_machine.py b/tests/quality_tests/check_esp8266/check_machine.py new file mode 100644 index 000000000..4ab3bac55 --- /dev/null +++ b/tests/quality_tests/check_esp8266/check_machine.py @@ -0,0 +1,52 @@ +# ref: https://docs.micropython.org/en/latest/esp8266/quickref.html +# The machine module: + +import machine + +freq = machine.freq() # get the current frequency of the CPU +machine.freq(160000000) # set the CPU frequency to 160 MHz + + +# -------------------------------------------------------------------- +import dht +import machine + +d = dht.DHT11(machine.Pin(4)) +d.measure() +d.temperature() # eg. 23 (°C) +d.humidity() # eg. 41 (% RH) + +d = dht.DHT22(machine.Pin(4)) +d.measure() +d.temperature() # eg. 23.6 (°C) +d.humidity() # eg. 41.3 (% RH) + +# -------------------------------------------------------------------- +# I2C + +from machine import Pin, I2C + +# construct an I2C bus +i2c = I2C(scl=Pin(5), sda=Pin(4), freq=100000) + +i2c.readfrom(0x3A, 4) # read 4 bytes from peripheral device with address 0x3a +i2c.writeto(0x3A, "12") # write '12' to peripheral device with address 0x3a + +buf = bytearray(10) # create a buffer with 10 bytes +i2c.writeto(0x3A, buf) # write the given buffer to the peripheral + + +# -------------------------------------------------------------------- +from machine import WDT + +# enable the WDT +wdt = WDT() +wdt.feed() + +# -------------------------------------------------------------------- + +# -------------------------------------------------------------------- + +# -------------------------------------------------------------------- +# -------------------------------------------------------------------- +# -------------------------------------------------------------------- diff --git a/tests/quality_tests/check_esp8266/check_neopixel.py b/tests/quality_tests/check_esp8266/check_neopixel.py new file mode 100644 index 000000000..e4164445c --- /dev/null +++ b/tests/quality_tests/check_esp8266/check_neopixel.py @@ -0,0 +1,9 @@ +# Neopixel +from machine import Pin +from neopixel import NeoPixel + +pin = Pin(2, Pin.OUT) # set GPIO0 to output to drive NeoPixels +np = NeoPixel(pin, 8) # create NeoPixel driver on GPIO0 for 8 pixels +np[0] = (255, 255, 255) # stubs-ignore : version <= 1.19.1 +np.write() # +r, g, b = np[0] # stubs-ignore : version <= 1.19.1 diff --git a/tests/quality_tests/check_esp8266/check_network.py b/tests/quality_tests/check_esp8266/check_network.py new file mode 100644 index 000000000..88a97d267 --- /dev/null +++ b/tests/quality_tests/check_esp8266/check_network.py @@ -0,0 +1,33 @@ +# ref: https://docs.micropython.org/en/latest/esp8266/quickref.html + +# Networking +# The network module: + +import network + +wlan = network.WLAN(network.STA_IF) # create station interface +wlan.active(True) # activate the interface +wlan.scan() # scan for access points +wlan.isconnected() # check if the station is connected to an AP +wlan.connect("essid", "password") # connect to an AP +wlan.config("mac") # get the interface's MAC address +wlan.ifconfig() # get the interface's IP/netmask/gw/DNS addresses + +ap = network.WLAN(network.AP_IF) # create access-point interface +ap.active(True) # activate the interface +ap.config(essid="ESP-AP") # set the ESSID of the access point + +# A useful function for connecting to your local WiFi network is: + + +def do_connect(): + import network + + wlan = network.WLAN(network.STA_IF) + wlan.active(True) + if not wlan.isconnected(): + print("connecting to network...") + wlan.connect("essid", "password") + while not wlan.isconnected(): + pass + print("network config:", wlan.ifconfig()) diff --git a/tests/quality_tests/check_esp8266/pyrightconfig.json b/tests/quality_tests/check_esp8266/pyrightconfig.json new file mode 100644 index 000000000..addd551e7 --- /dev/null +++ b/tests/quality_tests/check_esp8266/pyrightconfig.json @@ -0,0 +1,23 @@ +{ + "include": [ + "." + ], + "typeshedPaths": [ + "./typings" + ], + "exclude": [ + ".*", + "__*", + "**/typings" + ], + "ignore": [ + "typings", + "**/typings" + ], + "pythonVersion": "3.8", + "pythonPlatform": "Linux", + "verboseOutput": false, + "typeCheckingMode": "basic", + "typeshedPath": "./typings", + "reportMissingModuleSource": "none" +} \ No newline at end of file diff --git a/tests/quality_tests/check_esp8266/typecheck_lock.file b/tests/quality_tests/check_esp8266/typecheck_lock.file new file mode 100644 index 000000000..e69de29bb diff --git a/tests/quality_tests/check_rp2-nano_connect/mod_lsm6dsox.py b/tests/quality_tests/check_rp2-nano_connect/mod_lsm6dsox.py new file mode 100644 index 000000000..425c0a3d7 --- /dev/null +++ b/tests/quality_tests/check_rp2-nano_connect/mod_lsm6dsox.py @@ -0,0 +1,14 @@ +# ref: micropython/drivers/lsm6dsox/lsm6dsox_basic.py +# LSM6DSOX Basic Example. +import time +from lsm6dsox import LSM6DSOX + +from machine import Pin, I2C + +lsm = LSM6DSOX(I2C(0, scl=Pin(13), sda=Pin(12))) + +while True: + print("Accelerometer: x:{:>8.3f} y:{:>8.3f} z:{:>8.3f}".format(*lsm.read_accel())) + print("Gyroscope: x:{:>8.3f} y:{:>8.3f} z:{:>8.3f}".format(*lsm.read_gyro())) + print("") + time.sleep_ms(100) diff --git a/tests/quality_tests/check_rp2-nano_connect/mod_lsm6dsox_mlc.py b/tests/quality_tests/check_rp2-nano_connect/mod_lsm6dsox_mlc.py new file mode 100644 index 000000000..fe6e583c3 --- /dev/null +++ b/tests/quality_tests/check_rp2-nano_connect/mod_lsm6dsox_mlc.py @@ -0,0 +1,49 @@ +# ref: micropython/drivers/lsm6dsox/lsm6dsox_mlc.py +# LSM6DSOX IMU MLC (Machine Learning Core) Example. +# Download the raw UCF file, copy to storage and reset. + +# NOTE: The pre-trained models (UCF files) for the examples can be found here: +# https://github.com/STMicroelectronics/STMems_Machine_Learning_Core/tree/master/application_examples/lsm6dsox + +import time +from lsm6dsox import LSM6DSOX +from machine import Pin, I2C + +INT_MODE = True # Run in interrupt mode. +INT_FLAG = False # Set True on interrupt. + + +def imu_int_handler(pin): + global INT_FLAG + INT_FLAG = True + + +if INT_MODE == True: + int_pin = Pin(24) + int_pin.irq(handler=imu_int_handler, trigger=Pin.IRQ_RISING) + +i2c = I2C(0, scl=Pin(13), sda=Pin(12)) + +# Vibration detection example +UCF_FILE = "lsm6dsox_vibration_monitoring.ucf" +UCF_LABELS = {0: "no vibration", 1: "low vibration", 2: "high vibration"} +# NOTE: Selected data rate and scale must match the MLC data rate and scale. +lsm = LSM6DSOX(i2c, gyro_odr=26, accel_odr=26, gyro_scale=2000, accel_scale=4, ucf=UCF_FILE) + +# Head gestures example +# UCF_FILE = "lsm6dsox_head_gestures.ucf" +# UCF_LABELS = {0:"Nod", 1:"Shake", 2:"Stationary", 3:"Swing", 4:"Walk"} +# NOTE: Selected data rate and scale must match the MLC data rate and scale. +# lsm = LSM6DSOX(i2c, gyro_odr=26, accel_odr=26, gyro_scale=250, accel_scale=2, ucf=UCF_FILE) + +print("MLC configured...") + +while True: + if INT_MODE: + if INT_FLAG: + INT_FLAG = False + print(UCF_LABELS[lsm.read_mlc_output()[0]]) + else: + buf = lsm.read_mlc_output() + if buf != None: + print(UCF_LABELS[buf[0]]) diff --git a/tests/quality_tests/check_rp2/check_machine/check_ADC.py b/tests/quality_tests/check_rp2/check_machine/check_ADC.py new file mode 100644 index 000000000..1a000cf09 --- /dev/null +++ b/tests/quality_tests/check_rp2/check_machine/check_ADC.py @@ -0,0 +1,5 @@ +# ADC +from machine import ADC, Pin + +adc = ADC(Pin(26)) # create ADC object on ADC pin +adc.read_u16() # read value, 0-65535 across voltage range 0.0v - 3.3v diff --git a/tests/quality_tests/check_rp2/check_machine/check_I2C.py b/tests/quality_tests/check_rp2/check_machine/check_I2C.py new file mode 100644 index 000000000..131d3e555 --- /dev/null +++ b/tests/quality_tests/check_rp2/check_machine/check_I2C.py @@ -0,0 +1,19 @@ +# Software I2C + +from machine import Pin, SoftI2C + +i2c = SoftI2C(scl=Pin(5), sda=Pin(4), freq=100_000) + +i2c.scan() # scan for devices + +i2c.readfrom(0x3A, 4) # read 4 bytes from device with address 0x3a +i2c.writeto(0x3A, "12") # write '12' to device with address 0x3a + +buf = bytearray(10) # create a buffer with 10 bytes +i2c.writeto(0x3A, buf) # write the given buffer to the peripheral + +# Hardware I2C +from machine import Pin, I2C + +i2c = I2C(0) # default assignment: scl=Pin(9), sda=Pin(8) +i2c = I2C(1, scl=Pin(3), sda=Pin(2), freq=400_000) \ No newline at end of file diff --git a/tests/quality_tests/check_rp2/check_machine/check_I2S.py b/tests/quality_tests/check_rp2/check_machine/check_I2S.py new file mode 100644 index 000000000..a4abfca7e --- /dev/null +++ b/tests/quality_tests/check_rp2/check_machine/check_I2S.py @@ -0,0 +1,11 @@ +# I2S + +from machine import I2S, Pin +buf = bytearray(10) # create a buffer with 10 bytes + +i2s = I2S(0, sck=Pin(16), ws=Pin(17), sd=Pin(18), mode=I2S.TX, bits=16, format=I2S.STEREO, rate=44100, ibuf=40000) # create I2S object +i2s.write(buf) # write buffer of audio samples to I2S device + +i2s = I2S(1, sck=Pin(0), ws=Pin(1), sd=Pin(2), mode=I2S.RX, bits=16, format=I2S.MONO, rate=22050, ibuf=40000) # create I2S object +i2s.readinto(buf) # fill buffer with audio samples from I2S device + diff --git a/tests/quality_tests/check_rp2/check_machine/check_PWM.py b/tests/quality_tests/check_rp2/check_machine/check_PWM.py new file mode 100644 index 000000000..8192b5c37 --- /dev/null +++ b/tests/quality_tests/check_rp2/check_machine/check_PWM.py @@ -0,0 +1,12 @@ +# PWM + +from machine import Pin, PWM + +pwm0 = PWM(Pin(0)) # create PWM object from a pin +pwm0.freq() # get current frequency +pwm0.freq(1000) # set frequency +pwm0.duty_u16() # get current duty cycle, range 0-65535 +pwm0.duty_u16(200) # set duty cycle, range 0-65535 +pwm0.deinit() # turn off PWM on the pin + + diff --git a/tests/quality_tests/check_rp2/check_machine/check_Pin.py b/tests/quality_tests/check_rp2/check_machine/check_Pin.py new file mode 100644 index 000000000..2960d975f --- /dev/null +++ b/tests/quality_tests/check_rp2/check_machine/check_Pin.py @@ -0,0 +1,29 @@ +# the hello world of IoT +# This short script serves as a sanity check. +# It makes the onboard LED blink + +# ref: https://docs.micropython.org/en/latest/rp2/quickref.html + +import utime as time +from machine import Pin + + +# Blink + +# led = Pin() +led = Pin(1, value=2) +led = Pin(13, Pin.OUT) + + +for i in range(2): # no infinite loop + led.on() + time.sleep_ms(250) + led.off() + time.sleep_ms(250) + + + + + + + diff --git a/tests/quality_tests/check_rp2/check_machine/check_Timer.py b/tests/quality_tests/check_rp2/check_machine/check_Timer.py new file mode 100644 index 000000000..5f409fdf4 --- /dev/null +++ b/tests/quality_tests/check_rp2/check_machine/check_Timer.py @@ -0,0 +1,13 @@ +# Timers + +from machine import Timer + +tim = Timer(period=5000, mode=Timer.ONE_SHOT, callback=lambda t: print(1)) +tim.init(period=2000, mode=Timer.PERIODIC, callback=lambda t: print(2)) + + +from machine import Timer + +tim = Timer(period=5000, mode=Timer.ONE_SHOT, callback=lambda t: print(1)) +tim.init(period=2000, mode=Timer.PERIODIC, callback=lambda t: print(2)) + diff --git a/tests/quality_tests/check_rp2/check_machine/check_UART.py b/tests/quality_tests/check_rp2/check_machine/check_UART.py new file mode 100644 index 000000000..16403fdfc --- /dev/null +++ b/tests/quality_tests/check_rp2/check_machine/check_UART.py @@ -0,0 +1,6 @@ +# UART +from machine import UART, Pin + +uart1 = UART(1, baudrate=9600, tx=Pin(4), rx=Pin(5)) +uart1.write("hello") # write 5 bytes +uart1.read(5) # read up to 5 bytes diff --git a/tests/quality_tests/check_rp2/check_machine/check_ds18x20.py b/tests/quality_tests/check_rp2/check_machine/check_ds18x20.py new file mode 100644 index 000000000..6e6a63523 --- /dev/null +++ b/tests/quality_tests/check_rp2/check_machine/check_ds18x20.py @@ -0,0 +1,11 @@ +# DS18S20 and DS18B20 devices: +import time + +import ds18x20 + +ds = ds18x20.DS18X20(ow) +roms = ds.scan() +ds.convert_temp() +time.sleep_ms(750) +for rom in roms: + print(ds.read_temp(rom)) diff --git a/tests/quality_tests/check_rp2/check_neopixel.py b/tests/quality_tests/check_rp2/check_neopixel.py new file mode 100644 index 000000000..77a6fe594 --- /dev/null +++ b/tests/quality_tests/check_rp2/check_neopixel.py @@ -0,0 +1,12 @@ +# NeoPixel + +from machine import Pin +from neopixel import NeoPixel + +pin = Pin(0, Pin.OUT) # set GPIO0 to output to drive NeoPixels +np = NeoPixel(pin, 8) # create NeoPixel driver on GPIO0 for 8 pixels + +# below onlt correct for version 1.21.0 or later +np[0] = (255, 255, 255) # stubs-ignore: version<1.21.0 +np.write() # write data to all pixels +r, g, b = np[0] # stubs-ignore: version<1.21.0 diff --git a/tests/quality_tests/check_rp2/check_onewire.py b/tests/quality_tests/check_rp2/check_onewire.py new file mode 100644 index 000000000..950933268 --- /dev/null +++ b/tests/quality_tests/check_rp2/check_onewire.py @@ -0,0 +1,24 @@ +from typing_extensions import assert_type +# OneWire driver +from machine import Pin +import onewire + +ow = onewire.OneWire(Pin(12)) # create a OneWire bus on GPIO12 +ow.scan() # return a list of devices on the bus + +ow.reset() # reset the bus +ow.readbyte() # read a byte +ow.writebyte(0x12) # write a byte on the bus +ow.write(b"123") # write bytes on the bus +ow.select_rom(b"12345678") # select a specific device by its ROM code + +assert_type(ow, onewire.OneWire) + +# there was no onewire documatation before 1.19.1 +# assert_type(ow.write(b"123"), None) +# assert_type(ow.select_rom(b"12345678"), None) + +# assert_type(ow.scan(), list) +# assert_type(ow.reset(), None) +# assert_type(ow.readbyte(), int) +# assert_type(ow.writebyte(0x12), None) diff --git a/tests/quality_tests/check_rp2/check_rp2/check_asm_pio.py b/tests/quality_tests/check_rp2/check_rp2/check_asm_pio.py new file mode 100644 index 000000000..66b307333 --- /dev/null +++ b/tests/quality_tests/check_rp2/check_rp2/check_asm_pio.py @@ -0,0 +1,41 @@ +# type: ignore +# TODO: rp2.PIO - The functions defined in the asm_pio decorator are not recognized by pyright. +# ignore for now : other issues to solve first +""" +Sample from micropython documentaton + +# programmable IO +# ref : https://docs.micropython.org/en/latest/rp2/quickref.html#programmable-io-pio +""" + +import rp2 +from machine import Pin + + +@rp2.asm_pio(set_init=rp2.PIO.OUT_LOW) +def blink_1hz(): + # Cycles: 1 + 7 + 32 * (30 + 1) = 1000 + set(pins, 1) + set(x, 31)[6] + label("delay_high") + nop()[29] + jmp(x_dec, "delay_high") + + # Cycles: 1 + 7 + 32 * (30 + 1) = 1000 + set(pins, 0) + set(x, 31)[6] + label("delay_low") + nop()[29] + jmp(x_dec, "delay_low") + + +# Create the StateMachine with the blink_1hz program, outputting on Pin(25). +sm = rp2.StateMachine(0, blink_1hz, freq=2000, set_base=Pin(6)) + +# Set the IRQ handler to print the millisecond timestamp. +sm.irq(lambda p: print(time.ticks_ms())) + +# Start the StateMachine. +sm.active(1) + +# sm.active(0) diff --git a/tests/quality_tests/check_rp2/check_rp2/check_country.py b/tests/quality_tests/check_rp2/check_rp2/check_country.py new file mode 100644 index 000000000..67cfd69e5 --- /dev/null +++ b/tests/quality_tests/check_rp2/check_rp2/check_country.py @@ -0,0 +1,7 @@ +import rp2 + +rp2.country('NL') # stubs-ignore: board not in ["pico_w"] + + + + diff --git a/tests/quality_tests/check_rp2/check_time.py b/tests/quality_tests/check_rp2/check_time.py new file mode 100644 index 000000000..2e7ccaaa9 --- /dev/null +++ b/tests/quality_tests/check_rp2/check_time.py @@ -0,0 +1,9 @@ +# ref : https://docs.micropython.org/en/latest/rp2/quickref.html + +import utime as time + +time.sleep(1) # sleep for 1 second +time.sleep_ms(500) # sleep for 500 milliseconds +time.sleep_us(10) # sleep for 10 microseconds +start = time.ticks_ms() # get millisecond counter +delta = time.ticks_diff(time.ticks_ms(), start) # compute time difference diff --git a/tests/quality_tests/check_rp2/pio_exec.py b/tests/quality_tests/check_rp2/pio_exec.py new file mode 100644 index 000000000..3b7686192 --- /dev/null +++ b/tests/quality_tests/check_rp2/pio_exec.py @@ -0,0 +1,29 @@ +# Example using PIO to turn on an LED via an explicit exec. +# +# Demonstrates: +# - using set_init and set_base +# - using StateMachine.exec + +import time + +import rp2 +from machine import Pin + + +# Define an empty program that uses a single set pin. +@rp2.asm_pio(set_init=rp2.PIO.OUT_LOW) # stubs-ignore: version<1.20.0 +def prog(): + pass + + +# Construct the StateMachine, binding Pin(25) to the set pin. +sm = rp2.StateMachine(0, prog, set_base=Pin(6)) # stubs-ignore: version<=1.20.0 + +# Turn on the set pin via an exec instruction. +sm.exec("set(pins, 1)") + +# Sleep for 500ms. +time.sleep(0.5) + +# Turn off the set pin via an exec instruction. +sm.exec("set(pins, 0)") diff --git a/tests/quality_tests/check_rp2/pwm_fade.py b/tests/quality_tests/check_rp2/pwm_fade.py new file mode 100644 index 000000000..834139af1 --- /dev/null +++ b/tests/quality_tests/check_rp2/pwm_fade.py @@ -0,0 +1,25 @@ +# Example using PWM to fade an LED. + +import time +from machine import Pin, PWM + + +# Construct PWM object, with LED on Pin(25). +pwm = PWM(Pin(6)) + +# Set the PWM frequency. +pwm.freq(1000) + +# Fade the LED in and out a few times. +duty = 0 +direction = 1 +for _ in range(8 * 256): + duty += direction + if duty > 255: + duty = 255 + direction = -1 + elif duty < 0: + duty = 0 + direction = 1 + pwm.duty_u16(duty * duty) + time.sleep(0.001) diff --git a/tests/quality_tests/check_rp2/pyrightconfig.json b/tests/quality_tests/check_rp2/pyrightconfig.json new file mode 100644 index 000000000..54df19d14 --- /dev/null +++ b/tests/quality_tests/check_rp2/pyrightconfig.json @@ -0,0 +1,34 @@ +{ + "include": [ + "." + ], + "exclude": [ + ".*", + "__*", + "typings" + ], + // section 1 - platform + "pythonVersion": "3.8", + "pythonPlatform": "Linux", // or "All" + "verboseOutput": false, + // section 2 - required settings + "typeCheckingMode": "basic", // ["off", "basic", "strict"]: Specifies the default rule set to use + "typeshedPath": "./typings", + // section 3 - set code quality checks + "reportMissingImports": "error", + "reportGeneralTypeIssues": "error", // interesting + "reportUndefinedVariable": "warning", // "_WHO_AM_I_REG" is not defined - Not a showstopper + // section 4 - informational + "reportMissingTypeStubs": "information", + "reportOptionalCall": "information", // Object of type "None" cannot be called + "reportInvalidStringEscapeSequence": "information", + "reportUnboundVariable": "information", + "ReportSelfClsParameterName": "information", + "reportOptionalSubscript": "information", + // section 5 - reduce noise + "reportOptionalMemberAccess": "none", // "read" is not a known member of "None" - occurs often in frozen code + "reportWildcardImportFromLibrary": "none", + "reportUnknownArgumentType": "none", + "reportSelfClsParameterName": "none", + "reportMissingModuleSource": "none", +} \ No newline at end of file diff --git a/tests/quality_tests/check_rp2/typecheck_lock.file b/tests/quality_tests/check_rp2/typecheck_lock.file new file mode 100644 index 000000000..e69de29bb diff --git a/tests/quality_tests/check_samd/check_dht.py b/tests/quality_tests/check_samd/check_dht.py new file mode 100644 index 000000000..1a4abd30f --- /dev/null +++ b/tests/quality_tests/check_samd/check_dht.py @@ -0,0 +1,12 @@ +import dht +import machine + +d = dht.DHT11(machine.Pin('D4')) +d.measure() +d.temperature() # eg. 23 (°C) +d.humidity() # eg. 41 (% RH) + +d = dht.DHT22(machine.Pin('D4')) +d.measure() +d.temperature() # eg. 23.6 (°C) +d.humidity() # eg. 41.3 (% RH) \ No newline at end of file diff --git a/tests/quality_tests/check_samd/pyrightconfig.json b/tests/quality_tests/check_samd/pyrightconfig.json new file mode 100644 index 000000000..e58196fae --- /dev/null +++ b/tests/quality_tests/check_samd/pyrightconfig.json @@ -0,0 +1,22 @@ +{ + "include": [ + "." + ], + "typeshedPaths": [ + "./typings" + ], + "exclude": [ + ".*", + "__*", + "**/typings" + ], + "ignore": [ + "**/typings" + ], + "pythonVersion": "3.8", + "pythonPlatform": "Linux", + "verboseOutput": false, + "typeCheckingMode": "basic", + "typeshedPath": "./typings", + "reportMissingModuleSource": "none" +} \ No newline at end of file diff --git a/tests/quality_tests/check_samd/typecheck_lock.file b/tests/quality_tests/check_samd/typecheck_lock.file new file mode 100644 index 000000000..e69de29bb diff --git a/tests/quality_tests/check_stm32/check_machine.py b/tests/quality_tests/check_stm32/check_machine.py new file mode 100644 index 000000000..df3108e00 --- /dev/null +++ b/tests/quality_tests/check_stm32/check_machine.py @@ -0,0 +1,31 @@ +buf = b"00000000" + +# I2C bus + +from machine import I2C + +i2c = I2C("X", freq=400000) # create hardware I2c object + + +i2c = I2C(scl="X1", sda="X2", freq=100000) # create software I2C object + +i2c.scan() # returns list of peripheral addresses +i2c.writeto(0x42, "hello") # write 5 bytes to peripheral with address 0x42 +i2c.readfrom(0x42, 5) # read 5 bytes from peripheral + +i2c.readfrom_mem(0x42, 0x10, 2) # read 2 bytes from peripheral 0x42, peripheral memory 0x10 +i2c.writeto_mem(0x42, 0x10, "xy") # write 2 bytes to peripheral 0x42, peripheral memory 0x10 +# Note: for legacy I2C support see pyb.I2C. + +# I2S bus +# See machine.I2S. + +from machine import I2S, Pin + +i2s = I2S( + 2, sck=Pin("Y6"), ws=Pin("Y5"), sd=Pin("Y8"), mode=I2S.TX, bits=16, format=I2S.STEREO, rate=44100, ibuf=40000 +) # create I2S object +i2s.write(buf) # write buffer of audio samples to I2S device + +i2s = I2S(1, sck=Pin("X5"), ws=Pin("X6"), sd=Pin("Y4"), mode=I2S.RX, bits=16, format=I2S.MONO, rate=22050, ibuf=40000) # create I2S object +i2s.readinto(buf) # fill buffer with audio samples from I2S device diff --git a/tests/quality_tests/check_stm32/check_pyb.py b/tests/quality_tests/check_stm32/check_pyb.py new file mode 100644 index 000000000..897bc0cb4 --- /dev/null +++ b/tests/quality_tests/check_stm32/check_pyb.py @@ -0,0 +1,145 @@ +# https://docs.micropython.org/en/latest/pyboard/quickref.html + +import time +import pyb +from pyb import LED +from pyb import Switch +from pyb import Pin +from pyb import Servo +from pyb import ExtInt +from pyb import RTC +from pyb import Timer +from pyb import ADC +from pyb import DAC +from pyb import UART +from pyb import SPI +from pyb import CAN +from pyb import Accel + +# samples need a buffer to store the data +buf = b"00000000" + + +pyb.repl_uart(pyb.UART(3, 9600)) # duplicate REPL on UART(1) +pyb.wfi() # pause CPU, waiting for interrupt +pyb.freq() # get CPU and bus frequencies +pyb.freq(60000000) # set CPU freq to 60MHz + +if False: + pyb.stop() # stop CPU, waiting for external interrupt + + +# Internal LEDs +# See pyb.LED. + +led = LED(1) # 1=red, 2=green, 3=yellow, 4=blue +led.toggle() +led.on() +led.off() + +# LEDs 3 and 4 support PWM intensity (0-255) +LED(4).intensity() # get intensity +LED(4).intensity(128) # set intensity to half + +# Internal switch +# See pyb.Switch. + + +sw = Switch() +sw.value() # returns True or False +sw.callback(lambda: pyb.LED(1).toggle()) + +# Pins and GPIO +# See pyb.Pin. + + +p_out = Pin("X1", Pin.OUT_PP) +p_out.high() +p_out.low() + +p_in = Pin("X2", Pin.IN, Pin.PULL_UP) +p_in.value() # get value, 0 or 1 + + +# Servo control +# See pyb.Servo. + + +s1 = Servo(1) # servo on position 1 (X1, VIN, GND) +s1.angle(45) # move to 45 degrees +s1.angle(-60, 1500) # move to -60 degrees in 1500ms +s1.speed(50) # for continuous rotation servos + + +# External interrupts¶ +# See pyb.ExtInt. + + +callback = lambda e: print("intr") +ext = ExtInt(Pin("Y1"), ExtInt.IRQ_RISING, Pin.PULL_NONE, callback) + + +# RTC (real time clock) +# See pyb.RTC + + +rtc = RTC() +rtc.datetime((2017, 8, 23, 1, 12, 48, 0, 0)) # set a specific date and time +rtc.datetime() # get date and time + + +# PWM (pulse width modulation)¶ +# See pyb.Pin and pyb.Timer. + + +p = Pin("X1") # X1 has TIM2, CH1 +tim = Timer(2, 1000) +ch = tim.channel(1, Timer.PWM, pin=p) +ch.pulse_width_percent(50) + +# ADC (analog to digital conversion)¶ +# See pyb.Pin and pyb.ADC. + + +adc = ADC(Pin("X19")) +adc.read() # read value, 0-4095 + +# DAC (digital to analog conversion)¶ +# See pyb.Pin and pyb.DAC. + + +dac = DAC(Pin("X5")) +dac.write(120) # output between 0 and 255 + +# UART (serial bus) +# See pyb.UART. + + +uart = UART(3, 9600) +uart.write("hello") +uart.read(5) # read up to 5 bytes + +# SPI bus + + +spi = SPI(1, SPI.CONTROLLER, baudrate=200000, polarity=1, phase=0) +spi.send("hello") +spi.recv(5) # receive 5 bytes on the bus +spi.send_recv("hello") # send and receive 5 bytes + + +# CAN bus (controller area network)¶ +# See pyb.CAN. + + +can = CAN(1, CAN.LOOPBACK) +can.setfilter(0, CAN.LIST16, 0, (123, 124, 125, 126)) # stubs-ignore : version<=1.18.0 +can.send("message!", 123) # send a message with id 123 +can.recv(0) # receive message on FIFO 0 + +# Internal accelerometer¶ +# See pyb.Accel. + + +accel = Accel() +print(accel.x(), accel.y(), accel.z(), accel.tilt()) diff --git a/tests/quality_tests/check_stm32/hwconfig_pyboard.py b/tests/quality_tests/check_stm32/hwconfig_pyboard.py new file mode 100644 index 000000000..3ffca4c57 --- /dev/null +++ b/tests/quality_tests/check_stm32/hwconfig_pyboard.py @@ -0,0 +1,22 @@ +from machine import Pin, Signal + +# Red LED on pin LED_RED also kown as A13 +LED = Signal("LED_RED", Pin.OUT) + +# Green LED on pin LED_GREEN also known as A14 +LED2 = Signal("LED_GREEN", Pin.OUT) + +# Yellow LED on pin LED_YELLOW also known as A15 +LED3 = Signal("LED_YELLOW", Pin.OUT) + +# Blue LED on pin LED_BLUE also known as B4 +LED4 = Signal("LED_BLUE", Pin.OUT) + +LED.on() +LED2.on() +LED3.on() +LED4.on() + +LED2.off() +LED3.value() +LED3.value(1) diff --git a/tests/quality_tests/check_stm32/pyrightconfig.json b/tests/quality_tests/check_stm32/pyrightconfig.json new file mode 100644 index 000000000..e58196fae --- /dev/null +++ b/tests/quality_tests/check_stm32/pyrightconfig.json @@ -0,0 +1,22 @@ +{ + "include": [ + "." + ], + "typeshedPaths": [ + "./typings" + ], + "exclude": [ + ".*", + "__*", + "**/typings" + ], + "ignore": [ + "**/typings" + ], + "pythonVersion": "3.8", + "pythonPlatform": "Linux", + "verboseOutput": false, + "typeCheckingMode": "basic", + "typeshedPath": "./typings", + "reportMissingModuleSource": "none" +} \ No newline at end of file diff --git a/tests/quality_tests/check_stm32/typecheck_lock.file b/tests/quality_tests/check_stm32/typecheck_lock.file new file mode 100644 index 000000000..e69de29bb diff --git a/tests/quality_tests/check_uasynio/typecheck_lock.file b/tests/quality_tests/check_uasynio/typecheck_lock.file new file mode 100644 index 000000000..e69de29bb diff --git a/tests/quality_tests/check_unix/check_examples/ffi_example.py b/tests/quality_tests/check_unix/check_examples/ffi_example.py new file mode 100644 index 000000000..1ba8e7cf1 --- /dev/null +++ b/tests/quality_tests/check_unix/check_examples/ffi_example.py @@ -0,0 +1,41 @@ +import ffi # stub-ignore :port!='unix' +import uctypes + +libc = ffi.open("libc.so.6") +print("libc:", libc) +print() + +# Declare few functions +perror = libc.func("v", "perror", "s") +time = libc.func("i", "time", "p") +open = libc.func("i", "open", "si") +qsort = libc.func("v", "qsort", "piiC") +# And one variable +errno = libc.var("i", "errno") + +print("time:", time) +print("UNIX time is:", time(None)) +print() + +perror("perror before error") +open("somethingnonexistent__", 0) +print("errno object:", errno) +print("errno value:", errno.get()) +perror("perror after error") +print() + + +def cmp(pa, pb): + a = uctypes.bytearray_at(pa, 1) + b = uctypes.bytearray_at(pb, 1) + print("cmp:", a, b) + return a[0] - b[0] + + +cmp_cb = ffi.callback("i", cmp, "PP") +print("callback:", cmp_cb) + +s = bytearray(b"foobar") +print("org string:", s) +qsort(s, len(s), 1, cmp_cb) +print("qsort'ed string:", s) diff --git a/tests/quality_tests/check_unix/check_examples/machine_bios.py b/tests/quality_tests/check_unix/check_examples/machine_bios.py new file mode 100644 index 000000000..40aae4cce --- /dev/null +++ b/tests/quality_tests/check_unix/check_examples/machine_bios.py @@ -0,0 +1,9 @@ +# This example shows how to access Video BIOS memory area via machine.mem +# It requires root privilege and x86 legacy harfware (which has mentioned +# Video BIOS at all). +# It is expected to print 0xaa55, which is a signature at the start of +# Video BIOS. + +import machine + +print(hex(machine.mem16[0xC0000])) diff --git a/tests/quality_tests/check_unix/pyrightconfig.json b/tests/quality_tests/check_unix/pyrightconfig.json new file mode 100644 index 000000000..54df19d14 --- /dev/null +++ b/tests/quality_tests/check_unix/pyrightconfig.json @@ -0,0 +1,34 @@ +{ + "include": [ + "." + ], + "exclude": [ + ".*", + "__*", + "typings" + ], + // section 1 - platform + "pythonVersion": "3.8", + "pythonPlatform": "Linux", // or "All" + "verboseOutput": false, + // section 2 - required settings + "typeCheckingMode": "basic", // ["off", "basic", "strict"]: Specifies the default rule set to use + "typeshedPath": "./typings", + // section 3 - set code quality checks + "reportMissingImports": "error", + "reportGeneralTypeIssues": "error", // interesting + "reportUndefinedVariable": "warning", // "_WHO_AM_I_REG" is not defined - Not a showstopper + // section 4 - informational + "reportMissingTypeStubs": "information", + "reportOptionalCall": "information", // Object of type "None" cannot be called + "reportInvalidStringEscapeSequence": "information", + "reportUnboundVariable": "information", + "ReportSelfClsParameterName": "information", + "reportOptionalSubscript": "information", + // section 5 - reduce noise + "reportOptionalMemberAccess": "none", // "read" is not a known member of "None" - occurs often in frozen code + "reportWildcardImportFromLibrary": "none", + "reportUnknownArgumentType": "none", + "reportSelfClsParameterName": "none", + "reportMissingModuleSource": "none", +} \ No newline at end of file diff --git a/tests/quality_tests/conftest.py b/tests/quality_tests/conftest.py new file mode 100644 index 000000000..0af5e23a1 --- /dev/null +++ b/tests/quality_tests/conftest.py @@ -0,0 +1,240 @@ +"""Pytest configuration file for snippets tests. + +- snip_path + returns the path to the feature folder (feat_xxxx) or check folder (check_xxxx) + +- type_stub_cache_path + Is used to install the type stubs for the given portboard and version and cache it for 24 hours to speed up tests + Returns the path to the cache folder + +- install_stubs + is the function that does the actual pip install to a folder + +- copy_type_stubs + copies the type stubs from the cache to the feature folder + +- pytest_runtest_makereport + is used to add the caplog to the test report to make it avaialble to VSCode test explorer + +""" + +import json +import shutil +import subprocess +import time +from pathlib import Path + +import fasteners +import pytest +from loguru import logger as log + +SNIPPETS_PREFIX = "tests/quality_tests/" +MAX_CACHE_AGE = 24 * 60 * 60 # 24 hours + + +@pytest.hookimpl(tryfirst=True, hookwrapper=True) +def pytest_runtest_makereport(item, call): + """ + pytest_runtest_makereport hook implementation. + + Executes all other hooks to obtain the report object. Looks at actual failing test calls, not setup/teardown. Adds the caplog errors and warnings to the report. + + Args: + item: The pytest Item object. + call: The pytest CallInfo object. + + Returns: + The pytest Report object. + + """ + outcome = yield + report = outcome.get_result() + + # we only look at actual failing test calls, not setup/teardown + if report.when == "call" and report.failed: + # add the caplog errors and warnings to the report + if not "caplog" in item.funcargs: + return + caplog = item.funcargs["caplog"] + report_txt = ( + "\n" + + "\n".join([r.message for r in caplog.records]) + + "\n\n" + + str(report.longreprtext) + ) + report.longrepr = report_txt + + return report + + +@pytest.fixture(scope="session") +def type_stub_cache_path( + portboard: str, + version: str, + stub_source: str, + pytestconfig: pytest.Config, + request: pytest.FixtureRequest, +) -> Path: + """ + Installs a copy of the type stubs for the given portboard and version. Returns the path to the cache folder. + + Args: + portboard: The portboard. + version: The version. + stub_source: The stub source. + pytestconfig: The pytest Config object. + request: The pytest FixtureRequest object. + + Returns: + Path: The path to the cache folder. + """ + + log.trace(f"setup install type_stubs to cache: {stub_source}, {version}, {portboard}") + flatversion = version.replace(".", "_") + cache_key = f"stubber/{stub_source}/{version}/{portboard}" + # cache_path = pytestconfig.rootpath / "snippets" / "typings_cache" + tsc_path = Path( + request.config.cache.makedir(f"typings_{flatversion}_{portboard}_stub_{stub_source}") + ) + # prevent simultaneous updates to the cache + cache_lock = fasteners.InterProcessLock(tsc_path.parent / f"{tsc_path.name}.lock") + # check if stubs are already installed to the cache + with cache_lock: + if (tsc_path / "micropython.pyi").exists(): + # check if stubs are in the cache + timestamp = request.config.cache.get(cache_key, None) + # if timestamp is not older than 24 hours, use cache + + if timestamp and timestamp > (time.time() - MAX_CACHE_AGE): + log.trace(f"Using cached type stubs for {portboard} {version}") + return tsc_path + + ok = install_stubs(portboard, version, stub_source, pytestconfig, flatversion, tsc_path) + if not ok: + pytest.skip(f"Could not install stubs for {portboard} {version}") + # add the timestamp to the cache + request.config.cache.set(cache_key, time.time()) + + return tsc_path + + +def install_stubs( + portboard, version, stub_source, pytestconfig, flatversion, tsc_path: Path +) -> bool: + """ + Cleans up prior install to avoid stale files. + Uses pip to install type stubs for the given portboard and version. + + Args: + portboard: The portboard. + version: The version. + stub_source: The stub source. + pytestconfig: The pytest Config object. + flatversion: The flat version. + tsc_path: The path to the cache folder. + + Returns: + bool: True if the installation was successful, False otherwise. + """ + + # clean up prior install to avoid stale files + if tsc_path.exists(): + shutil.rmtree(tsc_path, ignore_errors=True) + # use pip to install type stubs + # Install type stubs for portboard and version + if stub_source == "pypi": + # Add version + cmd = f"pip install micropython-{portboard}-stubs=={version.lower().lstrip('v')}.* --target {tsc_path} --no-user" + else: + foldername = f"micropython-{flatversion}-{portboard}-stubs" + # stubsource = pytestconfig.inipath.parent / f"repos/micropython-stubs/publish/{foldername}" + stubsource = pytestconfig.inipath.parent / f"publish/{foldername}" + if not stubsource.exists(): + pytest.skip(f"Could not find stubs for {portboard} {version} at {stubsource}") + cmd = f"pip install {stubsource} --target {tsc_path} --no-user" + + try: + subprocess.run(cmd, shell=True, check=True, capture_output=True, text=True) + except subprocess.CalledProcessError as e: + # skip test if source connot be found + print(f"{e.stderr}") + pytest.skip(f"{e.stderr}") + return False + return True + + +@pytest.fixture(scope="function") +def snip_path(feature: str, pytestconfig) -> Path: + """ + Get the path to the feat_ or check_ folder. + + Args: + feature: The feature. + pytestconfig: The pytest Config object. + + Returns: + Path: The path to the feature folder. + """ + my_path = Path(__file__).parent.absolute() + # snip_path = pytestconfig.inipath.parent / "tests/quality_tests" / f"feat_{feature}" + snip_path = my_path / f"feat_{feature}" + if not snip_path.exists(): + snip_path = my_path / f"check_{feature}" + return snip_path + + +@pytest.fixture(scope="function") +def copy_type_stubs( + portboard: str, version: str, feature: str, type_stub_cache_path: Path, snip_path: Path +): + """ + Copies installed/cached type stubs from the cache to the feature folder. + + Args: + portboard: The portboard. + version: The version. + feature: The feature. + type_stub_cache_path: The path to the cache folder. + snip_path: The path to the feature folder. + """ + cache_lock = fasteners.InterProcessLock( + type_stub_cache_path.parent / f"{type_stub_cache_path.name}.lock" + ) + typecheck_lock = fasteners.InterProcessLock(snip_path / "typecheck_lock.file") + with cache_lock: + with typecheck_lock: + log.trace(f"- copy_type_stubs: {version}, {portboard} to {feature}") + print(f"\n - copy_type_stubs : {version}, {portboard} to {feature}") + if not snip_path or not snip_path.exists(): + # skip if no feature folder + pytest.skip(f"no feature folder for {feature}") + typings_path = snip_path / "typings" + if typings_path.exists(): + shutil.rmtree(typings_path, ignore_errors=True) + shutil.copytree(type_stub_cache_path, typings_path) + + +def pytest_terminal_summary(terminalreporter, exitstatus, config: pytest.Config): + stats = {} + for status in ["passed", "failed", "xfailed", "skipped"]: + stats[status] = snipcount(terminalreporter, status) + # simple straigth forward scoring + stats["snippet_score"] = int(stats["passed"] - stats["failed"]) + if stats["snippet_score"] >= 0: + # Write stats to file + (config.rootpath / "results").mkdir(exist_ok=True) + with open(config.rootpath / "results" / "snippet_score.json", "w") as f: + json.dump(stats, f, indent=4) + + print("----------------- Final summary -----------------") + print(json.dumps(stats, indent=4)) + print("-------------------------------------------------") + + +def snipcount(terminalreporter, status: str): + # Count the number of test snippets that have a given status + if not terminalreporter.stats.get(status, []): + return 0 + return len( + [rep for rep in terminalreporter.stats[status] if rep.nodeid.startswith(SNIPPETS_PREFIX)] + ) diff --git a/tests/quality_tests/coverage/snippet_score.json b/tests/quality_tests/coverage/snippet_score.json new file mode 100644 index 000000000..a2c235b89 --- /dev/null +++ b/tests/quality_tests/coverage/snippet_score.json @@ -0,0 +1,7 @@ +{ + "passed": 0, + "failed": 0, + "xfailed": 0, + "skipped": 0, + "snippet_score": 0 +} \ No newline at end of file diff --git a/tests/quality_tests/feat_bluetooth/check_bluetooth.py b/tests/quality_tests/feat_bluetooth/check_bluetooth.py new file mode 100644 index 000000000..dfdaec0b4 --- /dev/null +++ b/tests/quality_tests/feat_bluetooth/check_bluetooth.py @@ -0,0 +1,117 @@ +import bluetooth + +bt = bluetooth.BLE() +from micropython import const + + +_IO_CAPABILITY_DISPLAY_ONLY = const(0) +_IO_CAPABILITY_DISPLAY_YESNO = const(1) +_IO_CAPABILITY_KEYBOARD_ONLY = const(2) +_IO_CAPABILITY_NO_INPUT_OUTPUT = const(3) +_IO_CAPABILITY_KEYBOARD_DISPLAY = const(4) + +_IRQ_CENTRAL_CONNECT = const(1) +_IRQ_CENTRAL_DISCONNECT = const(2) +_IRQ_GATTS_WRITE = const(3) +_IRQ_GATTS_READ_REQUEST = const(4) +_IRQ_SCAN_RESULT = const(5) +_IRQ_SCAN_DONE = const(6) +_IRQ_PERIPHERAL_CONNECT = const(7) +_IRQ_PERIPHERAL_DISCONNECT = const(8) +_IRQ_GATTC_SERVICE_RESULT = const(9) +_IRQ_GATTC_SERVICE_DONE = const(10) +_IRQ_GATTC_CHARACTERISTIC_RESULT = const(11) +_IRQ_GATTC_CHARACTERISTIC_DONE = const(12) +_IRQ_GATTC_DESCRIPTOR_RESULT = const(13) +_IRQ_GATTC_DESCRIPTOR_DONE = const(14) +_IRQ_GATTC_READ_RESULT = const(15) +_IRQ_GATTC_READ_DONE = const(16) +_IRQ_GATTC_WRITE_DONE = const(17) +_IRQ_GATTC_NOTIFY = const(18) +_IRQ_GATTC_INDICATE = const(19) +_IRQ_GATTS_INDICATE_DONE = const(20) +_IRQ_MTU_EXCHANGED = const(21) +_IRQ_L2CAP_ACCEPT = const(22) +_IRQ_L2CAP_CONNECT = const(23) +_IRQ_L2CAP_DISCONNECT = const(24) +_IRQ_L2CAP_RECV = const(25) +_IRQ_L2CAP_SEND_READY = const(26) +_IRQ_CONNECTION_UPDATE = const(27) +_IRQ_ENCRYPTION_UPDATE = const(28) +_IRQ_GET_SECRET = const(29) +_IRQ_SET_SECRET = const(30) + +_IRQ_PASSKEY_ACTION = -1 + + +# For the _IRQ_GATTS_READ_REQUEST event, the available return codes are: + +_GATTS_NO_ERROR = const(0x00) +_GATTS_ERROR_READ_NOT_PERMITTED = const(0x02) +_GATTS_ERROR_WRITE_NOT_PERMITTED = const(0x03) +_GATTS_ERROR_INSUFFICIENT_AUTHENTICATION = const(0x05) +_GATTS_ERROR_INSUFFICIENT_AUTHORIZATION = const(0x08) +_GATTS_ERROR_INSUFFICIENT_ENCRYPTION = const(0x0F) + +# For the _IRQ_PASSKEY_ACTION event, the available actions are: + +_PASSKEY_ACTION_NONE = const(0) +_PASSKEY_ACTION_INPUT = const(2) +_PASSKEY_ACTION_DISPLAY = const(3) +_PASSKEY_ACTION_NUMERIC_COMPARISON = const(4) + +# Available flags for characteristics and descriptors are: +_FLAG_BROADCAST = const(0x0001) +_FLAG_READ = const(0x0002) +_FLAG_WRITE_NO_RESPONSE = const(0x0004) +_FLAG_WRITE = const(0x0008) +_FLAG_NOTIFY = const(0x0010) +_FLAG_INDICATE = const(0x0020) +_FLAG_AUTHENTICATED_SIGNED_WRITE = const(0x0040) + +_FLAG_AUX_WRITE = const(0x0100) +_FLAG_READ_ENCRYPTED = const(0x0200) +_FLAG_READ_AUTHENTICATED = const(0x0400) +_FLAG_READ_AUTHORIZED = const(0x0800) +_FLAG_WRITE_ENCRYPTED = const(0x1000) +_FLAG_WRITE_AUTHENTICATED = const(0x2000) +_FLAG_WRITE_AUTHORIZED = const(0x4000) + +#The following example registers two services (Heart Rate, and Nordic UART): +HR_UUID = bluetooth.UUID(0x180D) +HR_CHAR = ( + bluetooth.UUID(0x2A37), + bluetooth.FLAG_READ | bluetooth.FLAG_NOTIFY, +) +HR_SERVICE = ( + HR_UUID, + (HR_CHAR,), +) +UART_UUID = bluetooth.UUID("6E400001-B5A3-F393-E0A9-E50E24DCCA9E") +UART_TX = ( + bluetooth.UUID("6E400003-B5A3-F393-E0A9-E50E24DCCA9E"), + bluetooth.FLAG_READ | bluetooth.FLAG_NOTIFY, +) +UART_RX = ( + bluetooth.UUID("6E400002-B5A3-F393-E0A9-E50E24DCCA9E"), + bluetooth.FLAG_WRITE, +) +UART_SERVICE = ( + UART_UUID, + ( + UART_TX, + UART_RX, + ), +) +SERVICES = ( + HR_SERVICE, + UART_SERVICE, +) +( + (hr,), + ( + tx, + rx, + ), +) = bt.gatts_register_services(SERVICES) + diff --git a/tests/quality_tests/feat_bluetooth/check_examples/ble_advertising.py b/tests/quality_tests/feat_bluetooth/check_examples/ble_advertising.py new file mode 100644 index 000000000..2fe17d640 --- /dev/null +++ b/tests/quality_tests/feat_bluetooth/check_examples/ble_advertising.py @@ -0,0 +1,102 @@ +# Helpers for generating BLE advertising payloads. + +# A more fully-featured (and easier to use) version of this is implemented in +# aioble. This code is provided just as a basic example. See +# https://github.com/micropython/micropython-lib/tree/master/micropython/bluetooth/aioble + +from micropython import const +import struct +import bluetooth + +# Advertising payloads are repeated packets of the following form: +# 1 byte data length (N + 1) +# 1 byte type (see constants below) +# N bytes type-specific data + +_ADV_TYPE_FLAGS = const(0x01) +_ADV_TYPE_NAME = const(0x09) +_ADV_TYPE_UUID16_COMPLETE = const(0x3) +_ADV_TYPE_UUID32_COMPLETE = const(0x5) +_ADV_TYPE_UUID128_COMPLETE = const(0x7) +_ADV_TYPE_UUID16_MORE = const(0x2) +_ADV_TYPE_UUID32_MORE = const(0x4) +_ADV_TYPE_UUID128_MORE = const(0x6) +_ADV_TYPE_APPEARANCE = const(0x19) + +_ADV_MAX_PAYLOAD = const(31) + + +# Generate a payload to be passed to gap_advertise(adv_data=...). +def advertising_payload(limited_disc=False, br_edr=False, name=None, services=None, appearance=0): + payload = bytearray() + + def _append(adv_type, value): + nonlocal payload + payload += struct.pack("BB", len(value) + 1, adv_type) + value + + _append( + _ADV_TYPE_FLAGS, + struct.pack("B", (0x01 if limited_disc else 0x02) + (0x18 if br_edr else 0x04)), + ) + + if name: + _append(_ADV_TYPE_NAME, name) + + if services: + for uuid in services: + b = bytes(uuid) + if len(b) == 2: + _append(_ADV_TYPE_UUID16_COMPLETE, b) + elif len(b) == 4: + _append(_ADV_TYPE_UUID32_COMPLETE, b) + elif len(b) == 16: + _append(_ADV_TYPE_UUID128_COMPLETE, b) + + # See org.bluetooth.characteristic.gap.appearance.xml + if appearance: + _append(_ADV_TYPE_APPEARANCE, struct.pack(" _ADV_MAX_PAYLOAD: + raise ValueError("advertising payload too large") + + return payload + + +def decode_field(payload, adv_type): + i = 0 + result = [] + while i + 1 < len(payload): + if payload[i + 1] == adv_type: + result.append(payload[i + 2 : i + payload[i] + 1]) + i += 1 + payload[i] + return result + + +def decode_name(payload): + n = decode_field(payload, _ADV_TYPE_NAME) + return str(n[0], "utf-8") if n else "" + + +def decode_services(payload): + services = [] + for u in decode_field(payload, _ADV_TYPE_UUID16_COMPLETE): + services.append(bluetooth.UUID(struct.unpack(" 0 + + def _advertise(self, interval_us=500000): + print("Starting advertising") + self._ble.gap_advertise(interval_us, adv_data=self._payload) + + def on_write(self, callback): + self._write_callback = callback + + +def demo(): + ble = bluetooth.BLE() + p = BLESimplePeripheral(ble) + + def on_rx(v): + print("RX", v) + + p.on_write(on_rx) + + i = 0 + while True: + if p.is_connected(): + # Short burst of queued notifications. + for _ in range(3): + data = str(i) + "_" + print("TX", data) + p.send(data) + i += 1 + time.sleep_ms(100) + + +if __name__ == "__main__": + demo() diff --git a/tests/quality_tests/feat_bluetooth/check_examples/ble_temperature.py b/tests/quality_tests/feat_bluetooth/check_examples/ble_temperature.py new file mode 100644 index 000000000..acd77127a --- /dev/null +++ b/tests/quality_tests/feat_bluetooth/check_examples/ble_temperature.py @@ -0,0 +1,103 @@ +# This example demonstrates a simple temperature sensor peripheral. +# +# The sensor's local value updates every second, and it will notify +# any connected central every 10 seconds. + +# This example demonstrates the low-level bluetooth module. For most +# applications, we recommend using the higher-level aioble library which takes +# care of all IRQ handling and connection management. See +# https://github.com/micropython/micropython-lib/tree/master/micropython/bluetooth/aioble +# and in particular the temp_sensor.py example included with aioble. + +import bluetooth +import random +import struct +import time +from ble_advertising import advertising_payload + +from micropython import const + +_IRQ_CENTRAL_CONNECT = const(1) +_IRQ_CENTRAL_DISCONNECT = const(2) +_IRQ_GATTS_INDICATE_DONE = const(20) + +_FLAG_READ = const(0x0002) +_FLAG_NOTIFY = const(0x0010) +_FLAG_INDICATE = const(0x0020) + +# org.bluetooth.service.environmental_sensing +_ENV_SENSE_UUID = bluetooth.UUID(0x181A) +# org.bluetooth.characteristic.temperature +_TEMP_CHAR = ( + bluetooth.UUID(0x2A6E), + _FLAG_READ | _FLAG_NOTIFY | _FLAG_INDICATE, +) +_ENV_SENSE_SERVICE = ( + _ENV_SENSE_UUID, + (_TEMP_CHAR,), +) + +# org.bluetooth.characteristic.gap.appearance.xml +_ADV_APPEARANCE_GENERIC_THERMOMETER = const(768) + + +class BLETemperature: + def __init__(self, ble, name="mpy-temp"): + self._ble = ble + self._ble.active(True) + self._ble.irq(self._irq) + ((self._handle,),) = self._ble.gatts_register_services((_ENV_SENSE_SERVICE,)) + self._connections = set() + self._payload = advertising_payload( + name=name, services=[_ENV_SENSE_UUID], appearance=_ADV_APPEARANCE_GENERIC_THERMOMETER + ) + self._advertise() + + def _irq(self, event, data): + # Track connections so we can send notifications. + if event == _IRQ_CENTRAL_CONNECT: + conn_handle, _, _ = data + self._connections.add(conn_handle) + elif event == _IRQ_CENTRAL_DISCONNECT: + conn_handle, _, _ = data + self._connections.remove(conn_handle) + # Start advertising again to allow a new connection. + self._advertise() + elif event == _IRQ_GATTS_INDICATE_DONE: + conn_handle, value_handle, status = data + + def set_temperature(self, temp_deg_c, notify=False, indicate=False): + # Data is sint16 in degrees Celsius with a resolution of 0.01 degrees Celsius. + # Write the local value, ready for a central to read. + self._ble.gatts_write(self._handle, struct.pack("= max_frac - 0.05] + + # Because of channel cross-talk we may get more than one channel to be found + # If 3 channels found, select the middle one + # If 2 channels found: select first one if it is channel 1 else second + # If 1 channels found, select it + count = len(found) + index = (count // 2) if not (count == 2 and found[0] == 1) else 0 + channel = found[index] + print(f"Setting wifi radio to channel {channel} ({max_frac * 100:3.0f}% response)") + return set_channel(channel) diff --git a/tests/quality_tests/feat_espnow/check_utils/lazyespnow.py b/tests/quality_tests/feat_espnow/check_utils/lazyespnow.py new file mode 100644 index 000000000..4a682d566 --- /dev/null +++ b/tests/quality_tests/feat_espnow/check_utils/lazyespnow.py @@ -0,0 +1,136 @@ +# lazyespnow module for MicroPython on ESP32 +# MIT license; Copyright (c) 2022 Glenn Moloney @glenn20 + +import time +import network +import espnow + + +def _handle_esperror(self, err, peer): + if len(err.args) < 2: + raise err + + esperr = err.args[1] + if esperr == 'ESP_ERR_ESPNOW_NOT_INIT': + if self.debug: + print("LazyESPNow: init()") + self.active(True) + + elif esperr == 'ESP_ERR_ESPNOW_NOT_FOUND': + if self.debug: + print("LazyESPNow: add_peer()") + # Restore the saved options for this peer - if we have it + args = self._saved_peers.get(peer, []) + self.add_peer(peer, *args) + + elif esperr == 'ESP_ERR_ESPNOW_EXIST': + if self.debug: print("LazyESPNow: del_peer()") + self.del_peer(peer) + + elif esperr == 'ESP_ERR_ESPNOW_FULL': + if self.debug: print("LazyESPNow: del_peer()") + # Peers are listed in the order they were registered + peers = self.get_peers() + n_tot, _n_enc = self.peer_count() + # If less than the max peers(20) are registered, assume we hit the limit + # on encrypted peers(6) and delete an encrypted peer, otherwise an + # unencrypted peer. + is_encrypted = n_tot < espnow.MAX_TOTAL_PEER_NUM + # We will try removing the first encrypted/unencrypted host + peer, *args = next((p for p in peers if p[4] == is_encrypted)) + self._saved_peers[peer] = args # Save options for deleted peer + self.del_peer(peer) + + elif esperr == 'ESP_ERR_ESPNOW_IF': + channel, if_idx = self.get_peer(peer)[2:3] if peer else 0, self.default_if + if self.debug: print("LazyESPNow: activating", ('STA_IF','AP_IF')[if_idx]) + wlan = network.WLAN(if_idx) + wlan.active(True) + if if_idx == network.STA_IF: + wlan.disconnect() # ESP8266 may auto-connect to last AP. + if channel: + wlan.config(channel=channel) + wlan.config(ps_mode=self.ps_mode) + + else: + raise err + +# A wrapper for methods which catches esp errors and tries to fix them +# Eg: if device is not initialised, call active(True) +# if wifi interface is not active(), set it active(True) +# if peer is not registered, register it. +def _catch_esperror(method): + def wrapper(*args, **kwargs): + for _ in range(5): + try: + return method(*args, **kwargs) + except OSError as err: + # Correct any esp errors + peer = args[1] if len(args) > 1 else None + _handle_esperror(args[0], err, peer) + raise RuntimeError("_handle_OSError(): ESP Exception handling failed.") + + return wrapper + + +class LazyESPNow(espnow.ESPNow): + default_if = network.STA_IF + debug = None + _saved_peers = {} + wlans = [network.WLAN(i) for i in [network.STA_IF, network.AP_IF]] + + def __init__(self, default_if=network.STA_IF): + self.default_if = default_if + super().__init__() + + def _check_init(self): + if not any((w.active() for w in self.wlans)): + wlan = network.WLAN(self.default_if) + wlan.active(True) + if self.default_if == network.STA_IF: + wlan.disconnect() # ESP8266 may auto-connect to last AP. + + @_catch_esperror + def irecv(self, t=None): + self._check_init() + return super().irecv(t) + + @_catch_esperror + def recv(self, t=None): + self._check_init() + return super().recv(t) + + @_catch_esperror + def send(self, mac, msg=None, sync=True): + if msg is None: + msg, mac = mac, None # If msg is None: swap mac and msg + return self.send(mac, msg, sync) + + @_catch_esperror + def __next__(self): + self._check_init() + return super().__next__() + + @_catch_esperror + def get_peer(self, mac): + return super().get_peer(mac) + + @_catch_esperror + def add_peer(self, mac, *args, **kwargs): + return super().add_peer(mac, *args, **kwargs) + + def find_peer(self, mac, msg, lmk=None, ifidx=-1, encrypt=None): + try: + _ = super().get_peer(mac) + except OSError: + self.add_peer( + mac, lmk, 0, ifidx, + encrypt if encrypt is not None else bool(lmk)) + for num_tries in (0, 10): + for chan in range(14): + super().mod_peer(mac, channel=chan) + for _ in range(num_tries): + if super().send(mac, msg): + return True + time.sleep(0.10) + return False diff --git a/tests/quality_tests/feat_espnow/check_utils/ntp.py b/tests/quality_tests/feat_espnow/check_utils/ntp.py new file mode 100644 index 000000000..2d3b15173 --- /dev/null +++ b/tests/quality_tests/feat_espnow/check_utils/ntp.py @@ -0,0 +1,14 @@ +import machine +import ntptime + +server = "192.168.10.1" + + +def settime(host=None): + host = host or server + try: + ntptime.host = host + ntptime.settime() + print("Time set to:", machine.RTC().datetime()) + except (OSError, OverflowError) as e: + print("ntptime.settime():", e) diff --git a/tests/quality_tests/feat_espnow/check_utils/readme.md b/tests/quality_tests/feat_espnow/check_utils/readme.md new file mode 100644 index 000000000..5c277aee4 --- /dev/null +++ b/tests/quality_tests/feat_espnow/check_utils/readme.md @@ -0,0 +1,5 @@ +This is a partial copy of the espnow utils + +https://github.com/glenn20/micropython-espnow-utils + + diff --git a/tests/quality_tests/feat_espnow/check_utils/timer.py b/tests/quality_tests/feat_espnow/check_utils/timer.py new file mode 100644 index 000000000..b8cbccf7b --- /dev/null +++ b/tests/quality_tests/feat_espnow/check_utils/timer.py @@ -0,0 +1,153 @@ +# """ +# timer.py: A module for creating convenient timers based on generators + +# Examples: + +# machine_test = False +# for t in timer_ms(1500, sleep_ms=200): +# print(t) +# if machine_test: +# break +# else: +# print("Timed out - no data") + +# try: +# for t in timer_ms(30000, 1000, raise_on_timeout=True): +# print(t) +# except TimeoutError as err: +# print(err) + +# for t in timer_ms(): +# print(t) +# if utime.time() == 0: +# break + +# timer = timer_ms(timeout_ms=30000, countdown=True) +# timer = countdown_timer_ms(timeout_ms=30000) + +# with Timer(10000) as t: +# while t.check(): +# print("Waiting", t.time()) +# """ + +from utime import sleep, sleep_ms, ticks_diff, ticks_ms + + +class TimeoutError(Exception): + pass + + +# A timer generator: on each iteration, yield milliseconds since the first call. +def _timer_ms(): + start = ticks_ms() + while True: + reset = yield ticks_diff(ticks_ms(), start) + if type(reset) in [int, float]: + start = ticks_ms() - reset + + +# Reset the start value of a timer +def reset(timer, time_ms=0): + timer.send(time_ms) + + +# A timeout generator (milliseconds) +def _timeout_ms(timer, timeout_ms): + for dt in timer: + if dt >= timeout_ms: + break + yield dt + + +# Add a busy sleep on every iteration through the timer. +def _sleep_ms(timer, delay_ms): + for i, dt in enumerate(timer): + yield dt + if delay_ms: + sleep_ms((i + 1) * delay_ms - next(timer)) + + +# Make a timer generator which raises exception if the timeout is reached +def _raise_on_timeout(timer, exc=True): + yield from timer + raise TimeoutError if exc is True else exc # type: ignore + + +# Make a timer generator a countdown timer +def _countdown(timer, start): + return (start - dt for dt in timer) + + +def check(timer): + try: + next(timer) + return True + except StopIteration: + return False + + +def is_expired(timer): + return not check(timer) + + +def start(timer): + return next(timer) + + +# Construct a timer/timeout generator in milliseconds +def timer_ms(timeout_ms, sleep_ms=0, countdown=False, exc=None): + timer = _timer_ms() + if sleep_ms > 0: + timer = _sleep_ms(timer, sleep_ms) + if timeout_ms > 0: + timer = _timeout_ms(timer, timeout_ms) + if countdown: + timer = _countdown(timer, timeout_ms) + if exc is not None: + timer = _raise_on_timeout(timer, exc) + return timer + + +def countdown_timer_ms(t=0, sleep_ms=0, exc=None): + return timer_ms(t, sleep_ms, True, exc) + + +# Construct a timer/timeout generator in seconds +def timer_s(timeout_s, sleep_s=0, countdown=False, exc=None): + return (dt / 1000 for dt in timer_ms(timeout_s * 1000, sleep_s * 1000, countdown, exc)) + + +class Timer: + def __init__(self, timeout): + self.timeout = timeout + self.timer = None + + def start(self): + self.timer = enumerate(timer_ms(self.timeout, exc=True)) + return next(self.timer) # This starts the timer! + + def reset(self): + self.timer = enumerate(timer_ms(self.timeout, exc=True)) + return + + def time(self): + return next(self.timer)[1] if self.timer else None + + def check(self): + dt = self.time() + return dt is not None + + def check_wait(self, delay_ms=0): + i, dt = next(self.timer) # type: ignore + if i > 0 and delay_ms: + sleep_ms(delay_ms) + return dt is not None + + def __enter__(self): + self.timer = enumerate(timer_ms(self.timeout, exc=True)) + return self + + def __exit__(self, exc_type, exc_value, exc_tb): + if isinstance(exc_value, TimeoutError): + self.timer = None + return True diff --git a/tests/quality_tests/feat_espnow/check_utils/wifi.py b/tests/quality_tests/feat_espnow/check_utils/wifi.py new file mode 100644 index 000000000..2278c6f30 --- /dev/null +++ b/tests/quality_tests/feat_espnow/check_utils/wifi.py @@ -0,0 +1,172 @@ +# """ +# wifi.py: Useful functions for setting up wifi on ESP32 and ESP8266 devices + +# These functions are designed to robustly and reliably account for differences +# between esp8266 and esp32 devices and to ensure the wifi is always in a fully +# known state (even after soft_reset). + +# Examples: + +# import wifi + +# # Reset wifi to know state (STA is disconnected) +# sta, ap = wifi.reset() # STA on, AP off, channel=1 +# sta, ap = wifi.reset(sta=True, ap=True, channel=5) # STA on, AP on, channel=5 +# sta, ap = wifi.reset(False, False) # STA off, AP off, channel=1 +# sta, ap = wifi.reset(ap=True) # STA on, AP on, channel=1 +# sta, ap = wifi.reset(channel=11) # STA on, AP off, channel=11 + +# # Set/get the channel +# wifi.channel(11) +# print(wifi.channel()) + +# # Connect/disconnect from a wifi network +# wifi.connect("ssid", "password") +# wifi.connect() # Reconnect to last wifi network +# wifi.disconnect() # Disconnect from wifi network + +# # Print verbose details of the device wifi config +# wifi.status() + +# Config: + +# # Power save mode used whenever connected() - default is WIFI_PS_NONE +# wifi.ps_mode = network.WIFI_PS_MIN_MODEM +# wifi.timeout = 30 # Timeout for connect to network (seconds) +# wifi.sta # The STA_IF wlan interface +# wifi.ap # The AP_IF wlan interface +# """ + +import sys +import time +import network + + +class TimeoutError(Exception): + pass + + +this = sys.modules[__name__] # A reference to this module + +is_esp8266 = sys.platform == "esp8266" +wlans = [network.WLAN(w) for w in (network.STA_IF, network.AP_IF)] +sta, ap = wlans +_sta, _ap = wlans +timeout = 20 # (seconds) timeout on connect() +default_channel = 1 +try: + default_pm_mode = sta.PM_PERFORMANCE +except AttributeError: + default_pm_mode = None +try: + default_protocol = network.MODE_11B | network.MODE_11G | network.MODE_11N +except AttributeError: + default_protocol = None + + +def channel(channel=0): + if channel == 0: + return _ap.config("channel") + if _sta.isconnected(): + raise OSError("can not set channel when connected to wifi network.") + if _ap.isconnected(): + raise OSError("can not set channel when clients are connected to AP.") + if _sta.active() and not is_esp8266: + _sta.config(channel=channel) # On ESP32 use STA interface + return _sta.config("channel") + else: + # On ESP8266, use the AP interface to set the channel + ap_save = _ap.active() + _ap.active(True) + _ap.config(channel=channel) + _ap.active(ap_save) + return _ap.config("channel") + + +def wait_for(fun, timeout=timeout): + start = time.time() + while not fun(): + if time.time() - start > timeout: + raise TimeoutError() + time.sleep(0.1) + + +def disconnect(): + _sta.disconnect() + wait_for(lambda: not _sta.isconnected(), 5) + + +def connect(*args, **kwargs): + _sta.active(True) + disconnect() + _sta.connect(*args, **kwargs) + wait_for(lambda: _sta.isconnected()) + ssid, chan = _sta.config("ssid"), channel() + print('Connected to "{}" on wifi channel {}'.format(ssid, chan)) + + +def reset( + sta=True, + ap=False, + channel=default_channel, + pm=default_pm_mode, + protocol=default_protocol, +): + "Reset wifi to STA_IF on, AP_IF off, channel=1 and disconnected" + _sta.active(False) # Force into known state by turning off radio + _ap.active(False) + _sta.active(sta) # Now set to requested state + _ap.active(ap) + if sta: + disconnect() # For ESP8266 + try: + _sta.config(pm=pm) + except (ValueError): + pass + try: + wlan = _sta if sta else _ap if ap else None + if wlan and (protocol is not None): + wlan.config(protocol=protocol) + except (ValueError, RuntimeError): + pass + this.channel(channel) + return _sta, _ap + + +def status(): + from binascii import hexlify + + for name, w in (("STA", _sta), ("AP", _ap)): + active = "on," if w.active() else "off," + mac = w.config("mac") + hex = hexlify(mac, ":").decode() + print("{:3s}: {:4s} mac= {} ({})".format(name, active, hex, mac)) + if _sta.isconnected(): + print(" connected:", _sta.config("ssid"), end="") + else: + print(" disconnected", end="") + print(", channel={:d}".format(_ap.config("channel")), end="") + pm_mode = None + try: + pm_mode = _sta.config("pm") + names = { + _sta.PM_NONE: "PM_NONE", + _sta.PM_PERFORMANCE: "PM_PERFORMANCE", + _sta.PM_POWERSAVE: "PM_POWERSAVE", + } + print(", pm={:d} ({})".format(pm_mode, names[pm_mode]), end="") + except (AttributeError, ValueError): + print(", pm={}".format(pm_mode), end="") + try: + names = ("MODE_11B", "MODE_11G", "MODE_11N", "MODE_LR") + protocol = _sta.config("protocol") + try: + p = "|".join((x for x in names if protocol & getattr(network, x))) + except AttributeError: + p = "" + print(", protocol={:d} ({})".format(protocol, p), end="") + except ValueError: + pass + print() + if _sta.isconnected(): + print(" ifconfig:", _sta.ifconfig()) diff --git a/tests/quality_tests/feat_espnow/pyrightconfig.json b/tests/quality_tests/feat_espnow/pyrightconfig.json new file mode 100644 index 000000000..e58196fae --- /dev/null +++ b/tests/quality_tests/feat_espnow/pyrightconfig.json @@ -0,0 +1,22 @@ +{ + "include": [ + "." + ], + "typeshedPaths": [ + "./typings" + ], + "exclude": [ + ".*", + "__*", + "**/typings" + ], + "ignore": [ + "**/typings" + ], + "pythonVersion": "3.8", + "pythonPlatform": "Linux", + "verboseOutput": false, + "typeCheckingMode": "basic", + "typeshedPath": "./typings", + "reportMissingModuleSource": "none" +} \ No newline at end of file diff --git a/tests/quality_tests/feat_espnow/typecheck_lock.file b/tests/quality_tests/feat_espnow/typecheck_lock.file new file mode 100644 index 000000000..e69de29bb diff --git a/tests/quality_tests/feat_micropython/check_bare_const.py b/tests/quality_tests/feat_micropython/check_bare_const.py new file mode 100644 index 000000000..78121cab2 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_bare_const.py @@ -0,0 +1,6 @@ +"""Check const() without importing it from micropython.""" +# # ref https://github.dev/microsoft/pyright/blob/3cc4e6ccdde06315f5682d9cf61c51ce6fac2753/docs/builtins.md#L7 +# OK: pyright 1.1.218 can handle this + +FOO = const(11) +# false test outcome : https://github.com/Josverl/micropython-stubber/issues/429 diff --git a/tests/quality_tests/feat_micropython/check_const.py b/tests/quality_tests/feat_micropython/check_const.py new file mode 100644 index 000000000..d17486796 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_const.py @@ -0,0 +1,41 @@ +from micropython import const +from typing_extensions import assert_type + +case1 = const(11) +assert_type(case1, int) + +# Micropython >= 1.19.0 +case2 = const(1.0) +assert_type(case2, float) + +# case3 = const(True) +# assert_type(case3, bool) + +case4 = const("foo") +assert_type(case4, str) + +case5 = const(b"foo") +assert_type(case5, bytes) + +case6 = const((1, 2, 3)) +assert_type(case6, tuple) + +case7 = const(1 + 2) +assert_type(case7, int) + +case8 = const(1.0 + 2.0) +assert_type(case8, float) + +# Should show error +# todo: micropython.const - how to test for incorrect assignments? +# case = const({"foo": "bar"}) +# case = const(["foo", "bar"]) + +# ---------------------------- +import machine + +GPIOA = const(0x48000000) +GPIO_BSRR = const(0x18) +GPIO_IDR = const(0x10) +# set PA2 high +machine.mem32[GPIOA + GPIO_BSRR] = 1 << 2 diff --git a/tests/quality_tests/feat_micropython/check_functions.py b/tests/quality_tests/feat_micropython/check_functions.py new file mode 100644 index 000000000..e59a2ec84 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_functions.py @@ -0,0 +1,13 @@ +from socket import * # type: ignore + +# socket.socket +# Create STREAM TCP socket +socket(AF_INET, SOCK_STREAM) +# Create DGRAM UDP socket +socket(AF_INET, SOCK_DGRAM) + + +# poll: () -> _poll +from select import poll + +x = poll() diff --git a/tests/quality_tests/feat_micropython/check_gc.py b/tests/quality_tests/feat_micropython/check_gc.py new file mode 100644 index 000000000..ac9b35d4d --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_gc.py @@ -0,0 +1,47 @@ +# ref: https://learn.adafruit.com/Memory-saving-tips-for-CircuitPython/ram-saving-tips + +import gc + +# add other imports + +gc.collect() +start_mem = gc.mem_free() +print("Point 1 Available memory: {} bytes".format(start_mem)) + +# add code here to be measured for memory use + +gc.collect() +end_mem = gc.mem_free() + +print("Point 2 Available memory: {} bytes".format(end_mem)) +print("Code section 1-2 used {} bytes".format(start_mem - end_mem)) + +# https://docs.micropython.org/en/latest/reference/constrained.html#the-heap +gc.collect() +gc.threshold(gc.mem_free() // 4 + gc.mem_alloc()) # stubs-ignore: port=='samd' +# TODO : micropython.gc - samd has no gc.threshold() method + + +# https://docs.micropython.org/en/latest/reference/constrained.html#reporting + +# import gc +import micropython + +gc.collect() +micropython.mem_info() +print("-----------------------------") +print("Initial free: {} allocated: {}".format(gc.mem_free(), gc.mem_alloc())) + + +def func(): + a = bytearray(10000) + + +gc.collect() +print("Func definition: {} allocated: {}".format(gc.mem_free(), gc.mem_alloc())) +func() +print("Func run free: {} allocated: {}".format(gc.mem_free(), gc.mem_alloc())) +gc.collect() +print("Garbage collect free: {} allocated: {}".format(gc.mem_free(), gc.mem_alloc())) +print("-----------------------------") +micropython.mem_info(1) diff --git a/tests/quality_tests/feat_micropython/check_machine/check_RTC.py b/tests/quality_tests/feat_micropython/check_machine/check_RTC.py new file mode 100644 index 000000000..9946368be --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_machine/check_RTC.py @@ -0,0 +1,7 @@ +# Real time clock (RTC) + +from machine import RTC + +rtc = RTC() +rtc.datetime((2017, 8, 23, 1, 12, 48, 0, 0)) # set a specific date and time +rtc.datetime() # get date and time \ No newline at end of file diff --git a/tests/quality_tests/feat_micropython/check_machine/check_UART.py b/tests/quality_tests/feat_micropython/check_machine/check_UART.py new file mode 100644 index 000000000..ac39f7afa --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_machine/check_UART.py @@ -0,0 +1,17 @@ +from typing import Union + +from machine import UART, Pin +from typing_extensions import assert_type + +uart = UART(0, 115200) +uart = UART(0, baudrate=115200, timeout=10, tx=Pin(0), rx=Pin(1)) + +buffer = bytearray(10) + +u = UART(0, 115200) + +assert_type(u.readline(), Union[str,None]) # stubs-ignore : skip version < 1.21.0 + +assert_type(u.readinto(buffer), Union[int,None]) # stubs-ignore : skip version < 1.21.0 +assert_type(u.write(buffer), Union[int,None]) # stubs-ignore : skip version < 1.21.0 + diff --git a/tests/quality_tests/feat_micropython/check_machine/check_deepsleep.py b/tests/quality_tests/feat_micropython/check_machine/check_deepsleep.py new file mode 100644 index 000000000..17151cd7f --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_machine/check_deepsleep.py @@ -0,0 +1,17 @@ +# board : ESP32 +# ref : https://docs.micropython.org/en/latest/esp32/quickref.html +import machine + +# Deep-sleep mode + + +# check if the device woke from a deep sleep +if machine.reset_cause() == machine.DEEPSLEEP_RESET: # stubs-ignore: port in ['samd','rp2'] + print("woke from a deep sleep") + +# put the device to deep sleep for 10 seconds + +# samd has no machine.deepsleep() method +machine.deepsleep(10000) # stubs-ignore: port=='samd' +# detect that deep sleep never returns +assert False, "Deep sleep never returns" diff --git a/tests/quality_tests/feat_micropython/check_machine/check_machine.py b/tests/quality_tests/feat_micropython/check_machine/check_machine.py new file mode 100644 index 000000000..ad2239dc9 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_machine/check_machine.py @@ -0,0 +1,105 @@ +# board : ESP32 +# ref : https://docs.micropython.org/en/latest/esp32/quickref.html +import utime as time + +import machine + +machine.freq() # get the current frequency of the CPU +machine.freq(240000000) # set the CPU frequency to 240 MHz + + +# Pins and GPIO +# Use the machine.Pin class: + +from machine import Pin + +p0 = Pin(0, Pin.OUT) # create output pin on GPIO0 +p0.on() # set pin to "on" (high) level +p0.off() # set pin to "off" (low) level +p0.value(1) # set pin to on/high + +p2 = Pin(2, Pin.IN) # create input pin on GPIO2 +print(p2.value()) # get value, 0 or 1 + +p4 = Pin(4, Pin.IN, Pin.PULL_UP) # enable internal pull-up resistor +p5 = Pin(5, Pin.OUT, value=1) # set pin high on creation + +# UART (serial bus) +# See machine.UART. + +from machine import UART + +uart1 = UART(1, baudrate=9600, tx=33, rx=32) +uart1.write("hello") # write 5 bytes +uart1.read(5) # read up to 5 bytes + + +# Software SPI bus + + +from machine import Pin, SoftSPI + +# construct a SoftSPI bus on the given pins +# polarity is the idle state of SCK +# phase=0 means sample on the first edge of SCK, phase=1 means the second +spi = SoftSPI(baudrate=100000, polarity=1, phase=0, sck=Pin(0), mosi=Pin(2), miso=Pin(4)) + +spi.init(baudrate=200000) # set the baudrate + +spi.read(10) # read 10 bytes on MISO +spi.read(10, 0xFF) # read 10 bytes while outputting 0xff on MOSI + +buf = bytearray(50) # create a buffer +spi.readinto(buf) # read into the given buffer (reads 50 bytes in this case) +spi.readinto(buf, 0xFF) # read into the given buffer and output 0xff on MOSI + +spi.write(b"12345") # write 5 bytes on MOSI + +buf = bytearray(4) # create a buffer +spi.write_readinto(b"1234", buf) # write to MOSI and read from MISO into the buffer +spi.write_readinto(buf, buf) # write buf to MOSI and read MISO back into buf + +# Hardware SPI +from machine import Pin, SPI + +hspi = SPI(1, 10000000) +hspi = SPI(1, 10000000, sck=Pin(14), mosi=Pin(13), miso=Pin(12)) +vspi = SPI(2, baudrate=80000000, polarity=0, phase=0, bits=8, firstbit=0, sck=Pin(18), mosi=Pin(23), miso=Pin(19)) + + +# Software I2C + +from machine import Pin, SoftI2C + +i2c = SoftI2C(scl=Pin(5), sda=Pin(4), freq=100000) + +i2c.scan() # scan for devices + +i2c.readfrom(0x3A, 4) # read 4 bytes from device with address 0x3a +i2c.writeto(0x3A, "12") # write '12' to device with address 0x3a + +buf = bytearray(10) # create a buffer with 10 bytes + + +# Hardware I2C bus + +from machine import Pin, I2C + +i2c = I2C(0) +i2c = I2C(1, scl=Pin(5), sda=Pin(4), freq=400000) + + + + + +# WDT (Watchdog timer) + +from machine import WDT + +# enable the WDT with a timeout of 5s (1s is the minimum) +wdt = WDT(timeout=5000) +wdt.feed() + + + + diff --git a/tests/quality_tests/feat_micropython/check_machine/check_memNNN.py b/tests/quality_tests/feat_micropython/check_machine/check_memNNN.py new file mode 100644 index 000000000..77f2e5456 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_machine/check_memNNN.py @@ -0,0 +1,12 @@ +import machine +from micropython import const + +GPIOA = const(0x48000000) +GPIO_BSRR = const(0x18) +GPIO_IDR = const(0x10) + +# set PA2 high +machine.mem32[GPIOA + GPIO_BSRR] = 1 << 2 + +# read PA3 +value = (machine.mem32[GPIOA + GPIO_IDR] >> 3) & 1 \ No newline at end of file diff --git a/tests/quality_tests/feat_micropython/check_machine/check_reset.py b/tests/quality_tests/feat_micropython/check_machine/check_reset.py new file mode 100644 index 000000000..76cbc9878 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_machine/check_reset.py @@ -0,0 +1,9 @@ +# board : ESP32 +# ref : https://docs.micropython.org/en/latest/esp32/quickref.html +import machine + +# put the device to deep sleep for 10 seconds + +machine.reset() # type: ignore +# detect that reset never returns +assert False, "reset never returns" diff --git a/tests/quality_tests/feat_micropython/check_machine/check_uniqueid.py b/tests/quality_tests/feat_micropython/check_machine/check_uniqueid.py new file mode 100644 index 000000000..79e7f4eaf --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_machine/check_uniqueid.py @@ -0,0 +1,9 @@ +import machine +from typing_extensions import assert_type + + +id = machine.unique_id() + +# Bytes or bytearray ? +assert_type(id, bytes) + diff --git a/tests/quality_tests/feat_micropython/check_micropython/check_asm_thumb.py b/tests/quality_tests/feat_micropython/check_micropython/check_asm_thumb.py new file mode 100644 index 000000000..3741b69b5 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_micropython/check_asm_thumb.py @@ -0,0 +1,95 @@ +# type: ignore +# todo: micropython.asm_thumb - document that the opcodes are not recognized +# this is similar to the rp2.PIO_asm() method + +# flash LED #1 using inline assembler +# this version is overly verbose and uses word stores +# +# ruff: noqa: F821 - @asm_thumb decorator adds names to function scope + + +@micropython.asm_thumb +def flash_led(r0): + movw(r1, (stm.GPIOA + stm.GPIO_BSRRL) & 0xFFFF) + movt(r1, ((stm.GPIOA + stm.GPIO_BSRRL) >> 16) & 0x7FFF) + movw(r2, 1 << 13) + movt(r2, 0) + movw(r3, 0) + movt(r3, 1 << 13) + + b(loop_entry) + + label(loop1) + + # turn LED on + str(r2, [r1, 0]) + + # delay for a bit + movw(r4, 5599900 & 0xFFFF) + movt(r4, (5599900 >> 16) & 0xFFFF) + label(delay_on) + sub(r4, r4, 1) + cmp(r4, 0) + bgt(delay_on) + + # turn LED off + str(r3, [r1, 0]) + + # delay for a bit + movw(r4, 5599900 & 0xFFFF) + movt(r4, (5599900 >> 16) & 0xFFFF) + label(delay_off) + sub(r4, r4, 1) + cmp(r4, 0) + bgt(delay_off) + + # loop r0 times + sub(r0, r0, 1) + label(loop_entry) + cmp(r0, 0) + bgt(loop1) + + +# flash LED #2 using inline assembler +# this version uses half-word sortes, and the convenience assembler operation 'movwt' +@micropython.asm_thumb +def flash_led_v2(r0): + # get the GPIOA address in r1 + movwt(r1, stm.GPIOA) + + # get the bit mask for PA14 (the pin LED #2 is on) + movw(r2, 1 << 14) + + b(loop_entry) + + label(loop1) + + # turn LED on + strh(r2, [r1, stm.GPIO_BSRRL]) + + # delay for a bit + movwt(r4, 5599900) + label(delay_on) + sub(r4, r4, 1) + cmp(r4, 0) + bgt(delay_on) + + # turn LED off + strh(r2, [r1, stm.GPIO_BSRRH]) + + # delay for a bit + movwt(r4, 5599900) + label(delay_off) + sub(r4, r4, 1) + cmp(r4, 0) + bgt(delay_off) + + # loop r0 times + sub(r0, r0, 1) + label(loop_entry) + cmp(r0, 0) + bgt(loop1) + + +flash_led(5) +flash_led_v2(5) diff --git a/tests/quality_tests/feat_micropython/check_micropython/check_micropython.py b/tests/quality_tests/feat_micropython/check_micropython/check_micropython.py new file mode 100644 index 000000000..ff441f390 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_micropython/check_micropython.py @@ -0,0 +1,49 @@ +""" +Code snippet used to validate the micropython stubs +modules: + Micropython +""" + +# const +import micropython +from micropython import const + +ROWS = const(33) +_COLS = const(0x10) +a = ROWS +b = _COLS + + +@micropython.viper +def foo(arg: int) -> int: + return arg << 2 + + +@micropython.native +def bar(arg: int) -> int: + return arg << 2 + + +x = micropython.opt_level() +micropython.opt_level(x) + + +micropython.alloc_emergency_exception_buf(512) + +micropython.mem_info() +micropython.qstr_info() +micropython.stack_use() +micropython.heap_lock() +micropython.heap_unlock() + +micropython.kbd_intr("0x03") + + +# supply params to the function +def func(a): + print(a) + + +arg = "foo" + +micropython.schedule(func, arg) diff --git a/tests/quality_tests/feat_micropython/check_micropython/check_native.py b/tests/quality_tests/feat_micropython/check_micropython/check_native.py new file mode 100644 index 000000000..22a7d83c7 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_micropython/check_native.py @@ -0,0 +1,7 @@ +import micropython + +@micropython.native +def foo(self, arg): + buf = self.linebuf # Cached object + # code + diff --git a/tests/quality_tests/feat_micropython/check_micropython/check_viper.py b/tests/quality_tests/feat_micropython/check_micropython/check_viper.py new file mode 100644 index 000000000..52fb86a76 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_micropython/check_viper.py @@ -0,0 +1,15 @@ +import micropython + +# https://docs.micropython.org/en/v1.20.0/reference/speed_python.html?highlight=viper#the-viper-code-emitter +# Casting operators are currently: int, bool, uint, ptr, ptr8, ptr16 and ptr32. +# todo: micropython.viper - add support for casting operators + + +@micropython.viper +def foo(self, arg: int) -> int: + buf = ptr8(self.linebuf) # self.linebuf is a bytearray or bytes object # type: ignore # + for x in range(20, 30): + bar = buf[x] # Access a data item through the pointer + # code omitted + + return len(buf) # Return an integer value diff --git a/tests/quality_tests/feat_micropython/check_signal.py b/tests/quality_tests/feat_micropython/check_signal.py new file mode 100644 index 000000000..2e74cf5dc --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_signal.py @@ -0,0 +1,12 @@ +"""Test for the Signal class, verify that it is callable""" + +from machine import Pin, Signal + +s = Signal(2, Signal.IN, invert=True) +s(2) +s() + + +p15 = Pin(15, Pin.OUT) +p15(1) +p15() diff --git a/tests/quality_tests/feat_micropython/check_time.py b/tests/quality_tests/feat_micropython/check_time.py new file mode 100644 index 000000000..ac2bcf8e4 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_time.py @@ -0,0 +1,9 @@ +# ref : https://docs.micropython.org/en/latest/rp2/quickref.html + +import time + +time.sleep(1) # sleep for 1 second +time.sleep_ms(500) # sleep for 500 milliseconds +time.sleep_us(10) # sleep for 10 microseconds +start = time.ticks_ms() # get millisecond counter +delta = time.ticks_diff(time.ticks_ms(), start) # compute time difference diff --git a/tests/quality_tests/feat_micropython/check_timedfunction.py b/tests/quality_tests/feat_micropython/check_timedfunction.py new file mode 100644 index 000000000..d45b4ec37 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_timedfunction.py @@ -0,0 +1,30 @@ +# ------------------------------------------------------------- +# Identifying the slowest section of code +# ------------------------------------------------------------- +# This is a process known as profiling and is covered in textbooks and (for standard Python) supported by various software tools. +# For the type of smaller embedded application likely to be running on MicroPython platforms the slowest function or method can usually +# be established by judicious use of the timing ticks group of functions documented in utime. Code execution time can be measured in ms, us, or CPU cycles. +# +# The following enables any function or method to be timed by adding an @timed_function decorator: +import utime + + +def timed_function(f, *args, **kwargs): + "enables any function or method to be timed by adding an @timed_function decorator" + myname = str(f).split(" ")[1] + + def new_func(*args, **kwargs): + t = utime.ticks_us() + result = f(*args, **kwargs) + delta = utime.ticks_diff(utime.ticks_us(), t) + print("Function {} Time = {:6.3f}ms".format(myname, delta / 1000)) + return result + + return new_func + + +# Example usage: +@timed_function +def test_func(): + for i in range(100): + a = i * i diff --git a/tests/quality_tests/feat_micropython/check_uctypes.py b/tests/quality_tests/feat_micropython/check_uctypes.py new file mode 100644 index 000000000..f1dc13ed2 --- /dev/null +++ b/tests/quality_tests/feat_micropython/check_uctypes.py @@ -0,0 +1,86 @@ +""" +Sample from micropython documentaton +ref: https://docs.micropython.org/en/latest/library/uctypes.html +""" + +# make it work +f = open("elf_file.bin") +# -------------------------------- + +import uctypes + +#------------------------------------------------------------------------------------ +# Example 1: Subset of ELF file header +# https://wikipedia.org/wiki/Executable_and_Linkable_Format#File_header +ELF_HEADER = { + "EI_MAG": (0x0 | uctypes.ARRAY, 4 | uctypes.UINT8), + "EI_DATA": 0x5 | uctypes.UINT8, + "e_machine": 0x12 | uctypes.UINT16, +} + +# "f" is an ELF file opened in binary mode +buf = f.read(uctypes.sizeof(ELF_HEADER, uctypes.LITTLE_ENDIAN)) +header = uctypes.struct( + uctypes.addressof(buf), + ELF_HEADER, + uctypes.LITTLE_ENDIAN, +) +# TODO: uctypes - known member does not work +assert header.EI_MAG == b"\x7fELF" # type: ignore # uctypes - known member does not work +assert header.EI_DATA == 1, "Oops, wrong endianness. Could retry with uctypes.BIG_ENDIAN." # type: ignore # uctypes - known member does not work +print("machine:", hex(header.e_machine))# type: ignore # uctypes - known member does not work + + +#------------------------------------------------------------------------------------ +# Example 2: In-memory data structure, with pointers +COORD = { + "x": 0 | uctypes.FLOAT32, + "y": 4 | uctypes.FLOAT32, +} + +STRUCT1 = { + "data1": 0 | uctypes.UINT8, + "data2": 4 | uctypes.UINT32, + "ptr": (8 | uctypes.PTR, COORD), +} + +# Suppose you have address of a structure of type STRUCT1 in "addr" +addr = uctypes.struct( + uctypes.addressof(buf), + STRUCT1 +) +# uctypes.NATIVE is optional (used by default) +struct1 = uctypes.struct( + addr, + STRUCT1, + uctypes.NATIVE, +) +print("x:", struct1.ptr[0].x) # type: ignore # uctypes - known member does not work + +#------------------------------------------------------------------------------------ +# Example 3: Access to CPU registers. Subset of STM32F4xx WWDG block +WWDG_LAYOUT = { + "WWDG_CR": ( + 0, + { + # BFUINT32 here means size of the WWDG_CR register + "WDGA": 7 << uctypes.BF_POS | 1 << uctypes.BF_LEN | uctypes.BFUINT32, + "T": 0 << uctypes.BF_POS | 7 << uctypes.BF_LEN | uctypes.BFUINT32, + }, + ), + "WWDG_CFR": ( + 4, + { + "EWI": 9 << uctypes.BF_POS | 1 << uctypes.BF_LEN | uctypes.BFUINT32, + "WDGTB": 7 << uctypes.BF_POS | 2 << uctypes.BF_LEN | uctypes.BFUINT32, + "W": 0 << uctypes.BF_POS | 7 << uctypes.BF_LEN | uctypes.BFUINT32, + }, + ), +} + +WWDG = uctypes.struct(0x40002C00, WWDG_LAYOUT) + +WWDG.WWDG_CFR.WDGTB = 0b10 # type: ignore # uctypes - known member does not work +WWDG.WWDG_CR.WDGA = 1 # type: ignore # uctypes - known member does not work +print("Current counter:", WWDG.WWDG_CR.T) # type: ignore # uctypes - known member does not work + diff --git a/tests/quality_tests/feat_micropython/pyrightconfig.json b/tests/quality_tests/feat_micropython/pyrightconfig.json new file mode 100644 index 000000000..e58196fae --- /dev/null +++ b/tests/quality_tests/feat_micropython/pyrightconfig.json @@ -0,0 +1,22 @@ +{ + "include": [ + "." + ], + "typeshedPaths": [ + "./typings" + ], + "exclude": [ + ".*", + "__*", + "**/typings" + ], + "ignore": [ + "**/typings" + ], + "pythonVersion": "3.8", + "pythonPlatform": "Linux", + "verboseOutput": false, + "typeCheckingMode": "basic", + "typeshedPath": "./typings", + "reportMissingModuleSource": "none" +} \ No newline at end of file diff --git a/tests/quality_tests/feat_micropython/typecheck_lock.file b/tests/quality_tests/feat_micropython/typecheck_lock.file new file mode 100644 index 000000000..e69de29bb diff --git a/tests/quality_tests/feat_networking/check_examples/http_client.py b/tests/quality_tests/feat_networking/check_examples/http_client.py new file mode 100644 index 000000000..661c286b7 --- /dev/null +++ b/tests/quality_tests/feat_networking/check_examples/http_client.py @@ -0,0 +1,27 @@ +import socket + + +def main(use_stream=False): + s = socket.socket() + + ai = socket.getaddrinfo("google.com", 80) + print("Address infos:", ai) + addr = ai[0][-1] + + print("Connect address:", addr) + s.connect(addr) + + if use_stream: + # MicroPython socket objects support stream (aka file) interface + # directly, but the line below is needed for CPython. + s = s.makefile("rwb", 0) + s.write(b"GET / HTTP/1.0\r\n\r\n") + print(s.read()) + else: + s.send(b"GET / HTTP/1.0\r\n\r\n") + print(s.recv(4096)) + + s.close() + + +main() diff --git a/tests/quality_tests/feat_networking/check_examples/http_client_ssl.py b/tests/quality_tests/feat_networking/check_examples/http_client_ssl.py new file mode 100644 index 000000000..29d4035dc --- /dev/null +++ b/tests/quality_tests/feat_networking/check_examples/http_client_ssl.py @@ -0,0 +1,32 @@ +import socket +import ssl + + +def main(use_stream=True): + s = socket.socket() + + ai = socket.getaddrinfo("google.com", 443) + print("Address infos:", ai) + addr = ai[0][-1] + + print("Connect address:", addr) + s.connect(addr) + + s = ssl.wrap_socket(s) + print(s) + + if use_stream: + # Both CPython and MicroPython SSLSocket objects support read() and + # write() methods. + s.write(b"GET / HTTP/1.0\r\n\r\n") + print(s.read(4096)) + else: + # MicroPython SSLSocket objects implement only stream interface, not + # socket interface + s.send(b"GET / HTTP/1.0\r\n\r\n") # type: ignore # not supported by design of MicroPython + print(s.recv(4096)) # type: ignore # not supported by design of MicroPython + + s.close() + + +main() diff --git a/tests/quality_tests/feat_networking/check_examples/http_server.py b/tests/quality_tests/feat_networking/check_examples/http_server.py new file mode 100644 index 000000000..a6ed53154 --- /dev/null +++ b/tests/quality_tests/feat_networking/check_examples/http_server.py @@ -0,0 +1,62 @@ +import socket + + +CONTENT = b"""\ +HTTP/1.0 200 OK + +Hello #%d from MicroPython! +""" + + +def main(micropython_optimize=False): + s = socket.socket() + + # Binding to all interfaces - server will be accessible to other hosts! + ai = socket.getaddrinfo("0.0.0.0", 8080) + print("Bind address info:", ai) + addr = ai[0][-1] + + s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) + s.bind(addr) + s.listen(5) + print("Listening, connect your browser to http://:8080/") + + counter = 0 + while True: + res = s.accept() + client_sock = res[0] + client_addr = res[1] + print("Client address:", client_addr) + print("Client socket:", client_sock) + + if not micropython_optimize: + # To read line-oriented protocol (like HTTP) from a socket (and + # avoid short read problem), it must be wrapped in a stream (aka + # file-like) object. That's how you do it in CPython: + client_stream = client_sock.makefile("rwb") + else: + # .. but MicroPython socket objects support stream interface + # directly, so calling .makefile() method is not required. If + # you develop application which will run only on MicroPython, + # especially on a resource-constrained embedded device, you + # may take this shortcut to save resources. + client_stream = client_sock + + print("Request:") + req = client_stream.readline() + print(req) + while True: + h = client_stream.readline() + if h == b"" or h == b"\r\n": + break + print(h) + client_stream.write(CONTENT % counter) + + client_stream.close() + if not micropython_optimize: + client_sock.close() + counter += 1 + print() + + +main() diff --git a/tests/quality_tests/feat_networking/check_examples/http_server_simplistic.py b/tests/quality_tests/feat_networking/check_examples/http_server_simplistic.py new file mode 100644 index 000000000..09936b9d9 --- /dev/null +++ b/tests/quality_tests/feat_networking/check_examples/http_server_simplistic.py @@ -0,0 +1,37 @@ +# Do not use this code in real projects! Read +# http_server_simplistic_commented.py for details. +import socket + + +CONTENT = b"""\ +HTTP/1.0 200 OK + +Hello #%d from MicroPython! +""" + + +def main(): + s = socket.socket() + ai = socket.getaddrinfo("0.0.0.0", 8080) + addr = ai[0][-1] + + s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) + + s.bind(addr) + s.listen(5) + print("Listening, connect your browser to http://:8080/") + + counter = 0 + while True: + res = s.accept() + client_s = res[0] + req = client_s.recv(4096) + print("Request:") + print(req) + client_s.send(CONTENT % counter) + client_s.close() + counter += 1 + print() + + +main() diff --git a/tests/quality_tests/feat_networking/check_examples/http_server_simplistic_commented.py b/tests/quality_tests/feat_networking/check_examples/http_server_simplistic_commented.py new file mode 100644 index 000000000..d4710ad61 --- /dev/null +++ b/tests/quality_tests/feat_networking/check_examples/http_server_simplistic_commented.py @@ -0,0 +1,74 @@ +# +# MicroPython http_server_simplistic.py example +# +# This example shows how to write the smallest possible HTTP +# server in MicroPython. With comments and convenience code +# removed, this example can be compressed literally to ten +# lines. There's a catch though - read comments below for +# details, and use this code only for quick hacks, preferring +# http_server.py for "real thing". +# +import socket + + +CONTENT = b"""\ +HTTP/1.0 200 OK + +Hello #%d from MicroPython! +""" + + +def main(): + s = socket.socket() + + # Bind to (allow to be connected on ) all interfaces. This means + # this server will be accessible to other hosts on your local + # network, and if your server has direct (non-firewalled) connection + # to the Internet, then to anyone on the Internet. We bind to all + # interfaces to let this example work easily on embedded MicroPython + # targets, which you will likely access from another machine on your + # local network. Take care when running this on an Internet-connected + # machine though! Replace "0.0.0.0" with "127.0.0.1" if in doubt, to + # make the server accessible only on the machine it runs on. + ai = socket.getaddrinfo("0.0.0.0", 8080) + print("Bind address info:", ai) + addr = ai[0][-1] + + # A port on which a socket listened remains inactive during some time. + # This means that if you run this sample, terminate it, and run again + # you will likely get an error. To avoid this timeout, set SO_REUSEADDR + # socket option. + s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) + + s.bind(addr) + s.listen(5) + print("Listening, connect your browser to http://:8080/") + + counter = 0 + while True: + res = s.accept() + client_s = res[0] + client_addr = res[1] + print("Client address:", client_addr) + print("Client socket:", client_s) + # We assume here that .recv() call will read entire HTTP request + # from client. This is usually true, at least on "big OS" systems + # like Linux/MacOS/Windows. But that doesn't have to be true in + # all cases, in particular on embedded systems, when there can + # easily be "short recv", where it returns much less than requested + # data size. That's why this example is called "simplistic" - it + # shows that writing a web server in Python that *usually works* is + # ten lines of code, and you can use this technique for quick hacks + # and experimentation. But don't do it like that in production + # applications - instead, parse HTTP request properly, as shown + # by http_server.py example. + req = client_s.recv(4096) + print("Request:") + print(req) + client_s.send(CONTENT % counter) + client_s.close() + counter += 1 + print() + + +main() diff --git a/tests/quality_tests/feat_networking/check_examples/http_server_ssl.py b/tests/quality_tests/feat_networking/check_examples/http_server_ssl.py new file mode 100644 index 000000000..3427e9a1e --- /dev/null +++ b/tests/quality_tests/feat_networking/check_examples/http_server_ssl.py @@ -0,0 +1,96 @@ +import binascii +import socket +import ssl + +# This self-signed key/cert pair is randomly generated and to be used for +# testing/demonstration only. You should always generate your own key/cert. +key = binascii.unhexlify( + b"3082013b020100024100cc20643fd3d9c21a0acba4f48f61aadd675f52175a9dcf07fbef" + b"610a6a6ba14abb891745cd18a1d4c056580d8ff1a639460f867013c8391cdc9f2e573b0f" + b"872d0203010001024100bb17a54aeb3dd7ae4edec05e775ca9632cf02d29c2a089b563b0" + b"d05cdf95aeca507de674553f28b4eadaca82d5549a86058f9996b07768686a5b02cb240d" + b"d9f1022100f4a63f5549e817547dca97b5c658038e8593cb78c5aba3c4642cc4cd031d86" + b"8f022100d598d870ffe4a34df8de57047a50b97b71f4d23e323f527837c9edae88c79483" + b"02210098560c89a70385c36eb07fd7083235c4c1184e525d838aedf7128958bedfdbb102" + b"2051c0dab7057a8176ca966f3feb81123d4974a733df0f958525f547dfd1c271f9022044" + b"6c2cafad455a671a8cf398e642e1be3b18a3d3aec2e67a9478f83c964c4f1f" +) +cert = binascii.unhexlify( + b"308201d53082017f020203e8300d06092a864886f70d01010505003075310b3009060355" + b"0406130258583114301206035504080c0b54686550726f76696e63653110300e06035504" + b"070c075468654369747931133011060355040a0c0a436f6d70616e7958595a3113301106" + b"0355040b0c0a436f6d70616e7958595a3114301206035504030c0b546865486f73744e61" + b"6d65301e170d3139313231383033333935355a170d3239313231353033333935355a3075" + b"310b30090603550406130258583114301206035504080c0b54686550726f76696e636531" + b"10300e06035504070c075468654369747931133011060355040a0c0a436f6d70616e7958" + b"595a31133011060355040b0c0a436f6d70616e7958595a3114301206035504030c0b5468" + b"65486f73744e616d65305c300d06092a864886f70d0101010500034b003048024100cc20" + b"643fd3d9c21a0acba4f48f61aadd675f52175a9dcf07fbef610a6a6ba14abb891745cd18" + b"a1d4c056580d8ff1a639460f867013c8391cdc9f2e573b0f872d0203010001300d06092a" + b"864886f70d0101050500034100b0513fe2829e9ecbe55b6dd14c0ede7502bde5d46153c8" + b"e960ae3ebc247371b525caeb41bbcf34686015a44c50d226e66aef0a97a63874ca5944ef" + b"979b57f0b3" +) + + +CONTENT = b"""\ +HTTP/1.0 200 OK + +Hello #%d from MicroPython! +""" + + +def main(use_stream=True): + s = socket.socket() + + # Binding to all interfaces - server will be accessible to other hosts! + ai = socket.getaddrinfo("0.0.0.0", 8443) + print("Bind address info:", ai) + addr = ai[0][-1] + + s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) + s.bind(addr) + s.listen(5) + print("Listening, connect your browser to https://:8443/") + + counter = 0 + while True: + res = s.accept() + client_s = res[0] + client_addr = res[1] + print("Client address:", client_addr) + print("Client socket:", client_s) + # CPython uses key keyfile/certfile arguments, but MicroPython uses key/cert + client_s = ssl.wrap_socket( + client_s, server_side=True, keyfile=key, certfile=cert + ) # corrected from dsample # TODO: ssl.wrap_socket - file PR to correct sample + print(client_s) + print("Request:") + if use_stream: + # Both CPython and MicroPython SSLSocket objects support read() and + # write() methods. + # Browsers are prone to terminate SSL connection abruptly if they + # see unknown certificate, etc. We must continue in such case - + # next request they issue will likely be more well-behaving and + # will succeed. + try: + req = client_s.readline() + print(req) + while True: + h = client_s.readline() + if h == b"" or h == b"\r\n": + break + print(h) + if req: + client_s.write(CONTENT % counter) + except Exception as e: + print("Exception serving request:", e) + else: + print(client_s.recv(4096)) # type: ignore # not supported by design of MicroPython + client_s.send(CONTENT % counter) # type: ignore # not supported by design of MicroPython + client_s.close() + counter += 1 + print() + + +main() diff --git a/tests/quality_tests/feat_networking/check_examples/readme.md b/tests/quality_tests/feat_networking/check_examples/readme.md new file mode 100644 index 000000000..61ecb7fc1 --- /dev/null +++ b/tests/quality_tests/feat_networking/check_examples/readme.md @@ -0,0 +1,6 @@ +Origin: + +These samples are copies of the https://github.com/micropython/micropython/tree/master/examples/network +and fall unter the the same license as the original code. + + diff --git a/tests/quality_tests/feat_networking/check_network.py b/tests/quality_tests/feat_networking/check_network.py new file mode 100644 index 000000000..88a97d267 --- /dev/null +++ b/tests/quality_tests/feat_networking/check_network.py @@ -0,0 +1,33 @@ +# ref: https://docs.micropython.org/en/latest/esp8266/quickref.html + +# Networking +# The network module: + +import network + +wlan = network.WLAN(network.STA_IF) # create station interface +wlan.active(True) # activate the interface +wlan.scan() # scan for access points +wlan.isconnected() # check if the station is connected to an AP +wlan.connect("essid", "password") # connect to an AP +wlan.config("mac") # get the interface's MAC address +wlan.ifconfig() # get the interface's IP/netmask/gw/DNS addresses + +ap = network.WLAN(network.AP_IF) # create access-point interface +ap.active(True) # activate the interface +ap.config(essid="ESP-AP") # set the ESSID of the access point + +# A useful function for connecting to your local WiFi network is: + + +def do_connect(): + import network + + wlan = network.WLAN(network.STA_IF) + wlan.active(True) + if not wlan.isconnected(): + print("connecting to network...") + wlan.connect("essid", "password") + while not wlan.isconnected(): + pass + print("network config:", wlan.ifconfig()) diff --git a/tests/quality_tests/feat_networking/check_network/check_country.py b/tests/quality_tests/feat_networking/check_network/check_country.py new file mode 100644 index 000000000..a7df580f0 --- /dev/null +++ b/tests/quality_tests/feat_networking/check_network/check_country.py @@ -0,0 +1,7 @@ +# ref : https://docs.micropython.org/en/latest/rp2/quickref.html + +import network + +# set your Wifi country code +network.country("NL") # stubs-ignore: version <= 1.19.1 or port in ["esp8266"] +# esp8266 has no network.country() method diff --git a/tests/quality_tests/feat_networking/check_network/check_network.py b/tests/quality_tests/feat_networking/check_network/check_network.py new file mode 100644 index 000000000..c2b67d4c7 --- /dev/null +++ b/tests/quality_tests/feat_networking/check_network/check_network.py @@ -0,0 +1,32 @@ +# The network module: + +import network + +wlan = network.WLAN(network.STA_IF) # create station interface +wlan.active(True) # activate the interface +wlan.scan() # scan for access points +wlan.isconnected() # check if the station is connected to an AP +wlan.connect("essid", "password") # connect to an AP +wlan.config("mac") # get the interface's MAC address +wlan.ifconfig() # get the interface's IP/netmask/gw/DNS addresses + +ap = network.WLAN(network.AP_IF) # create access-point interface +ap.config(essid="ESP-AP") # set the ESSID of the access point +ap.config(max_clients=10) # set how many clients can connect to the network +ap.active(True) # activate the interface + + +# A useful function for connecting to your local WiFi network is: + + +def do_connect(): + import network + + wlan = network.WLAN(network.STA_IF) + wlan.active(True) + if not wlan.isconnected(): + print("connecting to network...") + wlan.connect("essid", "password") + while not wlan.isconnected(): + pass + print("network config:", wlan.ifconfig()) diff --git a/tests/quality_tests/feat_networking/check_network/check_wlan.py b/tests/quality_tests/feat_networking/check_network/check_wlan.py new file mode 100644 index 000000000..09d62ad63 --- /dev/null +++ b/tests/quality_tests/feat_networking/check_network/check_wlan.py @@ -0,0 +1,7 @@ +import network + + +# ref : https://github.com/Josverl/micropython-stubber/issues/338 +wlan = network.WLAN(network.STA_IF) + +wlan.config(pm = 0xa11140) # set power mode to get WiFi power-saving off (if needed) \ No newline at end of file diff --git a/tests/quality_tests/feat_networking/pyrightconfig.json b/tests/quality_tests/feat_networking/pyrightconfig.json new file mode 100644 index 000000000..e58196fae --- /dev/null +++ b/tests/quality_tests/feat_networking/pyrightconfig.json @@ -0,0 +1,22 @@ +{ + "include": [ + "." + ], + "typeshedPaths": [ + "./typings" + ], + "exclude": [ + ".*", + "__*", + "**/typings" + ], + "ignore": [ + "**/typings" + ], + "pythonVersion": "3.8", + "pythonPlatform": "Linux", + "verboseOutput": false, + "typeCheckingMode": "basic", + "typeshedPath": "./typings", + "reportMissingModuleSource": "none" +} \ No newline at end of file diff --git a/tests/quality_tests/feat_networking/typecheck_lock.file b/tests/quality_tests/feat_networking/typecheck_lock.file new file mode 100644 index 000000000..e69de29bb diff --git a/tests/quality_tests/feat_stdlib/check_array.py b/tests/quality_tests/feat_stdlib/check_array.py new file mode 100644 index 000000000..73979654c --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_array.py @@ -0,0 +1,8 @@ +import array + +NUM_LEDS = 10 + +ar = array.array("I", [0 for _ in range(NUM_LEDS)]) + +x = ar[3] +ar[3] = 0x12345678 diff --git a/tests/quality_tests/feat_stdlib/check_bytes.py b/tests/quality_tests/feat_stdlib/check_bytes.py new file mode 100644 index 000000000..8e2f6b041 --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_bytes.py @@ -0,0 +1,5 @@ +PING_MSG = b"ping" +channel = 5 + +check = PING_MSG + b"x" +check = PING_MSG + bytes([channel]) # type: ignore #TODO Operator "+" not supported for types "Literal[b"ping"]" and "bytes" diff --git a/tests/quality_tests/feat_stdlib/check_collections/check_namedtuple.py b/tests/quality_tests/feat_stdlib/check_collections/check_namedtuple.py new file mode 100644 index 000000000..c763fa1f7 --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_collections/check_namedtuple.py @@ -0,0 +1,12 @@ +from collections import namedtuple + +MyTuple = namedtuple("MyTuple", ("id", "name")) + +t1 = MyTuple(1, "foo") # type: ignore # TODO: collections.namedtuple is not callable +t2 = MyTuple(2, "bar") # type: ignore +print(t1.name) +assert t2.name == t2[1] + +print(type(MyTuple)) +print(type(t1)) +print(type(t2)) diff --git a/tests/quality_tests/feat_stdlib/check_collections/check_ordereddict.py b/tests/quality_tests/feat_stdlib/check_collections/check_ordereddict.py new file mode 100644 index 000000000..62967b661 --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_collections/check_ordereddict.py @@ -0,0 +1,12 @@ +from collections import OrderedDict + +# To make benefit of ordered keys, OrderedDict should be initialized +# from sequence of (key, value) pairs. +d = OrderedDict([("z", 1), ("a", 2)]) +# More items can be added as usual + +#TODO add to ordered dict : https://github.com/Josverl/micropython-stubber/issues/333 +d["w"] = 5 # type: ignore +d["b"] = 3 # type: ignore +for k, v in d.items(): + print(k, v) \ No newline at end of file diff --git a/tests/quality_tests/feat_stdlib/check_hasable.py b/tests/quality_tests/feat_stdlib/check_hasable.py new file mode 100644 index 000000000..1ab5006d9 --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_hasable.py @@ -0,0 +1,10 @@ +"""Validate that a type is hashable. +ref: https://github.com/Josverl/micropython-stubs/issues/723 +""" + +i = 0 +d = {i: "a"} + +type_text = "int" +if type_text in {"int", "float", "str", "bool", "tuple", "list", "dict"}: + order = 1 diff --git a/tests/quality_tests/feat_stdlib/check_io.py b/tests/quality_tests/feat_stdlib/check_io.py new file mode 100644 index 000000000..7775074d9 --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_io.py @@ -0,0 +1,16 @@ +import io + +from typing import Any, IO, Optional + +alloc_size = 512 + +buffer = io.StringIO(alloc_size) # stub-ignore: version=<1.18.0 +buffer = io.BytesIO(alloc_size) # stub-ignore: version=<1.18.0 + +stream = open("file") + +buf = io.BufferedWriter(stream, 8) # type: ignore # TODO stdlib.io "TextIOWrapper" is incompatible with "RawIOBase" +print(buf.write(bytearray(16))) # type: ignore # TODO  stdlib.io "bytearray" is incompatible with protocol "ReadableBuffer" + + +stream.close() diff --git a/tests/quality_tests/feat_stdlib/check_os/check_files.py b/tests/quality_tests/feat_stdlib/check_os/check_files.py new file mode 100644 index 000000000..08463b6f4 --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_os/check_files.py @@ -0,0 +1,59 @@ +# runs on MicroPython (and Python) +# get file and folder information and return this as JSON +# params : folder , traverse subdirectory , output format, gethash +# intended to allow simple processing of files +# jos_verlinde@hotmail.com +import json +import logging +import os +from typing import Any, Dict, List, Optional, Tuple, Union +import ubinascii +import uhashlib + +logging.basicConfig(level=logging.DEBUG) +log = logging.getLogger(__name__) + + +def listdir(path=".", sub=False, JSON=True, gethash=False): + # Lists the file information of a folder + li :List[dict]= [] # type: List[dict] + if path == ".": # Get current folder name + path = os.getcwd() + files = os.listdir(path) + for file in files: + # get size of each file + info = {"Path": path, "Name": file, "Size": 0} + if path[-1] == "/": + full = "%s%s" % (path, file) + else: + full = "%s/%s" % (path, file) + log.debug("os.stat({})".format(full)) + subdir = [] + try: + stat = os.stat(full) + if stat[0] & 0x4000: # stat.S_IFDIR + info["Type"] = "dir" + # recurse folder(s) + if sub == True: + log.debug("Folder :{}".format(full)) + subdir = listdir(path=full, sub=True, JSON=False, gethash=gethash) + else: + info["Size"] = stat[6] + info["Type"] = "file" + if gethash: + with open(full, "rb") as f: + h = uhashlib.sha256(f.read()) + info["Hash"] = ubinascii.hexlify(h.digest()) + except OSError as e: + log.error("error:{} processing file:{}".format(e, full)) + info["OSError"] = e.args[0] + info["Type"] = "OSError" + info["Fullname"] = full + li.append(info) + # recurse folder(s) + if sub == True: + li = li + subdir + if JSON == True: + return json.dumps(li) + else: + return li diff --git a/tests/quality_tests/feat_stdlib/check_os/check_mount.py b/tests/quality_tests/feat_stdlib/check_os/check_mount.py new file mode 100644 index 000000000..8db14c59a --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_os/check_mount.py @@ -0,0 +1,20 @@ +# SD card +import os +import machine + +# Slot 2 uses pins sck=18, cs=5, miso=19, mosi=23 +# sd = machine.SDCard(slot=2) +# Mount SD to /sd +sdcard = object() + +os.mount(sdcard, "/sd") +print("SD Card mounted") + +sd = 1 +os.mount(sd, "/sd") + +os.listdir("/sd") # list directory contents + +os.umount("/sd") + + diff --git a/tests/quality_tests/feat_stdlib/check_os/check_os_mount.py b/tests/quality_tests/feat_stdlib/check_os/check_os_mount.py new file mode 100644 index 000000000..fc3942af7 --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_os/check_os_mount.py @@ -0,0 +1,13 @@ +# board : ESP32 +# ref : https://docs.micropython.org/en/latest/esp32/quickref.html + +import os + +# SD card +import machine + +sd = bytearray(10 * 1024) + +os.mount(sd, "/sd") # mount +os.listdir("/sd") # list directory contents +os.umount("/sd") # eject diff --git a/tests/quality_tests/feat_stdlib/check_os/check_uname.py b/tests/quality_tests/feat_stdlib/check_os/check_uname.py new file mode 100644 index 000000000..0500b74bf --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_os/check_uname.py @@ -0,0 +1,24 @@ +# SD card +import os +from typing import Union + +from typing_extensions import assert_type, reveal_type + +# test is able to access uname named tuple +if os.uname().release == "1.13.0" and os.uname().version < "v1.13-103": + raise NotImplementedError("MicroPython 1.13.0 cannot be stubbed") + +# Check all uname fields +os_uname = os.uname() +print(os_uname.sysname) +print(os_uname.nodename) +print(os_uname.release) +print(os_uname.machine) +print(os_uname.version) + +assert_type(os_uname.sysname, str) +assert_type(os_uname.nodename, str) +assert_type(os_uname.release, str) +assert_type(os_uname.machine, str) +assert_type(os_uname.version, str) +reveal_type(os_uname) diff --git a/tests/quality_tests/feat_stdlib/check_re/check-Match.py b/tests/quality_tests/feat_stdlib/check_re/check-Match.py new file mode 100644 index 000000000..d5e478e58 --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_re/check-Match.py @@ -0,0 +1,9 @@ +from typing_extensions import assert_type + +import re +Substring ='.*Python' +String1 = "MicroPython" +m =re.match(Substring, String1) + +assert m is not None +assert_type(m, re.Match[str]) diff --git a/tests/quality_tests/feat_stdlib/check_re/check_compile.py b/tests/quality_tests/feat_stdlib/check_re/check_compile.py new file mode 100644 index 000000000..526e74cab --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_re/check_compile.py @@ -0,0 +1,15 @@ +import re +from typing import Any, List, Union + +from typing_extensions import assert_type + +# As re doesn't support escapes itself, use of r"" strings is not +# recommended. +regex = re.compile("[\r\n]") + +result = regex.split("line1\rline2\nline3\r\n") + +assert_type(result, List[Union[str, Any]]) + +# Result: +# ['line1', 'line2', 'line3', '', ''] diff --git a/tests/quality_tests/feat_stdlib/check_struct.py b/tests/quality_tests/feat_stdlib/check_struct.py new file mode 100644 index 000000000..d2e67a03d --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_struct.py @@ -0,0 +1,5 @@ +"""code snippets to check the struct module.""" + +from struct import pack +iam = pack('B', 0x68) + diff --git a/tests/quality_tests/feat_stdlib/check_sys/check_implementation.py b/tests/quality_tests/feat_stdlib/check_sys/check_implementation.py new file mode 100644 index 000000000..8aa3302cc --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_sys/check_implementation.py @@ -0,0 +1,51 @@ +import sys +from typing import Dict, NamedTuple, Tuple + +from typing_extensions import assert_type, get_type_hints + +impl = sys.implementation + + +def is_tuple(imp: Tuple): + ... + + +# indirect check if sys implementation has a base class of a tuple +# there must be a cleaner way to do this but I can't find it +is_tuple(impl) + + +assert_type(impl, NamedTuple) # type: ignore # TODO sys.implementation is not a tuple + + +# assert_type(sys.implementation.name, str) +# assert_type(sys.implementation.version, Tuple[int, int, int]) +# assert_type(sys.implementation._machine, str) +# assert_type(sys.implementation._mpy, int) + +# mpy = ( +# sys.implementation._mpy +# if "_mpy" in dir(sys.implementation) +# else sys.implementation.mpy +# if "mpy" in dir(sys.implementation) +# else "" +# ) + +# TODO - improve sys.implementation in stubs +_ = """ +file sys.pyi + +implementation: _mpy_implementation + +# from stdlib.sys import _version_info +class _mpy_implementation: + name: str + version: Tuple[int, int, int] + _machine: str + _mpy: int + # Define __getattr__, as the documentation states: + # > sys.implementation may contain additional attributes specific to the Python implementation. + # > These non-standard attributes must start with an underscore, and are not described here. + def __getattr__(self, name: str) -> Any: ... + +""" diff --git a/tests/quality_tests/feat_stdlib/check_sys/check_print_exception.py b/tests/quality_tests/feat_stdlib/check_sys/check_print_exception.py new file mode 100644 index 000000000..95082a602 --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_sys/check_print_exception.py @@ -0,0 +1,3 @@ + +# ref: https://github.com/Josverl/micropython-stubber/issues/336 +from sys import print_exception \ No newline at end of file diff --git a/tests/quality_tests/feat_stdlib/check_sys/check_sys.py b/tests/quality_tests/feat_stdlib/check_sys/check_sys.py new file mode 100644 index 000000000..70674bbc2 --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_sys/check_sys.py @@ -0,0 +1,32 @@ +import sys + +bits = 0 +v = sys.maxsize +while v: + bits += 1 + v >>= 1 +if bits > 32: + # 64-bit (or more) platform + ... +else: + # 32-bit (or less) platform + # Note that on 32-bit platform, value of bits may be less than 32 + # (e.g. 31) due to peculiarities described above, so use "> 16", + # "> 32", "> 64" style of comparisons. + ... + +print(sys.version_info[0], sys.version_info[1], sys.version_info[2]) +print(sys.implementation) + + +# Micropython Extensions +exc = Exception +sys.print_exception(exc) + +port = sys.platform +if port in ["unix", "windows"]: + + def byebye(): + print("so long") + + previous = sys.atexit(byebye) # type: ignore diff --git a/tests/quality_tests/feat_stdlib/check_uio.py b/tests/quality_tests/feat_stdlib/check_uio.py new file mode 100644 index 000000000..f98b04e75 --- /dev/null +++ b/tests/quality_tests/feat_stdlib/check_uio.py @@ -0,0 +1,14 @@ +import uio + +# from typing import Any, IO, Optional + +alloc_size = 512 + +buffer = uio.StringIO(alloc_size) +buffer = uio.BytesIO(alloc_size) + +stream = open("file") +buf = io.BufferedWriter(stream, 8) # type: ignore # TODO stdlib.io "TextIOWrapper" is incompatible with "RawIOBase" +print(buf.write(bytearray(16))) # type: ignore # TODO  stdlib.io "bytearray" is incompatible with protocol "ReadableBuffer" + +stream.close() diff --git a/tests/quality_tests/feat_stdlib/pyrightconfig.json b/tests/quality_tests/feat_stdlib/pyrightconfig.json new file mode 100644 index 000000000..e58196fae --- /dev/null +++ b/tests/quality_tests/feat_stdlib/pyrightconfig.json @@ -0,0 +1,22 @@ +{ + "include": [ + "." + ], + "typeshedPaths": [ + "./typings" + ], + "exclude": [ + ".*", + "__*", + "**/typings" + ], + "ignore": [ + "**/typings" + ], + "pythonVersion": "3.8", + "pythonPlatform": "Linux", + "verboseOutput": false, + "typeCheckingMode": "basic", + "typeshedPath": "./typings", + "reportMissingModuleSource": "none" +} \ No newline at end of file diff --git a/tests/quality_tests/feat_stdlib/typecheck_lock.file b/tests/quality_tests/feat_stdlib/typecheck_lock.file new file mode 100644 index 000000000..e69de29bb diff --git a/tests/quality_tests/feat_uasyncio/check_demo/aiorepl.py b/tests/quality_tests/feat_uasyncio/check_demo/aiorepl.py new file mode 100644 index 000000000..3e7829d4c --- /dev/null +++ b/tests/quality_tests/feat_uasyncio/check_demo/aiorepl.py @@ -0,0 +1,187 @@ +# MIT license; Copyright (c) 2022 Jim Mussared + +import re +import sys +import time + +import micropython +import uasyncio as asyncio +from micropython import const + +# Import statement (needs to be global, and does not return). +_RE_IMPORT = re.compile("^import ([^ ]+)( as ([^ ]+))?") +_RE_FROM_IMPORT = re.compile("^from [^ ]+ import ([^ ]+)( as ([^ ]+))?") +# Global variable assignment. +_RE_GLOBAL = re.compile("^([a-zA-Z0-9_]+) ?=[^=]") +# General assignment expression or import statement (does not return a value). +_RE_ASSIGN = re.compile("[^=]=[^=]") + +# Command hist (One reserved slot for the current command). +_HISTORY_LIMIT = const(5 + 1) + + +async def execute(code, g, s): + if not code.strip(): + return + + try: + if "await " in code: + # Execute the code snippet in an async context. + if m := _RE_IMPORT.match(code) or _RE_FROM_IMPORT.match(code): + code = "global {}\n {}".format(m.group(3) or m.group(1), code) + elif m := _RE_GLOBAL.match(code): + code = "global {}\n {}".format(m.group(1), code) + elif not _RE_ASSIGN.search(code): + code = "return {}".format(code) + + code = """ +import uasyncio as asyncio +async def __code(): + {} + +__exec_task = asyncio.create_task(__code()) +""".format( + code + ) + + async def kbd_intr_task(exec_task, s): + while True: + if ord(await s.read(1)) == 0x03: + exec_task.cancel() + return + + l = {"__exec_task": None} + exec(code, g, l) + exec_task = l["__exec_task"] + + # Concurrently wait for either Ctrl-C from the stream or task + # completion. + intr_task = asyncio.create_task(kbd_intr_task(exec_task, s)) + + try: + try: + return await exec_task # type: ignore # pyright/mypy doesn't like the await here + except asyncio.CancelledError: # stubs-ignore: port=="esp32" + pass + finally: + intr_task.cancel() + try: + await intr_task + except asyncio.CancelledError: # stubs-ignore: port=="esp32" + pass + else: + # Excute code snippet directly. + try: + try: + micropython.kbd_intr(3) + try: + return eval(code, g) + except SyntaxError: + # Maybe an assignment, try with exec. + return exec(code, g) + except KeyboardInterrupt: + pass + finally: + micropython.kbd_intr(-1) + + except Exception as err: + print("{}: {}".format(type(err).__name__, err)) + + +# REPL task. Invoke this with an optional mutable globals dict. +async def task(g=None, prompt="--> "): + print("Starting asyncio REPL...") + if g is None: + g = __import__("__main__").__dict__ + try: + micropython.kbd_intr(-1) + s = asyncio.StreamReader(sys.stdin) # type: ignore # TODO: fix type stubs asyncio.StreamReader + # clear = True + hist = [None] * _HISTORY_LIMIT + hist_i = 0 # Index of most recent entry. + hist_n = 0 # Number of history entries. + c = 0 # ord of most recent character. + t = 0 # timestamp of most recent character. + while True: + hist_b = 0 # How far back in the history are we currently. + sys.stdout.write(prompt) + cmd = "" + while True: + b = await s.read(1) + pc = c # save previous character + c = ord(b) + pt = t # save previous time + t = time.ticks_ms() + if c < 0x20 or c > 0x7E: + if c == 0x0A: + # LF + # If the previous character was also LF, and was less + # than 20 ms ago, this was likely due to CRLF->LFLF + # conversion, so ignore this linefeed. + if pc == 0x0A and time.ticks_diff(t, pt) < 20: + continue + sys.stdout.write("\n") + if cmd: + # Push current command. + hist[hist_i] = cmd + # Increase history length if possible, and rotate ring forward. + hist_n = min(_HISTORY_LIMIT - 1, hist_n + 1) + hist_i = (hist_i + 1) % _HISTORY_LIMIT + + result = await execute(cmd, g, s) + if result is not None: + sys.stdout.write(repr(result)) + sys.stdout.write("\n") + break + elif c == 0x08 or c == 0x7F: + # Backspace. + if cmd: + cmd = cmd[:-1] + sys.stdout.write("\x08 \x08") + elif c == 0x02: + # Ctrl-B + continue + elif c == 0x03: + # Ctrl-C + if pc == 0x03 and time.ticks_diff(t, pt) < 20: + # Two very quick Ctrl-C (faster than a human + # typing) likely means mpremote trying to + # escape. + asyncio.new_event_loop() + return + sys.stdout.write("\n") + break + elif c == 0x04: + # Ctrl-D + sys.stdout.write("\n") + # Shutdown asyncio. + asyncio.new_event_loop() + return + elif c == 0x1B: + # Start of escape sequence. + key = await s.read(2) + if key in ("[A", "[B"): + # Stash the current command. + hist[(hist_i - hist_b) % _HISTORY_LIMIT] = cmd # type: ignore - irrelevant + # Clear current command. + b = "\x08" * len(cmd) # type: ignore + sys.stdout.write(b) + sys.stdout.write(" " * len(cmd)) # type: ignore + sys.stdout.write(b) + # Go backwards or forwards in the history. + if key == "[A": + hist_b = min(hist_n, hist_b + 1) + else: + hist_b = max(0, hist_b - 1) + # Update current command. + cmd = hist[(hist_i - hist_b) % _HISTORY_LIMIT] + sys.stdout.write(cmd) + else: + # sys.stdout.write("\\x") + # sys.stdout.write(hex(c)) + pass + else: + sys.stdout.write(b) + cmd += b + finally: + micropython.kbd_intr(3) diff --git a/tests/quality_tests/feat_uasyncio/check_demo/auart_hd.py b/tests/quality_tests/feat_uasyncio/check_demo/auart_hd.py new file mode 100644 index 000000000..0ac285c2c --- /dev/null +++ b/tests/quality_tests/feat_uasyncio/check_demo/auart_hd.py @@ -0,0 +1,114 @@ +# auart_hd.py +# Author: Peter Hinch +# Copyright Peter Hinch 2018-2020 Released under the MIT license + +# Demo of running a half-duplex protocol to a device. The device never sends +# unsolicited messages. An example is a communications device which responds +# to AT commands. +# The master sends a message to the device, which may respond with one or more +# lines of data. The master assumes that the device has sent all its data when +# a timeout has elapsed. + +# In this test a physical device is emulated by the Device class +# To test link X1-X4 and X2-X3 + +from pyb import UART # type: ignore +import uasyncio as asyncio +from primitives.delay_ms import Delay_ms # type: ignore + +# Dummy device waits for any incoming line and responds with 4 lines at 1 second +# intervals. +class Device(): + def __init__(self, uart_no = 4): + self.uart = UART(uart_no, 9600) + self.swriter = asyncio.StreamWriter(self.uart, {}) # type: ignore # TODO: fix type stubs asyncio.StreamWriter + self.sreader = asyncio.StreamReader(self.uart) # type: ignore # TODO: fix type stubs asyncio.StreamReader + asyncio.create_task(self._run()) + + async def _run(self): + responses = ['Line 1', 'Line 2', 'Line 3', 'Goodbye'] + while True: + res = await self.sreader.readline() + for response in responses: + await self.swriter.awrite("{}\r\n".format(response)) + # Demo the fact that the master tolerates slow response. + await asyncio.sleep_ms(300) + +# The master's send_command() method sends a command and waits for a number of +# lines from the device. The end of the process is signified by a timeout, when +# a list of lines is returned. This allows line-by-line processing. +# A special test mode demonstrates the behaviour with a non-responding device. If +# None is passed, no commend is sent. The master waits for a response which never +# arrives and returns an empty list. +class Master(): + def __init__(self, uart_no = 2, timeout=4000): + self.uart = UART(uart_no, 9600) + self.timeout = timeout + self.swriter = asyncio.StreamWriter(self.uart, {}) # type: ignore + self.sreader = asyncio.StreamReader(self.uart) # type: ignore + self.delay = Delay_ms() + self.response = [] + asyncio.create_task(self._recv()) + + async def _recv(self): + while True: + res = await self.sreader.readline() + self.response.append(res) # Append to list of lines + self.delay.trigger(self.timeout) # Got something, retrigger timer + + async def send_command(self, command): + self.response = [] # Discard any pending messages + if command is None: + print('Timeout test.') + else: + await self.swriter.awrite("{}\r\n".format(command)) + print('Command sent:', command) + self.delay.trigger(self.timeout) # Re-initialise timer + while self.delay.running(): + await asyncio.sleep(1) # Wait for 4s after last msg received + return self.response + +async def main(): + print('This test takes 10s to complete.') + master = Master() + device = Device() + for cmd in ['Run', None]: + print() + res = await master.send_command(cmd) + # can use b''.join(res) if a single string is required. + if res: + print('Result is:') + for line in res: + print(line.decode('UTF8'), end='') + else: + print('Timed out waiting for result.') + +def printexp(): + st = '''Expected output: +This test takes 10s to complete. + +Command sent: Run +Result is: +Line 1 +Line 2 +Line 3 +Goodbye + +Timeout test. +Timed out waiting for result. +''' + print('\x1b[32m') + print(st) + print('\x1b[39m') + +def test(): + printexp() + try: + asyncio.run(main()) + except KeyboardInterrupt: + print('Interrupted') + finally: + asyncio.new_event_loop() + print('as_demos.auart_hd.test() to run again.') + +test() diff --git a/tests/quality_tests/feat_uasyncio/check_demo/roundrobin.py b/tests/quality_tests/feat_uasyncio/check_demo/roundrobin.py new file mode 100644 index 000000000..fcf0c57cb --- /dev/null +++ b/tests/quality_tests/feat_uasyncio/check_demo/roundrobin.py @@ -0,0 +1,34 @@ +# roundrobin.py Test/demo of round-robin scheduling +# Author: Peter Hinch +# Copyright Peter Hinch 2017-2020 Released under the MIT license + +# Result on Pyboard 1.1 with print('Foo', n) commented out +# executions/second 5575.6 on uasyncio V3 + +# uasyncio V2 produced the following results +# 4249 - with a hack where sleep_ms(0) was replaced with yield +# Using sleep_ms(0) 2750 + +import uasyncio as asyncio + +count = 0 +period = 5 + + +async def foo(n): + global count + while True: + await asyncio.sleep_ms(0) + count += 1 + print('Foo', n) + + +async def main(delay): + for n in range(1, 4): + asyncio.create_task(foo(n)) + print('Testing for {:d} seconds'.format(delay)) + await asyncio.sleep(delay) + + +asyncio.run(main(period)) +print('Coro executions per sec =', count/period) \ No newline at end of file diff --git a/tests/quality_tests/feat_uasyncio/pyrightconfig.json b/tests/quality_tests/feat_uasyncio/pyrightconfig.json new file mode 100644 index 000000000..e58196fae --- /dev/null +++ b/tests/quality_tests/feat_uasyncio/pyrightconfig.json @@ -0,0 +1,22 @@ +{ + "include": [ + "." + ], + "typeshedPaths": [ + "./typings" + ], + "exclude": [ + ".*", + "__*", + "**/typings" + ], + "ignore": [ + "**/typings" + ], + "pythonVersion": "3.8", + "pythonPlatform": "Linux", + "verboseOutput": false, + "typeCheckingMode": "basic", + "typeshedPath": "./typings", + "reportMissingModuleSource": "none" +} \ No newline at end of file diff --git a/tests/quality_tests/feat_uasyncio/typecheck_lock.file b/tests/quality_tests/feat_uasyncio/typecheck_lock.file new file mode 100644 index 000000000..e69de29bb diff --git a/tests/quality_tests/pyrightconfig.json b/tests/quality_tests/pyrightconfig.json new file mode 100644 index 000000000..ad5bfc564 --- /dev/null +++ b/tests/quality_tests/pyrightconfig.json @@ -0,0 +1,21 @@ +{ + // do not perform type checking from the snippets folder root to avoid conflicts with other workspaces + "include": [ + "test_*.py", + // "nothing_at_all" + ], + "exclude": [ + "check_*", + "feat_*", + ".*", + // "**/typings" + ], + "ignore": [ + // "**/typings" + ], + "pythonVersion": "3.8", + "pythonPlatform": "Linux", + "verboseOutput": false, + "typeCheckingMode": "off", + "reportMissingModuleSource": "none" +} \ No newline at end of file diff --git a/tests/quality_tests/readme.md b/tests/quality_tests/readme.md new file mode 100644 index 000000000..a863aaecb --- /dev/null +++ b/tests/quality_tests/readme.md @@ -0,0 +1,115 @@ +# Validation Snippets + +This folder contains a collection of code snippets to help validate the quality of the stubs by providing some code to validate. +Think of this as 'End to End' tests or integration tests for the stubs. + + +Please read : https://typing.readthedocs.io/en/latest/source/quality.html#testing-using-assert-type-and-warn-unused-ignores + +## Usage + +Note: In order to get the correct typechecking for each of the folders/mcu architectures, +you should open/add this folder to a VSCode workspace workspace or open it in a seperate VSCode window + +You can update / install the type-stubs in the various typings folders by running the following command: + +```powershell +# Update the type stubs +# , "v1.18.0", "v1.17.0" +foreach ($version in @( "latest","v1.21.0", "v1.20.0", "v1.19.1" )) { + stubber get-docstubs --version $version + stubber get-frozen --version $version + stubber merge --version $version --port auto --board auto + stubber build --version $version --port auto --board auto +} + + +``` + +stubber switch latest +stubber get-docstubs +stubber merge --version latest +stubber build --version latest + +.\snippets\install-stubs.ps1 +``` +## Test with pytest + +There is a custom pytest configuration in `conftests.py` that will automatically download and copy the relevant stubs to the `typings` folder in the various `check_xxxx` and `feat_yyyy` folders. + +The configuration of these test is part of the `test_snippets.py` file in the `snippets` folder. + +Example of running the tests: +- run all tests (using any cached stubs - Max lifetime = 24 Hr) : + `pytest ./snippets` + +- run all tests - but clear the cache first : : + `pytest ./snippets --cache-clear` + +- run a single test : + `pytest snippets\test_snippets.py::test_pyright[local-v1.20.0-stm32-stdlib]` + +- run a single test but clear the cache first : : + `pytest --cache-clear snippets\test_snippets.py::test_pyright[local-v1.20.0-stm32-stdlib]` + +## Test with pyright (used by the Pylance VSCode extension) + +```powershell +.\snippets\check-stubs.ps1 +``` + + +### Naming convention + +Use the same top-level name for the module / package you would like to test. +Use the `check_${thing}.py` naming pattern for individual test files. + +By default, test cases go into a file with the same name as the stub file, prefixed with `check_`. +For example: `stdlib/check_contextlib.py`. + +If that file becomes too big, we instead create a directory with files named after individual objects being tested. +For example: `stdlib/builtins/check_dict.py`. + + +### How the tests work +Below is a relevant section from pypy's testing readme.md + +The code in this directory is not intended to be directly executed. Instead, +type checkers are run on the code, to check that typing errors are +emitted at the correct places. + +Some files in this directory simply contain samples of idiomatic Python, which +should not (if the stubs are correct) cause a type checker to emit any errors. + +Many test cases also make use of +[`assert_type`](https://docs.python.org/3.11/library/typing.html#typing.assert_type), +a function which allows us to test whether a type checker's inferred type of an +expression is what we'd like it be. + +Finally, some tests make use of `# type: ignore` comments (in combination with +mypy's +[`--warn-unused-ignores`](https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-warn-unused-ignores) +setting and pyright's +[`reportUnnecessaryTypeIgnoreComment`](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#type-check-diagnostics-settings) +setting) to test instances where a type checker *should* emit some kind of +error, if the stubs are correct. Both settings are enabled by default for the entire +subdirectory. + +For more information on using `assert_type` and +`--warn-unused-ignores`/`reportUnnecessaryTypeIgnoreComment` to test type +annotations, +[this page](https://typing.readthedocs.io/en/latest/source/quality.html#testing-using-assert-type-and-warn-unused-ignores) +provides a useful guide. + +## Caching of packages + +In order to reducte the time needed to run the tests of the snippets, we cache the packages in the `.pytest_cache` folder. +this makes use of the `pytest_cache` plugin : https://pypi.org/project/pytest-cache/ + +The cache lifetime for each package is 24 hours, after which it will be re-downloaded. +The cache can be cleared by: + - running the following command: `pytest --clearcache` + - deleting the `.pytest_cache` folder + - By pressing the 'refresh-test' 🔄️ button in the test explorer. + Note: This is a side-effect/bug of the current version (v2023.18.0) of the python explorer extension. + diff --git a/tests/quality_tests/results.csv b/tests/quality_tests/results.csv new file mode 100644 index 000000000..e69de29bb diff --git a/tests/quality_tests/results.json b/tests/quality_tests/results.json new file mode 100644 index 000000000..a73ab44db Binary files /dev/null and b/tests/quality_tests/results.json differ diff --git a/tests/quality_tests/snippets.code-workspace b/tests/quality_tests/snippets.code-workspace new file mode 100644 index 000000000..c9d81232b --- /dev/null +++ b/tests/quality_tests/snippets.code-workspace @@ -0,0 +1,107 @@ +{ + "folders": [ + { + "name": "check_stm32", + "path": "check_stm32" + }, + { + "name": "check_esp32", + "path": "check_esp32" + }, + { + "name": "check_esp8266", + "path": "check_esp8266" + }, + { + "name": "check_rp2", + "path": "check_rp2" + }, + { + "name": "check_samd", + "path": "check_samd" + }, + { + "name": "check_unix", + "path": "check_unix" + }, + { + "name": "feat_uasyncio", + "path": "feat_uasyncio" + }, + { + "name": "feat_micropython", + "path": "feat_micropython" + }, + { + "name": "feat_stdlib", + "path": "feat_stdlib" + }, + { + "name": "feat_bluetooth", + "path": "feat_bluetooth" + }, + { + "name": "feat_networking", + "path": "feat_networking" + }, + { + "name": "feat_espnow", + "path": "feat_espnow" + }, + { + "name": "wip_todo", + "path": "wip_todo" + }, + { + "name": "snippets", + "path": "." + }, + { + "path": "../repos/micropython-stubs" + } + ], + "settings": { + "python.languageServer": "Pylance", + "python.analysis.typeCheckingMode": "basic", + "python.analysis.diagnosticMode": "openFilesOnly", + "python.analysis.diagnosticSeverityOverrides": { + "reportMissingModuleSource": "none" + }, + // "python.autoComplete.extraPaths": [], + // "python.analysis.typeshedPaths": [], + "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter" + }, + "workbench.colorCustomizations": { + "activityBar.activeBackground": "#f13e97", + "activityBar.background": "#f13e97", + "activityBar.foreground": "#e7e7e7", + "activityBar.inactiveForeground": "#e7e7e799", + "activityBarBadge.background": "#305906", + "activityBarBadge.foreground": "#e7e7e7", + "commandCenter.border": "#e7e7e799", + "editorGroup.border": "#f13e97", + "panel.border": "#f13e97", + "sash.hoverBorder": "#f13e97", + "statusBar.background": "#eb117e", + "statusBar.foreground": "#e7e7e7", + "statusBarItem.hoverBackground": "#f13e97", + "statusBarItem.remoteBackground": "#eb117e", + "statusBarItem.remoteForeground": "#e7e7e7", + "tab.activeBorder": "#f13e97", + "titleBar.activeBackground": "#eb117e", + "titleBar.activeForeground": "#e7e7e7", + "titleBar.inactiveBackground": "#eb117e99", + "titleBar.inactiveForeground": "#e7e7e799" + }, + "peacock.color": "#eb117e", + "testExplorer.useNativeTesting": true, + "python.analysis.enableSyncServer": false, + "python.testing.autoTestDiscoverOnSaveEnabled": false + }, + "extensions": { + "recommendations": [ + "ms-python.black-formatter" + ] + }, +} \ No newline at end of file diff --git a/tests/quality_tests/test-stubs.ps1 b/tests/quality_tests/test-stubs.ps1 new file mode 100644 index 000000000..d500eb250 --- /dev/null +++ b/tests/quality_tests/test-stubs.ps1 @@ -0,0 +1,7 @@ +# Activate the venv + +./.venv/bin/activate.ps1 + +. ./snippets/update-stubs.ps1 +# then run the test with a clear cache to use the latest stubs +pytest -m 'snippets' --cache-clear diff --git a/tests/quality_tests/test_snippets.py b/tests/quality_tests/test_snippets.py new file mode 100644 index 000000000..df5b7c80c --- /dev/null +++ b/tests/quality_tests/test_snippets.py @@ -0,0 +1,228 @@ +import json +import logging +import platform +import re +import subprocess +from pathlib import Path +from typing import Dict, List + +import fasteners +import pytest +from packaging.version import Version + +# only snippets tests +pytestmark = pytest.mark.snippets + +log = logging.getLogger() + +CORE = ["micropython", "stdlib", "uasyncio:skip port=='esp8266'"] + +# features that are not supported by all ports or boards and/or require a specific version +# format: -: or : +# if the conditon IS met, the feature is skipped - so please read as SKIP if condition or prefix with 'skip' +# condition: version<1.21.0 or not port.startswith('esp') +PORTBOARD_FEATURES = { + "stm32": CORE, + "stm32-pybv11": CORE, + "esp32": CORE + + [ + "networking", + "bluetooth:skip version<1.20.0", + "espnow:skip version<1.21.0", + ], + "esp8266": CORE + ["networking"], # TODO: New board stubs for esp8266, "espnow>=1.21.0"], + "samd": CORE, + "samd-seeed_wio_terminal": CORE, + # "samd-ADAFRUIT_ITSYBITSY_M4_EXPRESS": CORE, + "rp2": CORE, + "rp2-pico:skip version>1.20.0": CORE, # renamed later to rp2-rpi_pico + "rp2-pico_w:skip version>1.20.0": CORE + ["networking"], + # + "rp2-rpi_pico:skip version<1.21.0": CORE, + "rp2-rpi_pico_w:skip version<1.21.0": CORE + + [ + "networking", + "bluetooth:skip version<1.21.0", + ], + # "rp2-pimoroni_picolipo_16mb": CORE, +} + +SOURCES = ["local"] # , "pypi"] # do not pull from PyPI all the time +VERSIONS = [ + "latest", + "v1.21.0", + "v1.20.0", + "v1.19.1", + # "v1.18", +] + + +def port_and_board(portboard): + if "-" in portboard: + port, board = portboard.split("-", 1) + else: + port, board = portboard, "" + return port, board + + +def pytest_generate_tests(metafunc: pytest.Metafunc): + """ + Generates a test parameterization for each portboard, version and feature defined in: + - SOURCES + - VERSIONS + - PORTBOARD_FEATURES + """ + argnames = "stub_source, version, portboard, feature" + args_lst = [] + for src in SOURCES: + for version in VERSIONS: + # skip latest for pypi + if src == "pypi" and version == "latest": + continue + for key in PORTBOARD_FEATURES.keys(): + portboard = key + if ":" in portboard: + portboard, condition = portboard.split(":", 1) + port, board = port_and_board(portboard) + if stub_ignore( + condition, version, port, board, linter="pytest", is_source=False + ): + continue + else: + port, board = port_and_board(portboard) + + # add the check_ feature + args_lst.append([src, version, portboard, port]) + for feature in PORTBOARD_FEATURES[key]: + if ":" in feature: + # Check version for features, split feature in name and version + feature, condition = feature.split(":", 1) + if stub_ignore( + condition, version, port, board, linter="pytest", is_source=False + ): + continue + feature = feature.strip() + args_lst.append([src, version, portboard, feature]) + metafunc.parametrize(argnames, args_lst, scope="session") + + +def filter_issues(issues: List[Dict], version: str, portboard: str = ""): + port, board = portboard.split("-") if "-" in portboard else (portboard, "") + for issue in issues: + filename = Path(issue["file"]) + with open(filename, "r") as f: + lines = f.readlines() + line = issue["range"]["start"]["line"] + if len(lines) > line: + theline: str = lines[line] + # check if the line contains a stubs-ignore comment + if stub_ignore(theline, version, port, board): + issue["severity"] = "information" + return issues + + +def stub_ignore(line, version, port, board, linter="pyright", is_source=True) -> bool: + """ + Check if a typecheck error should be ignored based on the version of micropython , the port and the board + the same syntax can be used in the source file or in the test case condition : + + format of the source line (is_source=True) + import espnow # stubs-ignore: version<1.21.0 or not port.startswith('esp') + + or condition (is_source=False) line: + version<1.21.0 + skip version<1.21.0 # skip prefix to helps human understanding / reading + skip port.startswith('esp') + """ + if is_source: + comment = line.rsplit("#")[-1].strip() + if not (comment.startswith("stubs-ignore") and ":" in comment): + return False + id, condition = comment.split(":") + if id.strip() != "stubs-ignore": + return False + condition = condition.strip() + else: + condition = line.strip() + if condition.lower().startswith("skip"): + condition = condition[4:].strip() + context = {} + context["Version"] = Version + context["version"] = Version(version) if version != "latest" else Version("9999.99.99") + context["port"] = port + context["board"] = board + context["linter"] = linter + + try: + # transform : version>=1.20.1 to version>=Version('1.20.1') using a regular expression + condition = re.sub(r"(\d+\.\d+\.\d+)", r"Version('\1')", condition.strip()) + result = eval(condition, context) + print(f'stubs-ignore: {condition} -> {"Skip" if result else "Process"}') + except Exception as e: + log.warning(f"Incorrect stubs-ignore condition: `{condition}`\ncaused: {e}") + result = False + + return bool(result) + + +def test_pyright( + stub_source: str, + version: str, + portboard: str, + feature: str, + snip_path: Path, + copy_type_stubs: None, # Avoid needing autouse fixture + caplog: pytest.LogCaptureFixture, + pytestconfig: pytest.Config, +): + if not snip_path or not snip_path.exists(): + FileNotFoundError(f"no feature folder for {feature}") + caplog.set_level(logging.INFO) + + log.info(f"PYRIGHT {portboard}, {feature} {version} from {stub_source}") + + cmd = f"pyright --project {snip_path.as_posix()} --outputjson" + typecheck_lock = fasteners.InterProcessLock(snip_path / "typecheck_lock.file") + + use_shell = platform.system() != "Windows" + results = {} + with typecheck_lock: + try: + # run pyright in the folder with the check_scripts to allow modules to import each other. + result = subprocess.run(cmd, shell=use_shell, capture_output=True, cwd=snip_path.as_posix()) + except OSError as e: + raise e + if result.returncode >= 2: + assert ( + 0 + ), f"Pyright failed with returncode {result.returncode}: {result.stdout}\n{result.stderr}" + try: + results = json.loads(result.stdout) + except Exception: + assert 0, "Could not load pyright's JSON output..." + + issues: List[Dict] = results["generalDiagnostics"] + # for each of the issues - retrieve the line in the source file to inspect if has a trailing comment + issues = filter_issues(issues, version, portboard) + + # log the errors in the issues list so that pytest will capture the output + for issue in issues: + # log file:line:column?: message + try: + relative = Path(issue["file"]).relative_to(pytestconfig.rootpath).as_posix() + except Exception: + relative = issue["file"] + msg = f"{relative}:{issue['range']['start']['line']+1}:{issue['range']['start']['character']} {issue['message']}" + # caplog.messages.append(msg) + if issue["severity"] == "error": + log.error(msg) + elif issue["severity"] == "warning": + log.warning(msg) + else: + log.info(msg) + + info_msg = f"Pyright found {results['summary']['errorCount']} errors and {results['summary']['warningCount']} warnings in {results['summary']['filesAnalyzed']} files." + errorcount = len([i for i in issues if i["severity"] == "error"]) + assert errorcount == 0, info_msg + + # return issues diff --git a/tests/quality_tests/wip_todo/pyrightconfig.json b/tests/quality_tests/wip_todo/pyrightconfig.json new file mode 100644 index 000000000..ad7d1979d --- /dev/null +++ b/tests/quality_tests/wip_todo/pyrightconfig.json @@ -0,0 +1,33 @@ +{ + "include": [ + "." + ], + "exclude": [ + ".*", + "__*", + "typings" + ], + // section 1 - platform + "pythonVersion": "3.8", + "pythonPlatform": "Linux", // or "All" + "verboseOutput": false, + // section 2 - required settings + "typeCheckingMode": "basic", // ["off", "basic", "strict"]: Specifies the default rule set to use + "typeshedPath": "./typings", + // section 3 - set code quality checks + "reportMissingImports": "error", + "reportGeneralTypeIssues": "error", // interesting + "reportUndefinedVariable": "warning", // "_WHO_AM_I_REG" is not defined - Not a showstopper + // section 4 - informational + "reportMissingTypeStubs": "information", + "reportOptionalCall": "information", // Object of type "None" cannot be called + "reportInvalidStringEscapeSequence": "information", + "reportUnboundVariable": "information", + "reportOptionalSubscript": "information", + // section 5 - reduce noise + "reportOptionalMemberAccess": "none", // "read" is not a known member of "None" - occurs often in frozen code + "reportWildcardImportFromLibrary": "none", + "reportUnknownArgumentType": "none", + "reportSelfClsParameterName": "none", + "reportMissingModuleSource": "none", +} \ No newline at end of file diff --git a/tests/quality_tests/wip_todo/sample-snippets.py b/tests/quality_tests/wip_todo/sample-snippets.py new file mode 100644 index 000000000..b560f41cd --- /dev/null +++ b/tests/quality_tests/wip_todo/sample-snippets.py @@ -0,0 +1,459 @@ +# ----------------------- +# flashing led +# ----------------------- +import time +from machine import I2C, Pin, freq + +# blue led on pin 2 +blue = Pin(5, Pin.OUT) + +for x in range(20): + blue.value(0) + time.sleep_ms(100) + blue.value(1) + time.sleep_ms(100) + +blue.value(0) + +# --------------------------- +# Toggle pin(value) +# --------------------------- +for x in range(20): + blue.value((not blue.value())) + time.sleep_ms(100) + +# ----------------------- +# PWM Pulse Width Modulation +# ----------------------- + +import machine + +BlueLED = machine.PWM(machine.Pin(26), freq=1, duty=50) + +BlueLED.deinit() + +# Fade LED +import time +import machine + +BlueLED = machine.PWM(machine.Pin(26), freq=5000, duty=0) +for j in range(100): + for i in range(100): + BlueLED.duty(i) + time.sleep(0.01) + for i in range(100, 0, -1): + BlueLED.duty(i) + time.sleep(0.01) + + +# ----------------------- +# run (another) script in the global scope +# The Python functions eval and exec invoke the compiler at runtime, +# which requires significant amounts of RAM +# NOTE: In most cases it is better to use a well formed module +# and import that module, and call any required functions. +# ----------------------- +# TODO: support `.read` on open('somescript.py').read() +exec(open("somescript.py").read(), globals()) # type:ignore +exec(open("createstubs.py").read(), globals()) # type:ignore + +# ----------------------- +# set M5Stack speaker to off +# to avoid electonic whine when using pin 26 on PWM +# https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/wiki/pin +# ----------------------- +from machine import Pin + +# set speaker = Pin 25, output to 0 (silence) +speaker = Pin(25, Pin.OUT, value=0) + + +# ----------- +# Snippet WiFI +# Start WiFi +# ----------- +import network, time + +wifi_ssid = "Bootcamp" +wifi_psk = "MicroPython" +wlan = network.WLAN(network.STA_IF) +tmo = 50 +if not wlan.isconnected(): + print("connecting to network...") + wlan.active(True) + wlan.connect(wifi_ssid, wifi_psk) + # Wait for WiFi connection + while not wlan.isconnected(): + if tmo == 0: + break + # BlinkLed(led) + print(".", end="") + tmo -= 1 + time.sleep_ms(200) + print() +if tmo != 0: + print("network config:", wlan.ifconfig()) +else: + print("could not connect to WiFi") + wlan.active(False) # get the interface's IP/netmask/gw/DNS addresses + + +# ------------------------ +# decode bytearray +# ------------------------ + +b = b"!A7B3\n" +b.decode("utf8") + +import binascii + + +def decode(a: bytearray): + "bytearray to string" + return binascii.hexlify(a).decode() + + +# ---------- +# Snippet: UniqueID +# retrieve The machines unique ID +# ----------- +import machine, binascii + +id_hex = machine.unique_id() +id_b = binascii.hexlify(id_hex) +# optional - decode to string, takes 2x memory +print("Unique ID: {}".format(decode(machine.unique_id()))) + + +import machine, binascii + +id_hex = machine.unique_id() +id_b = binascii.hexlify(id_hex) +# optional - decode to string, takes 2x memory +id_s = id_b.decode("utf-8") +print("Unique ID: {}".format(id_s)) + +# ------------------------ +# Scan for accesspoints +# ------------------------ +import network + +nic = network.WLAN(network.STA_IF) +_ = nic.active(True) +# networks = nic.scan() +# sort on signal strength +networks = sorted(nic.scan(), key=lambda x: x[3], reverse=True) + +_f = "{0:<32} {2:>8} {3:>8} {4:>8} {5:>8}" + +print(_f.format("SSID", "bssid", "Channel", "Signal", "Authmode", "Hidden")) +for row in networks: + print(_f.format(*row)) + +del _f + +# ------------------------------ +# String formatting +# https://pyformat.info/#simple +# ----------------------------- + +# basic New +"{} {}".format("one", "two") +# basic Old +"%s %s" % ("one", "two") + +# print information from a list ( one star ) +mylist = "Jos", "Verlinde" +print("{} {}".format(*mylist)) + + +# print information from a dict ( two star , use named ) +data = {"first": "Jos", "last": "Verlinde"} +print("{first} {last}".format(**data)) +# or +"{first} {last}".format(first="Hodor", last="Hodor!") + +# Padding and alligning strings +# Align right: +"{:>10}".format("test") + +# Align left: +"{:10}".format("test") +# or +"{:<10}".format("test") + +# format as type +"{:X}".format(511) + +# Type Meaning +# 'b' Binary format. Outputs the number in base 2. +# 'c' Character. Converts the integer to the corresponding unicode character before printing. +# 'd' Decimal Integer. Outputs the number in base 10. +# 'o' Octal format. Outputs the number in base 8. +# 'x' Hex format. Outputs the number in base 16, using lower-case letters for the digits above 9. +# 'X' Hex format. Outputs the number in base 16, using upper-case letters for the digits above 9. +# 'n' Number. This is the same as 'd', except that it uses the current locale setting to insert the appropriate number separator characters. +# None The same as 'd'. + +# Padding numbers +# Similar to strings numbers can also be constrained to a specific width. +"{:4d}".format(42) + + +# For floating points the padding value represents the length of the complete output. In the example below we want our output to have at least 6 characters with 2 after the decimal point. +"{:6.2f}".format(3.141592653589793) +# leading zero +"{:06.2f}".format(3.141592653589793) + + +# For integer values providing a precision doesn't make much sense and is actually forbidden in the new style (it will result in a ValueError). +"{:04d}".format(42) + +# Signed +"{:+4d}".format(42) + +# Use a space character to indicate that negative numbers should be prefixed with a minus symbol and a leading space should be used for positive ones. +"{: d}".format((-23)) + + +# try: +# #main code +# ... +# except e as identifier: +# #handle error +# ... + +# raise an error +if 0: + raise ValueError("A very specific bad thing happened.") + +# Best practice in handling errors and logging: +import logging + +logger = logging.getLogger(__name__) + +try: + # do_something_in_app_that_breaks_easily() + a = 1 / 0 +except Exception as error: + logger.error(error) + raise # just this! + +# ----------------------------------------- +# handle specific OSErrors using e.args[0] +# ----------------------------------------- +import errno +import os + +# ensure a folder exists +try: + os.mkdir("existing") +except OSError as e: + if e.args[0] != errno.EEXIST: + print(e, "unexpected error creating folder") + + +# ------------------------------ +# mount SDCard MicroPython 1.11 +# SDCard configuration +# - Lolin32/TTGO 8 v1.8 SDCard(slot=1, width=4), # SD mode 4 bit +# - M5Stack Core SDCard(slot=2, width=1, sck=18, miso=19, mosi=23, cs=4), "/sd") # SPI 1 bit +# https://docs.micropython.org/en/latest/library/machine.SDCard.html#esp32 +# ------------------------------ + +import machine +import uos as os + +# Mount SD to /sd +try: + # Some boards have pulldown and/or LED on GPIO2, pullup avoids issues on TTGO 8 v1.8 + # machine.Pin(2,mode=machine.Pin.IN, pull=machine.Pin.PULL_UP) + # os.mount(machine.SDCard(slot=1, width=4), "/sd") # SD mode 4 bit + + # # SPI 1 bit M5Stack Core + os.mount(machine.SDCard(slot=2, width=1, sck=18, miso=19, mosi=23, cs=4), "/sd") # SPI 1 bit M5Stack Core + print("SD Card mounted") +except OSError as e: + if e.args[0] == 16: + print("No SD Card found") + + +print(os.listdir("/")) +print(os.listdir("/sd")) + + +# ------------------------------ +# convert a binary string to usable data +# For more information on format strings and endiannes, refer to +# https://docs.python.org/3.5/library/struct.html +# ------------------------------ + +import struct + +# Packing values to bytes +# The first parameter is the format string. Here it specifies the data is structured +# with a single four-byte integer followed by two characters. +# The rest of the parareadings are the values for each item in order +binary_data = struct.pack("icc", 8499000, b"A", b"Z") +print(binary_data) + + +# When unpacking, you receive a tuple of all data in the same order +tuple_of_data = struct.unpack("icc", binary_data) +print(tuple_of_data) + +## +import logging + +x = "something" + +logging.basicConfig(level=logging.DEBUG) +# log = logging.getLogger(__name__) +# in modules the __name__ variable can be used +log = logging.getLogger("") + +log.critical("critical debug message") +log.error("debug message") +log.warning("debug message") +log.info("debug message") +log.debug("debug value{}".format(x)) + + + + + +# example use +with SkeletonFixture() as fixture: + fixture.method() + + +# -------------------------------------- +# offline download modules +# -------------------------------------- + +# import the network module + + +# -------------------------------------- +# Connect to the network (ESP32 / ESP8622) +# -------------------------------------- + + + + +# ------------------------------------------------------------- +# Identifying the slowest section of code +# ------------------------------------------------------------- +# This is a process known as profiling and is covered in textbooks and (for standard Python) supported by various software tools. +# For the type of smaller embedded application likely to be running on MicroPython platforms the slowest function or method can usually +# be established by judicious use of the timing ticks group of functions documented in utime. Code execution time can be measured in ms, us, or CPU cycles. +# +# The following enables any function or method to be timed by adding an @timed_function decorator: +import utime + + +def timed_function(f, *args, **kwargs): + "enables any function or method to be timed by adding an @timed_function decorator" + myname = str(f).split(" ")[1] + + def new_func(*args, **kwargs): + t = utime.ticks_us() + result = f(*args, **kwargs) + delta = utime.ticks_diff(utime.ticks_us(), t) + print("Function {} Time = {:6.3f}ms".format(myname, delta / 1000)) + return result + + return new_func + + +@timed_function +def foo(): + pass + + +# ------------------------------------------------------------- +# simple function result caching +# Ref: https://dbader.org/blog/python-memoization +# ------------------------------------------------------------- +# decorator to ret +# + + +def memoize(func): + "basic moemoization, will eat memory" + cache = dict() + + def memoized_func(*args): + if args in cache: + return cache[args] + result = func(*args) + cache[args] = result + return result + + return memoized_func + + +# example of fibonacci +def fibonacci(n): + if n == 0: + return 0 + elif n == 1: + return 1 + return fibonacci(n - 1) + fibonacci(n - 2) + + +# exampleof speeded up fibonacci, ( just add decorator) +@memoize +def fibonacci(n): + if n == 0: + return 0 + elif n == 1: + return 1 + return fibonacci(n - 1) + fibonacci(n - 2) + + +# ------------------------------------------------------------- +# take a number of itemes from an iterable list / database / thing +# ref : https://anandology.com/python-practice-book/iterators.html#generators +# ------------------------------------------------------------- + + +def take(n, seq): + """Returns first n values from the given sequence.""" + seq = iter(seq) + result = [] + try: + for i in range(n): + result.append(next(seq)) + except StopIteration: + pass + return result + + +# ------------------------------------------------------------- +# +# ------------------------------------------------------------- +def isMicroPython() -> bool: + "runtime test to determine full or micropython" + # pylint: disable=unused-variable,eval-used + try: + # both should fail on micropython, just to be sure + # a) https://docs.micropython.org/en/latest/genrst/syntax.html#spaces + # b) https://docs.micropython.org/en/latest/genrst/builtin_types.html#bytes-with-keywords-not-implemented + a = eval("1and 0") + b = bytes("abc", encoding="utf8") + return False + except (NotImplementedError, SyntaxError): + return True + + +print("MicroPython" if isMicroPython() else "python") + +# ------------------------------------------------------------- +# +# ------------------------------------------------------------- +# M5 stick scan internal I2C bus +from machine import I2C, Pin + +i2c = I2C(0, freq=400000, scl=Pin(22), sda=Pin(21)) +i2c.scan() diff --git a/update_all_modules.py b/update_all_modules.py deleted file mode 100644 index 8ea14f874..000000000 --- a/update_all_modules.py +++ /dev/null @@ -1,108 +0,0 @@ -""" -Creates a all_modules.json file containing a list of all modules across all micropython boards and ports -this is build by running this script from the root of the micropython-stubs repository -- it parses the modules.json files of all the published packages in the repository - Therefore the package builds should be run before this script is run - - -Viewer : https://flatgithub.com/Josverl/micropython-stubs/?filename=all_modules.json -""" - - -import contextlib -import hashlib -import json -import os -import sys -from pathlib import Path -from typing import Dict, List, Optional, Tuple - -from packaging.version import Version - -try: - import tomllib # type: ignore -except ModuleNotFoundError: - import tomli as tomllib # type: ignore - -ADD_STDLIB = False - -def partialhash(file:Path): - with open(file, "rb") as f: - # read by line and hash - md5 = hashlib.blake2b(digest_size=4) - # skip the module docstring and initial comments - l = 0 - for line in f: - # skip tripple quoated docstring - if line.startswith(b'"""'): - l += 1 - for line in f: - l += 1 - if line.startswith(b'"""'): - break - # skip comment - if line.startswith(b"#"):# and l < 10: - l += 1 - continue - md5.update(line) - return md5.hexdigest() - -def main(output_file="all_modules.json", input_dir="publish"): - all_modules = [] - for pkg_path in Path(input_dir).rglob("pyproject.toml"): - if "stdlib" in str(pkg_path): - continue - # if not "1_18" in str(pkg_path) and not "1_17" in str(pkg_path): - # continue - try: - add_package(pkg_path,all_modules) - except KeyError as e: - continue - with open("all_modules.json", "w") as f: - json.dump(all_modules, f, indent=4) - -def add_package(pkg_path:Path, all_modules, port="", board="", pkg_version=""): - with open(pkg_path, 'rb') as f: - # port , board and pkg_version are optional and are only used for stdlib modules - # to keep these consistend with the port and board they are included in - pyproject = tomllib.load(f) - pkg_name = pyproject["tool"]["poetry"]["name"] - pkg_version = pkg_version or pyproject["tool"]["poetry"]["version"] - mpy_version = Version(pkg_version).base_version - modules = pyproject["tool"]["poetry"]["packages"] - familiy ="" - - with contextlib.suppress(KeyError, IndexError): - familiy = pyproject["tool"]["poetry"]["name"].split("-")[0] - port = port or pyproject["tool"]["poetry"]["name"].split("-")[1] - board = board or pyproject["tool"]["poetry"]["name"].split("-")[2] - - if board == "stubs": - board = "GENERIC" - for mod in modules: - # get module name - mod_name = mod["include"].split(".")[0] - if mod_name.startswith("stdlib/"): - mod_name = mod_name.split("/")[1] - row = { - "family": familiy, - "version": mpy_version, - "mod_name": mod_name, - "port": port, - "board": board, - "package": pkg_name, - "pkg_version": pkg_version, - "hash": partialhash(pkg_path.parent / mod["include"]), - } - all_modules.append(row) - if ADD_STDLIB: - # add stdlib modules if they are included in the pyproject.toml - dependencies = pyproject["tool"]["poetry"]["dependencies"] - for dep in dependencies: - if dep.startswith("micropython-"): - dep_pkg_path = pkg_path.parent.parent/ dep / "pyproject.toml" - # add stdlib modules for this port & board - add_package(dep_pkg_path,all_modules, port , board, pkg_version) - -if __name__ == "__main__": - main() \ No newline at end of file