SerialFileCopy
A command-line utility for transferring files over a serial port to embedded Linux devices using printf commands.
Installation
pip install serialfilecopy
Usage
serialfilecopy <device> <baudrate> <username> <password> <source_file>
Example:
serialfilecopy /dev/ttyUSB0 115200 root mypassword /path/to/firmware.bin
The tool will:
- Open the serial port
- Log in to the device (or detect an existing session)
- Transfer the file in 256-byte chunks using
printfcommands into/mnt/<filename> - Report progress as a percentage
Requirements
- Python 3.8+
- A serial-connected embedded Linux device
- The device must be reachable via username/password login over the serial console
License
See LICENSE.
Metadata
Release files for serialfilecopy 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| serialfilecopy-1.2.1.tar.gz | 36.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| serialfilecopy-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.7 kB
Release files / serialfilecopy-1.2.1.tar.gz
| Download URL | serialfilecopy-1.2.1.tar.gz |
|---|---|
| Size | 36.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33a080b23a358d6d4a6d9b3da993a95266b50691488b446b7120276f38e53d85
|
|
BLAKE2b-256 checksum How to use checksums |
70ae3a81eb8e819baa864a370c337cc98c8fde4c7aed2f2b4447e257d548e31c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / serialfilecopy-1.2.1-py3-none-any.whl
| Download URL | serialfilecopy-1.2.1-py3-none-any.whl |
|---|---|
| Size | 28.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d752e5d44913bd54ef504a48627c4c67c8dccf291dde63f49c2f0358b6a6d6d8
|
|
BLAKE2b-256 checksum How to use checksums |
0987b7373b9503ec8dbd51fada8dcadfcc72dbc32f043e3c4b6c86f84ca1531a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|