Python SSCMA-Micro
Description
This is a client for the sscma_micro, which is a microcontroller at server for the SSCMA models.
More information about the sscma_micro can be found at here
Usage
Install Development version
git clone https://github.com/Seeed-Studio/python-sscma
cd python-sscma
sudo pip install -U -e .
Install Stable version
sudo pip install python-sscma
sscma.cli --help
Usage: sscma.cli [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
client
flasher
server
Client
sscma.cli client --help
Usage: sscma.cli client [OPTIONS]
Options:
-B, --broker TEXT Specify the MQTT broker address
-U, --username TEXT Specify the MQTT username
-P, --password TEXT Specify the MQTT password
-D, --device TEXT Specify the Device ID
-p, --port TEXT Specify the Port to connect to
-b, --baudrate INTEGER Specify the Baudrate for the serial connection
--sample Enable the Sample mode, default is Invoke mode
-s, --save Enable the save mode
-o, --save_dir TEXT Specify the Directory for saveing images
-h, --headless Run the program without displaying the images
-v, --verbose Show detailed information during processin
--help Show this message and exit.
Client with Serial
sscma.cli client --port /dev/ttyUSB0
Client with MQTT
sscma.cli client --broker mqtt.broker.com --username username --password password --device device_id
Sample
sscmai client --port /dev/ttyUSB0 --save
Flasher
sscma.cli flasher --help
Usage: sscma.cli flasher [OPTIONS]
Options:
-p, --port TEXT Port to connect to
-f, --file TEXT File to write to the device
-b, --baudrate INTEGER Baud rate for the serial connection
-o, --offset TEXT Offset to write the file to
-s, --sn Write serial number
--help Show this message and exit.
sscma.cli flasher -p /dev/ttyUSB0 -f firmware.bin
sscma.cli flasher -p /dev/ttyUSB0 -s
Contributing
If you have any idea or suggestion, please open an issue first.
If you want to contribute code, please fork this repository and submit a pull request.
License
MIT License
Metadata
Release files for python-sscma 0.5.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-sscma-0.5.7.tar.gz | 1.0 MB | Without provenance | Details for python-sscma-0.5.7.tar.gz |
Release files / python-sscma-0.5.7.tar.gz
| Download URL | python-sscma-0.5.7.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2f112070a8aaab80293678b9f937ef352eca1a31061606704b917af4fd51900
|
|
BLAKE2b-256 checksum How to use checksums |
446e7a33233850020839c45f8edb2eae8dace2da63d539d2eeaac269a8c5800e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Security for python-sscma 0.5.7
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.