Skip to main content

A micropython device manager.

Project description

FalcoMP

FalcoMP is a terminal-based device manager for MicroPython boards built around mpremote.
It provides a structured interface for interacting with devices over serial, managing files, and streamlining development workflows.


Gratuity is not necessary but may be directed to Buy Me a Coffee


Features

  • Device Discovery

    • Automatically detects devices connected via serial on startup
  • Terminal UI (TUI)

    • Keyboard-driven interface
  • File Explorer

    • Browse device filesystem
    • Create and delete files/directories
    • Run micropython files directly on the device remotely.
  • Command Abstraction

    • Wraps common mpremote operations:
      • Run scripts
      • Open REPL
      • File transfer
      • Directory management
  • Smart Sync

    • Diff-based synchronization between local working directory and device
    • Only modified files are written
    • Reduces unnecessary writes
  • Stub Generator

    • Generates local type stubs from device modules
    • Improves editor support with a custom typing file catered to your specific port
  • Configuration Injection

    • Automatically deploys a lightweight JSON config to each device
    • Enables:
      • Device naming
      • Ignore rules
      • Sync behavior control

Installation

python -m venv env
env/Scripts/activate
pip install falco-mp

Usage

Start the interface:

env/Scripts/activate
falco-mp

Basic Workflow

  1. Connect your MicroPython device via USB
  2. Launch FalcoMP
  3. Select your device from the menu
  4. Use available actions:
    • Run scripts
    • Open REPL
    • Sync files
    • Manage filesystem
    • Generate Typings/Stubs

Configuration

Each device receives a small JSON configuration file on first connection.

Example structure:

{
  "name": "MyDevice",
  "serial": "<device serial if applicable>",
  "verify-on-sync": true,
  "preserve-device-files": false,
  "print_sync_report": true,
  "ignore": ["typings", "__pycache__"],
  "notes": []
}
  • Stored directly on the device
  • Used to control sync behavior and UI display

Design Philosophy

  • Pure Python implementation
  • Minimal overhead on device
  • Deterministic file operations
  • Optimized for MicroPython constraints

Requirements

  • Python 3.10+
  • MicroPython 1.16+

Notes

  • FalcoMP does not replace mpremote — it builds on top of it
  • Designed for local, direct USB workflows (not network-first)

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

falco_mp-0.1.2.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

falco_mp-0.1.2-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file falco_mp-0.1.2.tar.gz.

File metadata

  • Download URL: falco_mp-0.1.2.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.2 Windows/11

File hashes

Hashes for falco_mp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 294189c7ec9fefdbce67fcf3ee0d2eee00a6ff814164fbf770eb21d9f0048281
MD5 159a19ee946425f83e17ac2176c8abb2
BLAKE2b-256 88ade453a06e2eccca1ab861795046a51ec14fdc1e7dfc92c7947747f14b5857

See more details on using hashes here.

File details

Details for the file falco_mp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: falco_mp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.2 Windows/11

File hashes

Hashes for falco_mp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f8519e32af035f016ff3010f084fd78bfeb894f80fc49c6093e8275cdc5ebb4
MD5 9eba18e20c005cae8e4b5ed63570639e
BLAKE2b-256 1708eb6ffefa46d148e510d27202cb18ec0990185a7838fdfc22f3c1b92ffd98

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page