FICHA · AUR

mpy-cross

MicroPython cross compiler compiles .py scripts into .mpy files

  • micropython-compiler
  • CLI
  • Launchable
  • Runs in terminal
official+codex · reviewed · Jun 2, 2026 description in en

Description

Compiles Python scripts into MicroPython .mpy bytecode files for deployment to constrained devices. It is useful for embedded developers who want smaller, precompiled modules for MicroPython boards.

Generated .mpy files depend on MicroPython version and architecture compatibility. Match the target firmware before deploying, or the board may reject or fail to run the module.

How to run

mpy-cross

Commands: mpy-cross

Permissions

Permissions not analysed for this source yet.