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.0.tar.gz (19.4 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.0-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: falco_mp-0.1.0.tar.gz
  • Upload date:
  • Size: 19.4 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.0.tar.gz
Algorithm Hash digest
SHA256 418a8e253159e2482539bade733c3a293a429c47e80160f9ca62a0bd49ec0980
MD5 87681493b744425905939434e8f39202
BLAKE2b-256 39c9d1aaf8fa9065a1cf78e51e2c0d1d0d39618fe112d24f78a51f6ec4fca428

See more details on using hashes here.

File details

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

File metadata

  • Download URL: falco_mp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee7885f8026e46818491d7fb43881a3614d7881285ad00b41a357cfc7f43b5fd
MD5 3a0853aa829ac927b109bbc38e64962e
BLAKE2b-256 eba4a3a2597c99ea2a38c6d1b816c889ff003ee90fc259cce755ae1bd8fc7103

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