Simple Management Protocol (SMP)
smp implements serialization and deserialization of the Simple Management Protocol.
The SMP specification can be found here.
If you'd like a library that implements the serial (UART or USB), Bluetooth (BLE), and UDP transport layers for SMP, take a look at smpclient.
If you need an SMP CLI application to interact with device firmware, then try smpmgr.
Install
smp is distributed by PyPI and can be installed with uv, pip, and other dependency managers.
User Documentation
Documentation is in the source code so that it is available to your editor. An online version is generated and available here.
Development Quickstart
Assumes that you've already setup your development environment.
Tasks are defined in tasks.py and run with camas.
- run
uv syncwhen pulling in new changes - run
uv run camas fixto auto-format and apply lint fixes - run
uv run camasto run the default checks - run
uv run camas matrixto check against all supported Python versions - add library dependencies with
uv:uv add <my_new_dependency> - add development dependencies:
uv add --group dev <my_dev_dependency>
Development Environment Setup
Install Dependencies
Create the venv
uv sync
Verify Your Setup
uv run camas
Enable the githooks
git config core.hooksPath .githooks
Metadata
Release files for smp 4.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smp-4.2.0.tar.gz | 425.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smp-4.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 461.7 kB
Release files / smp-4.2.0.tar.gz
| Download URL | smp-4.2.0.tar.gz |
|---|---|
| Size | 425.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9888e3becbfaf2473b76051cf255cb364d5dcfb5fb1712df00d0db2b99bc1f5b
|
|
BLAKE2b-256 checksum How to use checksums |
eda092c0aecdca3d908e8d816230d96c6261689ef530a9907138463695992408
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.
Transparency logRelease files / smp-4.2.0-py3-none-any.whl
| Download URL | smp-4.2.0-py3-none-any.whl |
|---|---|
| Size | 35.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f76fb20234075c884bd0481188bba27a458890c513a31d14b9b0d513c334fda
|
|
BLAKE2b-256 checksum How to use checksums |
9fe8207d3501be12e5d39338d45bac022a67841e037537d0d5d9e80783eb77ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.
Transparency log