Skip to main content

Python manager for CMSIS-Pack index and cache with fast Rust backend

Project description

cmsis-pack-manager

cmsis-pack-manager is a python module, Rust crate and command line utility for managing current device information that is stored in many CMSIS PACKs. Users of cmsis-pack-manager may query for information such as processor type, flash algorithm and memory layout information in a python program or through the command line utility, pack-manager, provided as part of this module.

CI Status

Windows Build status Mac and Linux Build Status

Wheels

The last step of CI uploads binary wheels to this S3 bucket.

DOCS!

They live here: https://pyocd.github.io/cmsis-pack-manager/

Building

To build cmsis-pack-manager locally, Install a stable rust compiler. See https://rustup.rs/ for details on installing rustup, the rust toolchain updater. Afterwards, run rustup update stable to get the most recent stable rust toolchain and build system.

After installing the rust toolchain and downloading a stable compiler, run python2 setup.py bdist_wheel from the root of this repo to generate a binary wheel (.whl file) in the same way as we release.

For testing purposes, there is a CLI written in Rust within the rust workspace as the package cmsis-cli. For example From the rust directory, cargo run -p cmsis-cli -- update builds this testing CLI and runs the update command, for example.

Download files

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

Source Distribution

cmsis_pack_manager-0.5.3.tar.gz (55.9 kB view hashes)

Uploaded Source

Built Distributions

cmsis_pack_manager-0.5.3-py3-none-win_amd64.whl (2.7 MB view hashes)

Uploaded Python 3 Windows x86-64

cmsis_pack_manager-0.5.3-py3-none-win32.whl (2.5 MB view hashes)

Uploaded Python 3 Windows x86

cmsis_pack_manager-0.5.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

cmsis_pack_manager-0.5.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (4.2 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

cmsis_pack_manager-0.5.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.4 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

cmsis_pack_manager-0.5.3-py3-none-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl (4.7 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.12+ i686 manylinux: glibc 2.17+ i686

cmsis_pack_manager-0.5.3-py3-none-macosx_10_9_x86_64.whl (3.1 MB view hashes)

Uploaded Python 3 macOS 10.9+ x86-64

cmsis_pack_manager-0.5.3-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (6.2 MB view hashes)

Uploaded Python 3 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

Supported by

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