Skip to main content

Run MCUmgr commands for uploading firmware updates from a PC to an embedded device

Project description

mcumgr-client-wrapper

A python wrapper for the rust program mcumgr-client. This allows sending MCUmgr commands to a device connected to a serial port from Python.

How to use

import mcumgr_client_wrapper

s = mcumgr_client_wrapper.Session(device='/dev/ttyUSB0', baudrate=576000)
# Get a dictionnary of properties 
d = s.list()
print(d)

# Upload image to device
s.upload('/path/to/image/bin')

# Reset the device
s.reset()

see help(mcumgr_client_wrapper) for more

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcumgr_client_wrapper-0.0.1.tar.gz (20.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mcumgr_client_wrapper-0.0.1-py3-none-win_amd64.whl (1.1 MB view details)

Uploaded Python 3Windows x86-64

mcumgr_client_wrapper-0.0.1-py3-none-win32.whl (1.0 MB view details)

Uploaded Python 3Windows x86

mcumgr_client_wrapper-0.0.1-py3-none-musllinux_1_2_x86_64.whl (824.5 kB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

mcumgr_client_wrapper-0.0.1-py3-none-musllinux_1_2_i686.whl (840.6 kB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

mcumgr_client_wrapper-0.0.1-py3-none-musllinux_1_2_armv7l.whl (796.5 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARMv7l

mcumgr_client_wrapper-0.0.1-py3-none-musllinux_1_2_aarch64.whl (811.7 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (762.0 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (840.0 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (817.6 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (818.5 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (754.1 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (758.6 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mcumgr_client_wrapper-0.0.1-py3-none-macosx_11_0_arm64.whl (692.6 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mcumgr_client_wrapper-0.0.1-py3-none-macosx_10_12_x86_64.whl (706.1 kB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file mcumgr_client_wrapper-0.0.1.tar.gz.

File metadata

  • Download URL: mcumgr_client_wrapper-0.0.1.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for mcumgr_client_wrapper-0.0.1.tar.gz
Algorithm Hash digest
SHA256 85d06b8ae7126f5678c78660be66997a0d4dbb18f9598e33c0f36eb120befae3
MD5 d1c7ca773d1e89fc269f924933ae9bf0
BLAKE2b-256 50d5e5f931e45f9a3daea1a772e41cc09d79d5a20c9016747f7669abf0c9cdf3

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a68ab07434a75611ae926daaad4092bf2c512060b8c3bc930f8dba38ed4da03e
MD5 fd138917183855427259e430665a790c
BLAKE2b-256 1dffd8489aa37f6fa26a6010c42ec217397c8f4d3e97bc31655235afcfd231b0

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-win32.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 94a0f7881e6a2b675c7bee44b5200b5953fa502960f5018a8a17553fea39bd9d
MD5 d863be433ef9e0e136bf2863c636de53
BLAKE2b-256 2765b950940dd516f8ada57baf7fa604bb1a192a07d252329440c8e8510d3ca5

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8519b78791f5deaa87f67e6085412422249c95314251e325828da114dad6eb38
MD5 eb48ac31c4d11c153bbdef0943830b9d
BLAKE2b-256 080d55e9f94b8877e55c1d32f2b448d3f1b09f3da3a3467483c39648ff99d1ce

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 4354cb3cc15e73da566275c6f02e490440a490ecf1fab218d42306f6970022b2
MD5 fbf74867f9097bd50aa2ff8856f57c10
BLAKE2b-256 8372859bb36d166a8037f5a6e1e78412fc6f81ad4f21c928b4c7cbab09535e32

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 b7cad74cca256b4fef9b312105922a40702b19b5bc74aa04049211f354221192
MD5 375b7527e1d61544d611eb260511c74c
BLAKE2b-256 810028fef7d9e51022b65772321377ba204c12950f4f415cfa7ccb65d7b0f258

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 880b6aff7594f17c9592c271d4a472d60db31a8718e3ec1fa805867227292679
MD5 7336f62855181db2d407203c000fbe36
BLAKE2b-256 3be56a5ce5b9c74420e5b0202e0c660ba1c6a93bedd1ceee5619e5923af5c7f1

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d80a8005beefdece875ed16586e6dd468116a91bd6b0efc8ad8192772f2985d8
MD5 96f9fec1d9f893df94d810b55405431d
BLAKE2b-256 83b8752f08fd5fd874528afe49ad4eafc6fe32631905333db619217cd90f8cae

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 9f7400020ba1b005611fd3d431a3e686b7f3a1d095f453dd12ab4f4bed3884c4
MD5 3b6181e36e54c78389f268c1fc587c40
BLAKE2b-256 c479836b85c779a1671a4ababd0d144ad741ce1658aad800a2e8ee8e48d81a5b

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 0ed263d81d82848e00ec183f36160f09ecdc6048d6301c6759b4d60337e87ef8
MD5 4924410444272eabcafc6492a4379c70
BLAKE2b-256 98fa58c33bbe474c7ed3c4f9bdaeea502fe844f07e633784c3222f63e8ba8d5a

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2d9db229bddbc591e004300d37d8fc4159ecbba82f4c099ac2abb1cb1bf4c873
MD5 9b10ec9a54267f013f50ace34bd2438b
BLAKE2b-256 f95313449831bd52b1c8c3bbebfe0bab04037247bfca6e854184e2c5b6e2dc1a

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 1d1d9f2bf3de4050c8b1f4568da0a398d0542d6b58113eeb77296c28a612eb1e
MD5 db6638ea093201f895b6b0b360d2d695
BLAKE2b-256 3ef120bca4c53afec373796717d020af056441a34d6dc32c38b4870fece2e579

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fa3ccb56763533303c88287deefa33708feb14885a44655d28882d31da90b42a
MD5 74caf33538d998c9543e66042127f5e9
BLAKE2b-256 03cf286e6d3096828afb191ebfc88ee44cfa23ee49d8418d5d3885ee49b0e607

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f9fc8421cef800c00b20a0a5347c1314d1efaecbdb74eb800089fd1f7d2f8410
MD5 79b24bd2da44585175ee76aaa9d4f27a
BLAKE2b-256 1e39ace1047f740964348549ef2937906f5dd02a2de8564fa1b28b22cd638115

See more details on using hashes here.

File details

Details for the file mcumgr_client_wrapper-0.0.1-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcumgr_client_wrapper-0.0.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d1be238f4f438953fb9d5bbe128f24866ab60f08bfcd551cad120afdcd658538
MD5 174156f5f0ac4c1d4b6be3ee09544872
BLAKE2b-256 8a3ad2d9a1daec257dfa07faa088ef56c1eaec5091aac01a4e935fa7d28bf946

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page