Skip to main content

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 .pyi files only and has no runtime effect.

License

MIT

Metadata

Release files for m5stack-stubs 0.1.1

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

Source distribution (sdist)

Source distribution for m5stack-stubs 0.1.1
File Size Uploaded Provenance
m5stack_stubs-0.1.1.tar.gz 5.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for m5stack-stubs 0.1.1
File Interpreter ABI Platform
m5stack_stubs-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / m5stack_stubs-0.1.1.tar.gz

Download URL m5stack_stubs-0.1.1.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b6d3cfad65a9301f35df5714e4bc683fadea56cfe8868890f703fd28b6c6bbec
BLAKE2b-256 checksum
How to use checksums
be82cd900c709f7f1a83c34e7995dda72b2e57cb503269bf1661acd4f8e32150
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / m5stack_stubs-0.1.1-py3-none-any.whl

Download URL m5stack_stubs-0.1.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83f2d14402211b5e9925b1e381dae04ceaad6697b5c612f4e34df73179c892b8
BLAKE2b-256 checksum
How to use checksums
991a0fa3628947486ec3138e40fe76305ab13d9fd4a863c9719472de89e6e32b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Security for m5stack-stubs 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for m5stack_stubs-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page