Skip to main content

mpremote-sync

Verify and sync Python files to a MicroPython device via mpremote.

Compare local SHA-256 hashes against files on the device. Auto-upload any that differ.

Install

pip install mpremote-sync

Usage

# Scan a directory and create the deploy list
mpremote-sync -d ./firmware --update

# Check files are in sync
mpremote-sync -d ./firmware

# Check and auto-upload mismatches
mpremote-sync -d ./firmware --fix

Flags

mpremote-sync [-h] [-d DIR] [-l FILE] [-e PATTERN] [--fix] [--update] [--version]

  -d, --directory DIR   Source directory containing .py files (default: current directory)
  -l, --list FILE       Deploy list file path (default: .deploy_files)
  -e, --exclude PATTERN Glob pattern to exclude during --update (repeatable, default: *_template.py)
  --fix                 Auto-upload mismatched or missing files
  --update              Rescan source directory and update the deploy list
  --version             Show version

Workflow

  1. Add new files → mpremote-sync -d ./firmware --update
  2. Deploy → mpremote-sync -d ./firmware --fix
  3. Daily → mpremote-sync -d ./firmware --fix

Requirements

  • Python 3.9+
  • mpremote installed and in PATH

Metadata

Release files for mpremote-sync 0.1.0

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

Source distribution (sdist)

Source distribution for mpremote-sync 0.1.0
File Size Uploaded Provenance Actions
mpremote_sync-0.1.0.tar.gz 5.2 kB Without provenance Details for mpremote_sync-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mpremote-sync 0.1.0
File Interpreter ABI Platform Actions
mpremote_sync-0.1.0-py3-none-any.whl Python 3 none any Details for mpremote_sync-0.1.0-py3-none-any.whl

Total release size: 12.4 kB

Release files / mpremote_sync-0.1.0.tar.gz

Download URL mpremote_sync-0.1.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
988f37ec4581cae7f43bf8806d06b235909f5603a255072611d210d93bc48e4d
BLAKE2b-256 checksum
How to use checksums
b435b7c55e334906c078a6b7adc149e52a2c79fe63909bb9000769eeba0b2af4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.2

Release files / mpremote_sync-0.1.0-py3-none-any.whl

Download URL mpremote_sync-0.1.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e1cc76d689a54e06d52026863cd7a0e6443b8d4bd9cacc21c18668abf9a1b3d
BLAKE2b-256 checksum
How to use checksums
0597ed4966027ab742ed9b7556b3cfe1758010b8c9774cc0207072c20538f1d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.2

Security for mpremote-sync 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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