Skip to main content

replx

PyPI version Python 3.10+ License: MIT

A cross-platform command-line toolkit for MicroPython development. replx runs a shared local agent so multiple terminals can work with multiple boards while reusing connections and session state.

Features

  • Works on Windows, Linux, and macOS.
  • Connect to multiple boards from multiple terminals, with per-session foreground and background devices.
  • Discover boards, configure a workspace default, and set up VS Code MicroPython support.
  • Run scripts and snippets, use the interactive REPL, and sync files and directories.
  • Search and install packages with mip or pkg; compile .py files to .mpy.
  • Work with GPIO, PWM, ADC, UART, SPI, I2C, I2S, BLE, and WS2812 devices (availability depends on board and firmware).
  • Use MicroPython raw-paste for code submissions of 4 KiB or larger when supported; batched file uploads keep the standard raw path for throughput.

Install

python -m pip install replx

This installs both replx and the rx command.

Quick start

replx scan
replx COM4 setup
replx status
replx -c "print('Hello from MicroPython')"
replx run main.py
replx repl

Replace COM4 with the board's serial port, such as /dev/ttyUSB0 on Linux or /dev/cu.usbmodem14101 on macOS. After setup, the configured board can usually be targeted without repeating the port; specify a port when working with another board.

Documentation

This PyPI page is a short overview and quick start. See the full command reference and user manual on GitHub for connection/session behavior, commands, options, examples, and troubleshooting.

Metadata

Release files for replx 1.25.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 replx 1.25.0
File Size Uploaded
replx-1.25.0.tar.gz 430.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for replx 1.25.0
File Interpreter ABI Platform
replx-1.25.0-py3-none-any.whl Python 3 none any Details

Total release size: 933.5 kB

Release files / replx-1.25.0.tar.gz

Download URL replx-1.25.0.tar.gz
Size 430.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1f11c6243a4a381a8209c984931cdeaba4017128afe46ed70ed265ecf3b22115
BLAKE2b-256 checksum
How to use checksums
34ef60227f3d93a9baf8fd69d5391c099f083318772d6b8d77927677c5b5fcc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / replx-1.25.0-py3-none-any.whl

Download URL replx-1.25.0-py3-none-any.whl
Size 503.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a764bdfce4484c0e70dbf81657db48149b24f161ac1511093df330977bf9ca2b
BLAKE2b-256 checksum
How to use checksums
d609c4c52056eb19b4df73342f4f2de09ed4dca2fe318f4affceb4d291d5d615
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

1.25.0 This release

2 release files

1.23.0

2 release files

1.20.0

2 release files

1.6.7

2 release files

1.0

2 release files

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