$npx skillfedfor your agent

smpclient

Simple Management Protocol (SMP) Client for remotely managing MCU firmware

Worth itPyPI LibrariesReleased Jul 2026319.4K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — smpclient-7.3.0-py3-none-any.whl
v7.3.0 · released 2026-07-06 · Python <4,>=3.10 · 3 runtime deps: async-timeout, intelhex, smp

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and fills a clear niche for Python developers needing to manage MCU devices via SMP. The permissive Apache-2.0 license poses no restrictions. Install with smpclient[all] if you need all transports, or smpclient[serial] / smpclient[ble] for specific connection types.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Optional transports (serial, BLE) require additional system dependencies; install with smpclient[serial] or smpclient[ble] to include them.
  • Low install friction with a pure-wheel distribution.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and liability disclaimers.

last release 2026-07-06 (39 days) · last repo commit 2026-07-06 · 33 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 319,404 downloads/mo, #7,644 on PyPI

Verify before relying

pip install smpclient

from smpclient.transport.serial import SMPSerialTransport
import asyncio

async def upgrade_firmware(port, image_path):
    transport = SMPSerialTransport(port)
    await transport.open()
    # Use transport to send SMP commands
    await transport.close()
  • Whether the library's async-timeout dependency version constraints are compatible with current asyncio best practices
  • Real-world performance characteristics when handling large firmware images across different transport types
Same gist for agents: .md · .json

What it is and what it does

smpclient is a Python library that implements the transport layer for the Simple Management Protocol, a specification for remotely managing embedded devices. It handles the low-level communication details needed to send SMP commands and receive responses over multiple connection types: serial ports (UART, USB, CAN), Bluetooth Low Energy, and UDP. The library abstracts away protocol-specific framing, encoding, and fragmentation so that applications can focus on higher-level device management tasks.

The library is built on async/await patterns and provides transport classes for each connection type, along with helper abstractions for common operations like firmware upgrades. It manages the complexity of serial fragmentation (base64 encoding, line splitting, reassembly buffer sizing) and negotiates MTU parameters for BLE and UDP. If you need just the SMP message protocol without transport implementation, the underlying smp dependency is available separately; if you prefer a command-line tool instead of a library, smpmgr is the alternative.

Use it for

  • Automate firmware updates on embedded devices connected via serial port or USB during manufacturing or field deployment
  • Build a device management dashboard that communicates with multiple MCUs over BLE from a central Python service
  • Implement remote diagnostics and configuration changes on deployed IoT devices via UDP or serial
  • Integrate SMP protocol support into a Python-based embedded systems test harness or CI/CD pipeline
  • Develop a cross-platform tool to query device parameters and logs from MCUs running Zephyr or mcuboot

Worth the install?

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

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and fills a clear niche for Python developers needing to manage MCU devices via SMP. The permissive Apache-2.0 license poses no restrictions. Install with smpclient[all] if you need all transports, or smpclient[serial] / smpclient[ble] for specific connection types.

Install

smpclient on PyPI

Before you install

Low install friction with a pure-wheel distribution. Actively maintained with a recent release; no known vulnerabilities. Runtime dependencies are minimal and well-established (async-timeout, intelhex, smp).

Requires Python 3.10 or later. Optional transports (serial, BLE) require additional system dependencies; install with smpclient[serial] or smpclient[ble] to include them.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

pip install smpclient

from smpclient.transport.serial import SMPSerialTransport
import asyncio

async def upgrade_firmware(port, image_path):
    transport = SMPSerialTransport(port)
    await transport.open()
    # Use transport to send SMP commands
    await transport.close()

Verify before relying

  • Whether the library's async-timeout dependency version constraints are compatible with current asyncio best practices
  • Real-world performance characteristics when handling large firmware images across different transport types

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
async-timeoutintelhexsmp
MaintenanceActively maintained 39 days since the last release
Last repo commit
First released
Downloads319,404 / month, #7,644 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonTopic :: Software Development :: Libraries

Evidence: smpclient-7.3.0-py3-none-any.whl

Tags

Capabilities
MCU firmware management protocolSMP transport layer clientdevice firmware upgrade over serialBLE device managementembedded device remote managementUART firmware updatesimple management protocol library
Topics
embedded-systemsfirmware-managementasync-io

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 transport layer client”

  • smpclientImplements the transport layer for the Simple Management Protocol…
  • smpSerializes and deserializes the Simple Management Protocol (SMP),…
  • smpmgrCLI tool for managing microcontroller firmware over serial,…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also smp · smpmgr · uart-devices · xiaomi-ble · imgtool · matter-ble-proxy · crownstone-uart · PyLink · binho-host-adapter · ciris-edge