Skip to main content

OpenMV runtime extension modules for Python

Project description

Prepare Linux

  • Mac OS
brew install orbstack
orb
  • Windows
wsl

Prepare Tool

sudo apt update
sudo apt install -y git ca-certificates curl build-essential cmake python3-dev
curl -LsSf https://astral.sh/uv/install.sh | sh
curl -fsSL https://claude.ai/install.sh | bash

Develop

uv sync -v
uv pip install -e . --no-build-isolation -v

Build wheel

curl -fsSL https://get.docker.com | sh && sudo usermod -aG docker $USER && newgrp docker
docker run --privileged --rm tonistiigi/binfmt --install all

export CIBW_PLATFORM=linux
export CIBW_BUILD="cp312-manylinux_aarch64"
uvx cibuildwheel . --archs aarch64

The combined wheel is published as the openmv-runtime distribution. After pip install openmv-runtime, the runtime modules are still imported as top-level modules. All platforms provide:

import image
import gif
import mjpeg

Linux builds also provide the hardware modules:

import sensor
import imu
import machine

Use OrbStack as the Docker backend for final wheel validation.

Test

uv run pytest

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

openmv_runtime-0.1.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

File details

Details for the file openmv_runtime-0.1.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for openmv_runtime-0.1.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f90ce3d6e801c698182a185cdd1a85b7bf1d11e9472fd741df8beeefaf62b6ff
MD5 928971151481f02a322a9b98d3441b0b
BLAKE2b-256 9db3b492bb648c50ec3a9381075aef794b8b1c7d5276309a1bac7154f91f149f

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmv_runtime-0.1.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build.yml on SingTown/openmv-runtime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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