$npx skillfedfor your agent

smp

Simple Management Protocol (SMP) for remotely managing MCU firmware

With conditionsPyPI NetworkingReleased Jun 2026304.3K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — smp-4.1.0-py3-none-any.whl
v4.1.0 · released 2026-06-03 · Python >=3.9 · 4 runtime deps: cbor2, crcmod, eval-type-backport, pydantic

Yes, if you need to work with SMP protocol messages in Python. The library is actively maintained, has no known vulnerabilities, supports modern Python versions, and carries a permissive license. Install friction is low. The narrow scope (codec only, no transport) is intentional and appropriate—pair it with smpclient if you need full device communication.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; SMP itself handles only protocol serialization—transport (serial, BLE, UDP) requires smpclient library.
  • Low install friction with a pure-Python wheel and four runtime dependencies.
  • Active maintenance with a release 72 days ago and recent commits; supports Python 3.9 through 3.13.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects, including proprietary software, with minimal restrictions.

last release 2026-06-03 (72 days) · last repo commit 2026-07-20 · 22 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 304,287 downloads/mo, #7,806 on PyPI

Verify before relying

pip install smp

import smp

# Serialize/deserialize SMP messages using the library's codec functions
message = smp.encode(...)  # encode SMP message
decoded = smp.decode(...)  # decode SMP message
  • What specific SMP protocol version(s) this implementation targets or supports.
  • Whether the library provides high-level message builders or only low-level codec functions.
  • Performance characteristics or throughput limits for typical message sizes.
Same gist for agents: .md · .json

What it is and what it does

SMP is a Python implementation of the Simple Management Protocol, a specification for remotely managing MCU firmware. It handles the core serialization and deserialization logic needed to encode and decode SMP messages according to the protocol specification. The library depends on cbor2 for CBOR encoding, crcmod for checksum calculation, pydantic for data validation, and eval-type-backport for type support across Python versions.

The package is narrowly scoped to protocol codec functionality—it does not provide transport mechanisms (serial, Bluetooth, UDP). For end-to-end device communication, users typically pair it with smpclient (which adds transport layers) or smpmgr (a CLI tool). This separation of concerns makes smp lightweight and reusable in custom management applications.

Use it for

  • Build custom firmware management tools that need to encode/decode SMP protocol messages for MCU communication.
  • Integrate SMP protocol support into embedded device testing frameworks or CI/CD pipelines.
  • Develop firmware update or diagnostic utilities that communicate with Zephyr-based or SMP-compatible embedded systems.
  • Create protocol analyzers or packet inspectors for debugging SMP-based device management traffic.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to work with SMP protocol messages in Python.

The library is actively maintained, has no known vulnerabilities, supports modern Python versions, and carries a permissive license. Install friction is low. The narrow scope (codec only, no transport) is intentional and appropriate—pair it with smpclient if you need full device communication.

Install

smp on PyPI

Before you install

Low install friction with a pure-Python wheel and four runtime dependencies. Active maintenance with a release 72 days ago and recent commits; supports Python 3.9 through 3.13.

Requires Python 3.9 or later; SMP itself handles only protocol serialization—transport (serial, BLE, UDP) requires smpclient library.

License in practice

Apache-2.0 permissive license allows use in most projects, including proprietary software, with minimal restrictions.

Quickstart

pip install smp

import smp

# Serialize/deserialize SMP messages using the library's codec functions
message = smp.encode(...)  # encode SMP message
decoded = smp.decode(...)  # decode SMP message

Verify before relying

  • What specific SMP protocol version(s) this implementation targets or supports.
  • Whether the library provides high-level message builders or only low-level codec functions.
  • Performance characteristics or throughput limits for typical message sizes.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
cbor2crcmodeval-type-backportpydantic
MaintenanceActively maintained 72 days since the last release
Last repo commit
First released
Downloads304,287 / month, #7,806 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: smp-4.1.0-py3-none-any.whl

Tags

Capabilities
SMP serialization deserializationsimple management protocolMCU firmware remote managementdevice management protocolembedded device communicationfirmware management protocolSMP protocol implementation
Topics
embedded-systemsprotocol-codecdevice-management

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “SMP serialization deserialization”

  • smpSerializes and deserializes the Simple Management Protocol (SMP),…
  • smpmgrCLI tool for managing microcontroller firmware over serial,…
  • ppftppft executes Python functions in parallel across multiple processors…

Give your agent the search over MCP, or paste the wish link into any chat.

More Networking packages

h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
psutil Worth it
PyPI · Libraries · released Jan 2026

psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.

permissive licensecompiled wheel · 3.6+
387.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
uvloop With conditions
PyPI · Networking · released Oct 2025

uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.

Apache-2.0compiled wheel · 3.8.1+
257.9Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
pyzmq Worth it
PyPI · Networking · released Sep 2025

PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.

BSD-3-Clausecompiled wheel · 3.8+
109.5Mdownloads / mo

See also smpclient · smpmgr · u-msgpack-python · esphome · spsdk · avro-python3 · cbor · spsdk-mcu-link · lcm · foxglove-schemas-protobuf