Skip to main content

No project description provided

Project description

mm-test-adapters

This builds device adapters commonly used for testing and development of mmCoreAndDevices (micro-manager).

  • DemoCamera
  • Utilities
  • SequenceTester
  • NotificationTester

It makes these builds available in two places:

  1. Via GitHub releases: https://github.com/micro-manager/mm-test-adapters/releases

    These releases include just the shared libraries for these adapters.

  2. Via a PyPI package:

    pip install mm-test-adapters
    

    This package includes the shared libraries, and a single public method, mm_test_adapters.device_adapter_path, which returns a path to the device adapters folder.

Using PyPI Package

import pymmcore  # or pymmcore_plus
from mm_test_adapters import device_adapter_path

core = pymmcore.CMMCore()
core.setDeviceAdapterSearchPaths([device_adapter_path()])

Build Adapters

To build these locally, you should first have system boost installed:

# macos
brew install boost
# ubuntu
sudo apt-get install libboost-all-dev
# windows
choco install boost-msvc-14.2
uv sync --no-editable
# or
uv run fetch.py --build

Build Python Package

To build an sdist and wheel, run:

uv build

You may optionally set the env var MM_SHA to build a specific commit of mmCoreAndDevices.

Cleanup

If you want to remove all external sources and build files:

make clean

note, the makefile also works on Windows if you have git for windows.

Using Releases on CI

To use these on CI see https://github.com/pymmcore-plus/setup-mm-test-adapters

- name: Install MM test adapters
  uses: pymmcore-plus/setup-mm-test-adapters@main
  with:
    # all inputs are optional
    # version should look like:
    #   literal string 'latest'
    #   DIV -> version: 74
    #   DIV.YYYYMMDD -> version: 74.202508
    version: latest
    destination: ./mm-test-adapters

Using Releases Locally

Download the release you would like to use, then place it wherever Micro-Manager is looking for device adapters.

To have them found by pymmcore-plus, place them in the default pymmcore-plus install location, named Micro-Manager-YYYYMMDD

  • Windows: $LOCALAPPDATA/pymmcore-plus/pymmcore-plus/mm/Micro-Manager-YYYYMMDD
  • macOS: $HOME/Library/Application Support/pymmcore-plus/mm/Micro-Manager-YYYYMMDD
  • Linux: $HOME/.local/share/pymmcore-plus/mm/Micro-Manager-YYYYMMDD

[!TIP] On macOS, you will need to give permissions to allow the shared libraries to run:

xattr -r -d com.apple.quarantine ~/Library/Application\ Support/pymmcore-plus/mm/Micro-Manager-*

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

mm_test_adapters-75.20260302.post1.tar.gz (141.6 kB view details)

Uploaded Source

Built Distributions

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

mm_test_adapters-75.20260302.post1-py3-none-win_amd64.whl (390.4 kB view details)

Uploaded Python 3Windows x86-64

mm_test_adapters-75.20260302.post1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

mm_test_adapters-75.20260302.post1-py3-none-macosx_11_0_arm64.whl (533.8 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-75.20260302.post1-py3-none-macosx_10_9_x86_64.whl (561.8 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file mm_test_adapters-75.20260302.post1.tar.gz.

File metadata

File hashes

Hashes for mm_test_adapters-75.20260302.post1.tar.gz
Algorithm Hash digest
SHA256 d5756af14a6e18636f3fdb59f7f71c1b6b3aa6c5806d91cc7414eecf6489ecb2
MD5 499fd5ffa55dc9efa262024c1e367ffe
BLAKE2b-256 454edf5ca905498d560896fd32452936d4529857d8b43d5e72a51139b83cec9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-75.20260302.post1.tar.gz:

Publisher: ci.yml on micro-manager/mm-test-adapters

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

File details

Details for the file mm_test_adapters-75.20260302.post1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-75.20260302.post1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6d0f1518e3b7299614d0c521f2faca47681fd5ab1b4b3875b9821a16eced1247
MD5 cd52975799fe3dfb96c0dbef778b8adc
BLAKE2b-256 0b018689ba0c7952ec088ce230516c239134df692343f71e1f1a42f390e18b7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-75.20260302.post1-py3-none-win_amd64.whl:

Publisher: ci.yml on micro-manager/mm-test-adapters

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

File details

Details for the file mm_test_adapters-75.20260302.post1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-75.20260302.post1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b8d4c12f8fcb9cf4a5481f1685fd27d32ea5e4c2a5507d224b01e71d23e36dc8
MD5 d2e92013969b727f1026b8a03b6b7014
BLAKE2b-256 0ac5e7f12727b607b2355318e2bdca984f49fa90c5407145a4e797daf7f29cc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-75.20260302.post1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: ci.yml on micro-manager/mm-test-adapters

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

File details

Details for the file mm_test_adapters-75.20260302.post1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-75.20260302.post1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 38b23b2cd708f0c311a62f1f7b2ec52036dcf540965d51919030b6488d731e1f
MD5 3ae6ab1c1d575fbbce134a298c5595e4
BLAKE2b-256 108f730bbc2ebb7a2fca5ab49569ac8974dff8a2b31322bacc383e2990db0441

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-75.20260302.post1-py3-none-macosx_11_0_arm64.whl:

Publisher: ci.yml on micro-manager/mm-test-adapters

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

File details

Details for the file mm_test_adapters-75.20260302.post1-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-75.20260302.post1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b6d11c5244538110dade42218ffc46803bee47e8bd844fb941fd37e2fe517e94
MD5 326a92dbfb7d389efdd104cf79a19540
BLAKE2b-256 cf6f12ab843f3c357b0ab674230c125cceb32908ff219ef15e7657159ad5e00c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-75.20260302.post1-py3-none-macosx_10_9_x86_64.whl:

Publisher: ci.yml on micro-manager/mm-test-adapters

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