Type stubs (.pyi) for the M5Stack UIFlow2 MicroPython firmware — M5 module
Project description
m5stack-stubs
Type stubs (.pyi) for the M5Stack UIFlow2 MicroPython firmware, so editors
(Pylance / pyright) give autocomplete and type checking for the M5 module —
which is a compiled C module that no other stub package covers.
pip install m5stack-stubs
Then import M5 resolves with real method signatures and constant values:
import M5
M5.Lcd.fillRect(0, 0, 100, 50, 0xFFFF) # fillRect(x, y, w, h, color=...) -> None
pressed: bool = M5.BtnA.isPressed() # isPressed() -> bool
adv = M5.BOARD.M5CardputerADV # 24
Generated from the official firmware C source by m5stubgen. The package version tracks the firmware release it was generated from.
Stub-only package — it ships
.pyifiles only and has no runtime effect.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file m5stack_stubs-0.1.0.tar.gz.
File metadata
- Download URL: m5stack_stubs-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
538053b3ec00400a013de0f57c22d4dcfbc94904f4fc3c2987c50c162a84a94f
|
|
| MD5 |
cdf8d3cbe80b064c1b97878a5dae70e8
|
|
| BLAKE2b-256 |
4966ca5f77a7104de27969a625826ed601730d7b663f76a4d04f8516083a2608
|
Provenance
The following attestation bundles were made for m5stack_stubs-0.1.0.tar.gz:
Publisher:
release.yml on N0I0C0K/m5stack-stubs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
m5stack_stubs-0.1.0.tar.gz -
Subject digest:
538053b3ec00400a013de0f57c22d4dcfbc94904f4fc3c2987c50c162a84a94f - Sigstore transparency entry: 1809564998
- Sigstore integration time:
-
Permalink:
N0I0C0K/m5stack-stubs@deb254d90769eecd17a12dff78182b5ca139f41a -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/N0I0C0K
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@deb254d90769eecd17a12dff78182b5ca139f41a -
Trigger Event:
release
-
Statement type:
File details
Details for the file m5stack_stubs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: m5stack_stubs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba1534f3f2788a6a8745c99ea80ebac6802107f9d8d478c95c8c4a4f368132a0
|
|
| MD5 |
ccb382cedf8ca3e8307522296fc83bb3
|
|
| BLAKE2b-256 |
39e4bfac294d343751e5422747f1b7a8dfab22c68572ec7fd5a44bb212c5775c
|
Provenance
The following attestation bundles were made for m5stack_stubs-0.1.0-py3-none-any.whl:
Publisher:
release.yml on N0I0C0K/m5stack-stubs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
m5stack_stubs-0.1.0-py3-none-any.whl -
Subject digest:
ba1534f3f2788a6a8745c99ea80ebac6802107f9d8d478c95c8c4a4f368132a0 - Sigstore transparency entry: 1809565002
- Sigstore integration time:
-
Permalink:
N0I0C0K/m5stack-stubs@deb254d90769eecd17a12dff78182b5ca139f41a -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/N0I0C0K
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@deb254d90769eecd17a12dff78182b5ca139f41a -
Trigger Event:
release
-
Statement type: