Skip to main content

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.

  1. run uv sync when pulling in new changes
  2. run uv run camas fix to auto-format and apply lint fixes
  3. run uv run camas to run the default checks
  4. run uv run camas matrix to check against all supported Python versions
  5. add library dependencies with uv:
    uv add <my_new_dependency>
    
  6. 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)

Source distribution for smp 4.2.0
File Size Uploaded
smp-4.2.0.tar.gz 425.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smp 4.2.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

4.2.0 This release

2 release files

4.1.0

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.3.2

2 release files

3.3.1

2 release files

3.3.0

2 release files

3.2.0

2 release files

3.1.3

2 release files

3.1.2

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.0.1

1 release file

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