File System Bridge to facilitate working with files on Micropython devices
Project description
📂 MPBridge
![PyPI - Downloads](https://pypi-camo.freetls.fastly.net/5266680cf0889bfb5ce82305fb54948556c590df/68747470733a2f2f696d672e736869656c64732e696f2f707970692f646d2f4d506272696467653f6c6162656c3d446f776e6c6f616473267374796c653d666c61742d737175617265)
A file system bridge to synchronise and manage files on a MicroPython running device
Supported platforms
- Windows
- MacOS
- Linux
- FreeBSD/BSD
Dependencies
Installation
mpbridge
must be installed with sudo
or administrator
level of permission in order to be accessible in terminal:
Windows
- Open
cmd.exe
as administrator and runpip install -U mpbridge
Linux / MacOS
- Run
sudo pip install -U mpbridge
How to use
You can use mpbridge
shell utility in several ways based on your needs:
Bridge Mode
- This mode copies all files and folders from your
MicroPython
board into a temporary directory on your local device and listens for any filesystem events on local directory to apply them on your board.
- Connect your
MicroPython
device - Run
mpbridge bridge <PORT>
Sync Directory
- This command syncs a specified local directory with a
MicroPython
board. The sync process will push all modified files and folders into board and also pull changes from board and exits. - If a conflict occurs,
mpbridge
will choose the local version of file automatically and overwrites it on connected board.
- Connect your
MicroPython
device - Run
mpbridge sync <PORT> <DIR_PATH>
Note : <PORT>
can be the full port path or one of the short forms below :
c[n]
forCOM[n]
(c3
is equal toCOM3
)u[n]
for/dev/ttyUSB[n]
(u3
is equal to/dev/ttyUSB3
)a[n]
for/dev/ttyACM[n]
(a3
is equal to/dev/ttyACM3
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mpbridge-0.2.0.tar.gz
(7.5 kB
view hashes)