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-74.20250925.post1.tar.gz (135.1 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-74.20250925.post1-py3-none-win_amd64.whl (391.5 kB view details)

Uploaded Python 3Windows x86-64

mm_test_adapters-74.20250925.post1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.0 MB view details)

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

mm_test_adapters-74.20250925.post1-py3-none-macosx_11_0_arm64.whl (549.1 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-74.20250925.post1-py3-none-macosx_10_9_x86_64.whl (569.0 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250925.post1.tar.gz
Algorithm Hash digest
SHA256 046f7df7e4e0973694d6764f722401f4cd3f8278eb89bd4229d27816855a9c1c
MD5 d5c824ccbdba7e964087ce25d16b0b81
BLAKE2b-256 ab722636b1a3917eea378341ca1af7cca86719ceb5da1fb3d21af6cc7f4dbc7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-74.20250925.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-74.20250925.post1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-74.20250925.post1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a466a573e7af0ee5f141f5b8e7571ec2438dfda21963cf5582268cd6c71a2815
MD5 3fcbf0ce813625231b8cbfc8267a2d9a
BLAKE2b-256 cdac4a6a14305bd595cfe1280df678cad78390436a469a540735305a35e2b480

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-74.20250925.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-74.20250925.post1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-74.20250925.post1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b2822900266eefb49c065b92d7c976dfcb0340ad7b26398a3512809b04d38908
MD5 7b0fa885e78b5a094d2a814c45cb9288
BLAKE2b-256 d777dc7301e6810ad8ae98513ae19340bc442aad22f1bbd6cec1481c71025a8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-74.20250925.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-74.20250925.post1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-74.20250925.post1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 05a25e4018df62796108323beb709b5734753f470e48b168cd50198595570128
MD5 11cc919c15cbbba05a7f8da6efb58ee1
BLAKE2b-256 1636bf32cb714ec9dfdbc15b76e1f6e0aef51f63a07d9abddcc1119da348328d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-74.20250925.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-74.20250925.post1-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-74.20250925.post1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 832d6edc6bdae679c74027b1124429765b406bcd5c367542a45ece2ce88b154b
MD5 feba2c7614937a98d34265fc4eb31e75
BLAKE2b-256 72a51438cbd0c5c7b672255a5082de0cc2ffb98f4f989b3ec19a3c3fc5faa18a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-74.20250925.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